Set up install for doc-build

This commit is contained in:
Griatch 2020-09-19 17:04:35 +02:00
parent 97b6be7bce
commit d4e1e537cd
3 changed files with 14 additions and 5 deletions

View file

@ -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!"

View file

@ -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)."

View file

@ -1,4 +1,3 @@
# VERSION WARNING
> This is the experimental static v0.9 documentation of Evennia, _automatically_ generated from the