From e554c9d46083a80233dd859beebfec4f513f6530 Mon Sep 17 00:00:00 2001 From: Tom Eulenfeld Date: Thu, 19 Sep 2024 14:14:02 +0200 Subject: [PATCH] try to fix double indexing on RTD --- .readthedocs.yaml | 2 +- docs/conf.py | 3 ++- docs/src/cli.rst | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 0a66dff..3d5516f 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -6,7 +6,7 @@ build: python: "3.12" jobs: pre_build: - - cp docs/src/*.rst docs/ + - mv docs/src/*.rst docs/ - python -m pip install . --no-deps sphinx: configuration: docs/conf.py diff --git a/docs/conf.py b/docs/conf.py index cb2f38c..cb1675f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -52,8 +52,9 @@ def parse_imports(): } autodoc_mock_imports = parse_imports() print(f'set {autodoc_mock_imports=}') +autosummary_generate = False -html_title = f'AnchoRNA
v{version}
documentation' +html_title = f'AnchoRNA
v{version}
API docs' html_theme = 'furo' html_theme_options = { 'footer_icons' : [], diff --git a/docs/src/cli.rst b/docs/src/cli.rst index 500d10b..76cb35c 100644 --- a/docs/src/cli.rst +++ b/docs/src/cli.rst @@ -1,5 +1,5 @@ -:mod:`!cli` Module ------------------- +cli Module +---------- .. automodule:: anchorna.cli