diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 5c93aa1..e749f07 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -8,6 +8,7 @@ build: python: install: - requirements: requirements.txt + - requirements: docs/requirements.txt # Build documentation in the "docs/" directory with Sphinx sphinx: diff --git a/docs/conf.py b/docs/conf.py index fe48713..d0b3174 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -386,4 +386,4 @@ # Example configuration for intersphinx: refer to the Python standard library. -intersphinx_mapping = {'https://docs.python.org/': None, 'https://mt940.readthedocs.io/en/latest/': None, } +intersphinx_mapping = {'python': ('https://docs.python.org/3', None), 'mt940': ('https://mt940.readthedocs.io/en/latest/', None)} diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000..8cb5c6e --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,2 @@ +sphinx +sphinx-toolbox \ No newline at end of file