File tree Expand file tree Collapse file tree 4 files changed +14
-0
lines changed
Expand file tree Collapse file tree 4 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ pip-log.txt
4444
4545# Built documentation
4646docs /_build
47+ docs /_build_doc2dash
4748
4849# Virtual environment
4950env /
Original file line number Diff line number Diff line change @@ -79,6 +79,19 @@ deps =
7979 sphinx_rtd_theme
8080passenv = {[testenv:system-tests]passenv} SPHINX_RELEASE READTHEDOCS
8181
82+ [testenv:docs-doc2dash]
83+ setenv =
84+ PYTHONPATH = {toxinidir}/_testing
85+ basepython = {[testenv:docs]basepython}
86+ commands =
87+ sphinx-build -W -b html -d docs/_build_doc2dash/doctrees docs docs/_build_doc2dash/html
88+ doc2dash -vv --force -n gcloud-python -i docs/_static/images/gcp-logo-32x32.png -I index.html -u https://gcloud-python.rtfd.org/ -d docs/_build_doc2dash/ docs/_build_doc2dash/html
89+ deps =
90+ {[testenv:docs]deps}
91+ doc2dash
92+ passenv =
93+ {[testenv:docs]passenv}
94+
8295[pep8]
8396exclude =
8497 docs/conf.py,
You can’t perform that action at this time.
0 commit comments