Further tweak for quick build

This commit is contained in:
Griatch 2020-09-19 18:19:36 +02:00
parent 6d8b882e0c
commit d40fe5f2c9
2 changed files with 6 additions and 7 deletions

View file

@ -12,7 +12,7 @@ on:
paths: paths:
- 'docs/**' - 'docs/**'
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -21,13 +21,13 @@ jobs:
python-version: [3.7] python-version: [3.7]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install doc-building dependencies - name: Install doc-building dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
@ -36,10 +36,9 @@ jobs:
# fail early here # fail early here
- name: Quick-test docs (no autodocs) - name: Quick-test docs (no autodocs)
continue-on-error: true
run: | run: |
cd docs/ cd docs/
make quick make quick
# full game dir needed for mv-local # full game dir needed for mv-local
- name: Set up evennia game dir - name: Set up evennia game dir

View file

@ -315,8 +315,8 @@ def setup(app):
app.add_transform(AutoStructify) app.add_transform(AutoStructify)
# build toctree file # build toctree file
sys.path.insert(1, os.path.dirname(os.path.dirname(__file__))) sys.path.insert(1, os.path.join(
print("sys.path:", sys.path) os.path.dirname(os.path.dirname(os.path.dirname(__file__))), "docs"))
from docs.pylib import auto_link_remapper from docs.pylib import auto_link_remapper
auto_link_remapper.auto_link_remapper() auto_link_remapper.auto_link_remapper()