diff options
author | Aric Gardner <agardner@linuxfoundation.org> | 2018-11-06 15:09:20 -0500 |
---|---|---|
committer | Aric Gardner <agardner@linuxfoundation.org> | 2018-11-06 15:09:20 -0500 |
commit | 002926186c3ad673770ca0686b2dcf043ad21c0f (patch) | |
tree | f23e6e21ea18857b69f44cd8f15046f47f0c5176 | |
parent | 98f1be932fc320b71d0366f384b5ed9e573512a8 (diff) |
Fix local documentation builds
Change-Id: Icba4f70704e7d51dd26b778350be2f3bf5adcaba
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | docs/conf.py | 1 | ||||
-rw-r--r-- | docs/conf.yaml | 4 | ||||
-rw-r--r-- | docs/requirements.txt | 2 | ||||
-rw-r--r-- | tox.ini | 6 |
5 files changed, 12 insertions, 3 deletions
@@ -6,3 +6,5 @@ mongo*.conf mongo_access.log .DS_Store +.tox +docs/_build/* diff --git a/docs/conf.py b/docs/conf.py new file mode 100644 index 0000000..86ab8c5 --- /dev/null +++ b/docs/conf.py @@ -0,0 +1 @@ +from docs_conf.conf import * # flake8: noqa diff --git a/docs/conf.yaml b/docs/conf.yaml new file mode 100644 index 0000000..39fb414 --- /dev/null +++ b/docs/conf.yaml @@ -0,0 +1,4 @@ +--- +project_cfg: opnfv +project: calipso + diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000..9fde2df --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,2 @@ +lfdocs-conf +sphinx_opnfv_theme @@ -4,12 +4,12 @@ envlist = docs,docs-linkcheck skipsdist = true [testenv:docs] -deps = -r{toxinidir}/etc/requirements.txt +deps = -rdocs/requirements.txt commands = sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html echo "Generated docs available in {toxinidir}/docs/_build/html" whitelist_externals = echo [testenv:docs-linkcheck] -deps = -r{toxinidir}/etc/requirements.txt -commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
\ No newline at end of file +deps = -rdocs/requirements.txt +commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck |