From 2570d6c417d617d62bc4ae5a45862e8933237c22 Mon Sep 17 00:00:00 2001 From: Zhiqiang Wang Date: Thu, 27 Jan 2022 02:36:09 +0800 Subject: [PATCH] Fixing configuration --- docs/requirements.txt | 1 + docs/source/conf.py | 5 +++++ docs/source/index.rst | 2 +- docs/source/installation.rst | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 507c20ef..b60d038b 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,5 +1,6 @@ numpy jupyterlab +ipython sphinx sphinx-material nbsphinx diff --git a/docs/source/conf.py b/docs/source/conf.py index 61c393e9..dcd08ba9 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -30,8 +30,13 @@ # ones. extensions = [ "sphinx.ext.autodoc", + "sphinx.ext.mathjax", "sphinx.ext.napoleon", + "sphinx.ext.viewcode", + "sphinx.ext.intersphinx", + "sphinx.ext.extlinks", "nbsphinx", + "IPython.sphinxext.ipython_console_highlighting", ] # Add any paths that contain templates here, relative to this directory. diff --git a/docs/source/index.rst b/docs/source/index.rst index 8722640a..c17d3213 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -69,7 +69,7 @@ And we support loading the trained weights from YOLOv5: .. toctree:: :maxdepth: 2 :titlesonly: - :caption: Installation + :caption: Getting Started installation diff --git a/docs/source/installation.rst b/docs/source/installation.rst index c87633bc..e8f3eb05 100644 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -1,4 +1,4 @@ -Installation +Install yolort ============ .. _required: