diff --git a/doc/build-versioned-docs.sh b/doc/build-versioned-docs.sh index b61472d216e9..627cbe3a24ed 100755 --- a/doc/build-versioned-docs.sh +++ b/doc/build-versioned-docs.sh @@ -77,7 +77,7 @@ END # Restore branch as it was to avoid conflicts git restore source/_templates git restore source/_templates/autosummary || rm -rf source/_templates/autosummary - rm source/ref-api/*.rst + rm source/ref-api-flwr/*.rst if [ "$current_version" = "v1.5.0" ]; then git restore source/conf.py @@ -103,7 +103,7 @@ for current_language in ${languages}; do export current_language sphinx-build -b html source/ build/html/${current_version}/${current_language} -A lang=True -D language=${current_language} done -rm source/ref-api/*.rst +rm source/ref-api-flwr/*.rst # Copy main version to the root of the built docs cp -r build/html/main/en/* build/html/ diff --git a/doc/source/index.rst b/doc/source/index.rst index 5df591d6ce05..f6bc9ca25331 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -122,7 +122,7 @@ References Information-oriented API reference and other reference material. .. autosummary:: - :toctree: ref-api + :toctree: ref-api-flwr :template: autosummary/module.rst :caption: API reference :recursive: