Skip to content

Commit 51e8c96

Browse files
committed
docs: call sphinx-build to build doc, the command "setup.py build_sphinx" no longer exists
1 parent 0f4bd7b commit 51e8c96

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ commands:
154154
set -e
155155
. ci/bin/activate
156156
pip install -e ".[docs]"
157-
python setup.py build_sphinx
157+
sphinx-build -b html docs/ build/sphinx/html
158158
cp -r ./build "$CIRCLE_ARTIFACTS"
159159
- run:
160160
name: Build distribution

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ RUN set -eux \
3434
; pip install nbformat jupyter-core jupyter-client Pandoc --upgrade \
3535
; pip install -r ./notebooker/notebook_templates_example/notebook_requirements.txt \
3636
; python setup.py develop \
37-
; python setup.py build_sphinx \
37+
; sphinx-build -b html docs/ build/sphinx/html \
3838
; py.test tests \
3939
; python setup.py bdist_wheel --universal
4040

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ install_requires =
5555

5656
[options.extras_require]
5757
prometheus = prometheus_client
58-
docs = docutils; sphinx; numpydoc; sphinxcontrib-httpdomain; sphinxcontrib-httpdomain; sphinx-click
58+
docs = docutils; sphinx; setuptools; numpydoc; sphinxcontrib-httpdomain; sphinxcontrib-httpdomain; sphinx-click
5959
test = openpyxl; pytest; mock; pytest-cov; pytest-timeout; pytest-xdist; pytest-server-fixtures; freezegun; hypothesis>=3.83.2
6060

6161
[flake8]

0 commit comments

Comments
 (0)