Correct all remaining warnings during the build of the docs

This commit is contained in:
Mirko Bunse 2024-07-01 17:48:23 +02:00
parent 415c92f803
commit b8b3cf540e
4 changed files with 9 additions and 3 deletions

View File

@ -45,7 +45,7 @@ jobs:
pre-build-command: |
apt-get --allow-releaseinfo-change update -y && apt-get install -y git && git --version
python -m pip install --upgrade pip setuptools wheel
python -m pip install -e .[composable,docs]
python -m pip install -e .[composable,neural,docs]
docs-folder: "docs/"
- name: Publish documentation
run: |

View File

@ -36,6 +36,7 @@ extensions = [
'sphinx.ext.autosummary',
'sphinx.ext.viewcode',
'sphinx.ext.napoleon',
'sphinx.ext.intersphinx',
'myst_parser',
]
@ -55,6 +56,10 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
html_theme = 'sphinx_rtd_theme'
# html_theme = 'furo'
# need to be installed: pip install furo (not working...)
html_static_path = ['_static']
# html_static_path = ['_static']
# intersphinx configuration
intersphinx_mapping = {
"sklearn": ("https://scikit-learn.org/stable/", None),
}

View File

@ -53,7 +53,7 @@ quapy.method.non\_aggregative module
:show-inheritance:
quapy.method.composable module
------------------------
------------------------------
.. automodule:: quapy.method.composable
:members:

View File

@ -126,6 +126,7 @@ setup(
extras_require={ # Optional
'bayes': ['jax', 'jaxlib', 'numpyro'],
'composable': ['qunfold @ git+https://github.com/mirkobunse/qunfold@v0.1.3'],
'neural': ['torch'],
'tests': ['certifi'],
'docs' : ['sphinx-rtd-theme', 'myst-parser'],
},