diff --git a/docs/_static/css/custom_style.css b/docs/_static/css/custom_style.css index 579fe07..2475bcd 100644 --- a/docs/_static/css/custom_style.css +++ b/docs/_static/css/custom_style.css @@ -1,3 +1,20 @@ -.wy-nav-content { - max-width: none; +.bd-main { + flex-grow: 1; + flex-direction: column; + display: flex; + min-width: 0; +} + +.bd-main .bd-content { + justify-content: left; +} + +.bd-main .bd-content .bd-article-container { + max-width: calc(100% - var(--pst-sidebar-secondary)); +} + +.bd-sidebar-primary div#rtd-footer-container { + bottom: -1rem; + margin: -1rem; + position: fixed; } \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index f0760ba..81ad06e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -56,8 +56,6 @@ version = pkg_resources.get_distribution("learnware").version # The full version, including alpha/beta/rc tags. release = pkg_resources.get_distribution("learnware").version -release = "0.1.0.99" - # -- Options for HTML output ------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output @@ -92,11 +90,12 @@ todo_include_todos = True # html_theme = "sphinx_book_theme" html_theme_path = [sphinx_book_theme.get_html_theme_path()] -html_theme_options = { - "collapse_navigation": False, - "navigation_depth": 4, -} - +#html_theme_options = { +# "logo_only": True, +# "collapse_navigation": False, +# "display_version": False, +# "navigation_depth": 4, +#} html_logo = "_static/img/logo/logo1.png"