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

View file

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