diff --git a/.github/workflows/github_action_build_docs.yml b/.github/workflows/github_action_build_docs.yml index f7759bf550..11b4217e53 100644 --- a/.github/workflows/github_action_build_docs.yml +++ b/.github/workflows/github_action_build_docs.yml @@ -19,7 +19,6 @@ jobs: strategy: matrix: python-version: [3.7] - TESTING_DB: ['sqlite3'] steps: - uses: actions/checkout@v2 @@ -29,19 +28,31 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Install package dependencies + - name: Install doc-building dependencies run: | python -m pip install --upgrade pip cd docs/ make install + # fail early here - name: Quick-test docs (no autodocs) + continue-on-error: true run: | cd docs/ make quick + # full game dir needed for mv-local + - name: Set up evennia game dir + run: | + pip install -e . + cd .. + evennia --init gamedir + cd gamedir + evennia migrate + - name: Deploy docs (only from master/develop branch) if: ${{ github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master'}} run: | - cd docs/ + cd docs + make mv-local echo "Would deploy here!" diff --git a/docs/Makefile b/docs/Makefile index 1433a6a6ec..448f5a7a20 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -107,7 +107,6 @@ pdf: @echo "To see result, open evennia/docs/build/latex/evennia.pdf in a PDF reader." quick: - make _check-env make _quick-html-build $(FILES) @echo "" @echo "Documentation built (single version, no autodocs)." diff --git a/docs/source/index.md b/docs/source/index.md index 69d53b54b2..263e241e76 100644 --- a/docs/source/index.md +++ b/docs/source/index.md @@ -1,4 +1,3 @@ - # VERSION WARNING > This is the experimental static v0.9 documentation of Evennia, _automatically_ generated from the