Skip to content

Commit

Permalink
[GEOT-7154] Sphinx build failure with extlinks (new warnings in Sphin…
Browse files Browse the repository at this point in the history
…x build) (#3910)

* [GEOT-7154] Sphinx build failure with extlinks (new warnings in Sphinx build)

* Align python setup with GeoServer workflows

* Trying to peg Sphinx to 4.5
  • Loading branch information
aaime committed May 31, 2022
1 parent e5715c7 commit b2bb9e8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/linux_jdk11.yml
Expand Up @@ -22,11 +22,13 @@ jobs:
key: gt-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
gt-maven-
- uses: actions/setup-python@v1
- uses: actions/setup-python@v2
with:
python-version: '3.x'
- uses: BSFishy/pip-action@v1
with:
packages: |
sphinx
sphinx==4.5.0
requests
- name: Disable checksum offloading
# See: https://github.com/actions/virtual-environments/issues/1187#issuecomment-686735760
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/linux_jdk8.yml
Expand Up @@ -22,11 +22,13 @@ jobs:
key: gt-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
gt-maven-
- uses: actions/setup-python@v1
- uses: actions/setup-python@v2
with:
python-version: '3.x'
- uses: BSFishy/pip-action@v1
with:
packages: |
sphinx
sphinx==4.5.0
requests
- name: Disable checksum offloading
# See: https://github.com/actions/virtual-environments/issues/1187#issuecomment-686735760
Expand Down
14 changes: 7 additions & 7 deletions docs/common.py
Expand Up @@ -27,13 +27,13 @@
extensions = ['sphinx.ext.todo','sphinx.ext.extlinks']

extlinks = {
'wiki': ('https://github.com/geotools/geotools/wiki/%s',''),
'website': ('https://geotools.org/%s',''),
'geoserver': ('https://docs.geoserver.org/latest/en/user/%s',''),
'developer': ('https://docs.geotools.org/latest/developer/%s',''),
'user': ('https://docs.geotools.org/maintenance/userguide/%s',''),
'api': ('https://docs.geotools.org/maintenance/javadocs',''),
'geot': ('https://osgeo-org.atlassian.net/browse/GEOT-%s','GEOT-')
'wiki': ('https://github.com/geotools/geotools/wiki/%s', None),
'website': ('https://geotools.org/%s', None),
'geoserver': ('https://docs.geoserver.org/latest/en/user/%s', None),
'developer': ('https://docs.geotools.org/latest/developer/%s', None),
'user': ('https://docs.geotools.org/latest/userguide/%s', None),
'api': ('https://docs.geotools.org/latest/javadocs/%s', None),
'geot': ('https://osgeo-org.atlassian.net/browse/GEOT-%s','GEOT-%s')
}

# Add any paths that contain templates here, relative to this directory.
Expand Down

0 comments on commit b2bb9e8

Please sign in to comment.