From 93eb19d23c361d36c63fba87ed745ab100f3b616 Mon Sep 17 00:00:00 2001 From: Mickael Date: Wed, 10 Nov 2021 12:30:46 +0100 Subject: [PATCH] test press theme --- docs/source/conf.py | 11 ++++++++--- docs/source/index.rst | 1 + docs/source/readme_link.rst | 4 ++++ requirements.txt | 4 +++- 4 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 docs/source/readme_link.rst diff --git a/docs/source/conf.py b/docs/source/conf.py index ff409e9..73d844d 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -31,7 +31,9 @@ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ - 'sphinx_rtd_theme' + 'sphinx-press-theme', + 'sphinx_rtd_theme', + 'recommonmark' ] # Add any paths that contain templates here, relative to this directory. @@ -49,9 +51,12 @@ # a list of builtin themes. # # html_theme = 'alabaster' -html_theme = 'sphinx_rtd_theme' +# html_theme = 'sphinx_rtd_theme' +html_theme = 'press' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] \ No newline at end of file +html_static_path = ['_static'] + +source_suffix = ['.rst', '.md'] diff --git a/docs/source/index.rst b/docs/source/index.rst index a63e22a..0af3b6f 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -19,3 +19,4 @@ Indices and tables * :ref:`genindex` * :ref:`modindex` * :ref:`search` + diff --git a/docs/source/readme_link.rst b/docs/source/readme_link.rst new file mode 100644 index 0000000..b0ad03e --- /dev/null +++ b/docs/source/readme_link.rst @@ -0,0 +1,4 @@ +Readme File +=========== + +.. mdinclude:: ../../README.md \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 341384b..f9642ff 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,4 +13,6 @@ pytest>=5.4.3 flake8>=3.8.3 check-manifest>=0.42 Sphinx==4.2.0 -sphinx-rtd-theme>=1.0.0 \ No newline at end of file +sphinx-rtd-theme>=1.0.0 +sphinx-press-theme>=0.8.0 +recommonmark>=0.7.1 \ No newline at end of file