Commit e154dc06 authored by Viacheslav Ostroukh's avatar Viacheslav Ostroukh 🚲
Browse files

Merge branch 'enh/ci_sphinx' into 'master'

Improvements in documentation automated build

See merge request !391
parents e75bf49e a6897fb5
Pipeline #74951 passed with stages
in 9 minutes and 26 seconds
...@@ -37,7 +37,7 @@ import kwant.continuum # sphinx gets confused with lazy loading ...@@ -37,7 +37,7 @@ import kwant.continuum # sphinx gets confused with lazy loading
sys.path.insert(0, os.path.abspath('../sphinxext')) sys.path.insert(0, os.path.abspath('../sphinxext'))
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.autosummary', extensions = ['sphinx.ext.autodoc', 'sphinx.ext.autosummary',
'sphinx.ext.todo', 'sphinx.ext.mathjax', 'numpydoc', 'sphinx.ext.todo', 'sphinx.ext.mathjax', 'sphinx.ext.napoleon',
'kwantdoc', 'sphinx.ext.linkcode', 'jupyter_sphinx', 'kwantdoc', 'sphinx.ext.linkcode', 'jupyter_sphinx',
'sphinxcontrib.rsvgconverter'] 'sphinxcontrib.rsvgconverter']
......
...@@ -3,6 +3,7 @@ channels: ...@@ -3,6 +3,7 @@ channels:
- conda-forge - conda-forge
dependencies: dependencies:
- python=3.9 - python=3.9
- pip
- numpy - numpy
- scipy - scipy
- tinyarray - tinyarray
...@@ -26,7 +27,8 @@ dependencies: ...@@ -26,7 +27,8 @@ dependencies:
- pytest-flakes - pytest-flakes
- pytest-pep8 - pytest-pep8
# Documentation building # Documentation building
- sphinx
- numpydoc - numpydoc
- requests - requests
- jupyter_sphinx - jupyter_sphinx
- pip:
- git+https://github.com/sphinx-doc/sphinx.git@bedbb8c8259f1b4520ed654ffda3a045c55163d7
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment