Skip to content

Commit

Permalink
Merge pull request #30 from better/docs-no-deps
Browse files Browse the repository at this point in the history
build doc without dependencies
  • Loading branch information
Erik Bernhardsson authored Aug 2, 2019
2 parents ae9dee4 + cb35067 commit 12edb3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
before_install:
- docker build -t jsonschema2db .
# Make sure Sphinx works
- pip install . sphinx
- pip install sphinx
- sphinx-build -M html docs/ docs/_build/ -W

script:
Expand Down
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import os
import sys
sys.path.insert(0, os.path.abspath(os.path.pardir))
import jsonschema2db # NOQA: make sure it works


# -- Project information -----------------------------------------------------
Expand Down Expand Up @@ -118,6 +117,8 @@
]
}

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

# -- Extension configuration -------------------------------------------------

Expand Down

0 comments on commit 12edb3b

Please sign in to comment.