From 2782a56c0f56c4f1a8fc20c0ec63b369cb4aca00 Mon Sep 17 00:00:00 2001 From: Ritu Raj Singh Date: Fri, 5 Jul 2019 01:47:39 +0530 Subject: [PATCH 1/3] removed repeated index Signed-off-by: Ritu Raj Singh --- docs/source/index.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/source/index.rst b/docs/source/index.rst index 5cba0957..b1bc9ed0 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -13,7 +13,6 @@ Guide aboutcode-docs/home deltacode/index aboutcode-toolkit/index - deltacode/index license help doc_maintenance From a0d76630e8d62192c26e879f5e239406e89ecfdc Mon Sep 17 00:00:00 2001 From: Ritu Raj Singh Date: Fri, 19 Jul 2019 15:32:02 +0530 Subject: [PATCH 2/3] added classic theme and sphinx highlighting style Signed-off-by: Ritu Raj Singh --- docs/source/conf.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index b6e98736..13fb6842 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -60,3 +60,11 @@ html_static_path = ['_static'] master_doc = 'index' + +# To stop docstrings inheritance. +autodoc_inherit_docstrings = False + +# The name of the Pygments (syntax highlighting) style to use. +pygments_style = 'sphinx' + +html_theme = 'classic' From d01a2e5e6e5cc6ede383ca6788ebe3a42a1c831a Mon Sep 17 00:00:00 2001 From: Ritu Raj Singh Date: Sun, 21 Jul 2019 01:06:19 +0530 Subject: [PATCH 3/3] added copied button Signed-off-by: Ritu Raj Singh --- docs/source/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index 13fb6842..43d46ab6 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -36,6 +36,9 @@ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ + +'sphinx_copybutton' + ] # Add any paths that contain templates here, relative to this directory.