Skip to content

Commit 6cb816b

Browse files
author
Erik Bernhardsson
committed
build doc without dependencies
1 parent 139be8c commit 6cb816b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ services:
1111
before_install:
1212
- docker build -t jsonschema2db .
1313
# Make sure Sphinx works
14-
- pip install . sphinx
14+
- pip install sphinx
1515
- sphinx-build -M html docs/ docs/_build/ -W
1616

1717
script:

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@
118118
]
119119
}
120120

121+
# Make it possible to build doc without dependencies
122+
autodoc_mock_imports = ['change_case', 'iso8601', 'psycopg2']
121123

122124
# -- Extension configuration -------------------------------------------------
123125

0 commit comments

Comments
 (0)