Skip to content
Snippets Groups Projects
Commit b952f21b authored by Baptiste Bauvin's avatar Baptiste Bauvin
Browse files

Doc building

parent b645c32e
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ doc: ...@@ -22,7 +22,7 @@ doc:
script: script:
- export LC_ALL=$(locale -a | grep en_US) - export LC_ALL=$(locale -a | grep en_US)
- export LANG=$(locale -a | grep en_US) - export LANG=$(locale -a | grep en_US)
- pip3 install -e . --no-deps - pip3 install -e .[doc]
- sphinx-apidoc -o docs/source summit - sphinx-apidoc -o docs/source summit
- cd docs/source - cd docs/source
- sphinx-build -b html . ../build - sphinx-build -b html . ../build
...@@ -43,7 +43,7 @@ pages: ...@@ -43,7 +43,7 @@ pages:
script: script:
- export LC_ALL=$(locale -a | grep en_US) - export LC_ALL=$(locale -a | grep en_US)
- export LANG=$(locale -a | grep en_US) - export LANG=$(locale -a | grep en_US)
- pip3 install -e . --no-deps - pip3 install -e .[doc]
- pytest-3 - pytest-3
- sphinx-apidoc -o docs/source summit - sphinx-apidoc -o docs/source summit
- cd docs/source - cd docs/source
......
...@@ -56,7 +56,7 @@ def setup_package(): ...@@ -56,7 +56,7 @@ def setup_package():
# Une url qui pointe vers la page officielle de votre lib # Une url qui pointe vers la page officielle de votre lib
url='http://gitlab.lis-lab.fr/baptiste.bauvin/summit/', url='http://gitlab.lis-lab.fr/baptiste.bauvin/summit/',
install_requires=requirements, install_requires=requirements,
extras_requires={ extras_require={
'dev': ['pytest', 'pytest-cov'], 'dev': ['pytest', 'pytest-cov'],
'doc': ['sphinx', 'numpydoc', 'docutils', 'sphinx-autoapi']}, 'doc': ['sphinx', 'numpydoc', 'docutils', 'sphinx-autoapi']},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment