Skip to content

Commit 2cde97a

Browse files
author
pindec
authored
Merge pull request #3 from OpenDataServices/mw/travisconfig
Mw/travisconfig
2 parents 4951713 + 5666395 commit 2cde97a

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
language: python
2+
3+
python: 3.6
4+
5+
install:
6+
- "pip install -r requirements.txt"
7+
8+
script:
9+
- "cd ./docs/"
10+
- "make dirhtml"
11+
- "make linkcheck"

docs/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,11 @@
357357
gettext_compact = False # optional.
358358

359359

360+
# Link check: Ignore anchors as this requires page rendering of the link
361+
# e.g. github links with anchors will fail due to being implemented in js
362+
# see https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-linkcheck_anchors
363+
linkcheck_anchors = False
364+
360365

361366
def setup(app):
362367
app.add_config_value('recommonmark_config', {

0 commit comments

Comments
 (0)