mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Further tweak for quick build
This commit is contained in:
parent
6d8b882e0c
commit
d40fe5f2c9
2 changed files with 6 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue