Skip to content
Snippets Groups Projects
Commit fcce7138 authored by Sebastian Müller's avatar Sebastian Müller 🐈
Browse files

CI: update doc install

parent 01903589
No related branches found
No related tags found
1 merge request!56Increase code quality
Pipeline #75094 failed with stage
in 49 seconds
...@@ -7,7 +7,7 @@ stages: ...@@ -7,7 +7,7 @@ stages:
check: check:
stage: build stage: build
before_script: before_script:
- pip3 install black numpy pandas 'pylint<3' 'isort[colors]<6' - pip3 install black pandas 'pylint<3' 'isort[colors]<6'
script: script:
- pip3 install --editable .[test] - pip3 install --editable .[test]
- black --check --diff --color . - black --check --diff --color .
...@@ -20,10 +20,8 @@ check: ...@@ -20,10 +20,8 @@ check:
documentation: documentation:
stage: build stage: build
before_script:
- pip3 install sphinx numpy
script: script:
- pip3 install --editable . - pip3 install --editable .[doc]
- sphinx-apidoc --separate -o docs src/finam - sphinx-apidoc --separate -o docs src/finam
- sphinx-build -W -b html docs docs/build - sphinx-build -W -b html docs docs/build
- mv docs/build public/ - mv docs/build public/
......
...@@ -54,7 +54,7 @@ where = src ...@@ -54,7 +54,7 @@ where = src
[options.extras_require] [options.extras_require]
doc = doc =
sphinx>=3,<4 sphinx
numpydoc>=1.1 numpydoc>=1.1
test = test =
coverage[toml]>=5.2.1,<6 coverage[toml]>=5.2.1,<6
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment