Skip to content

Commit

Permalink
removed html templates
Browse files Browse the repository at this point in the history
  • Loading branch information
harisankar95 committed Feb 12, 2024
1 parent f51944c commit bf2e758
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 59 deletions.
27 changes: 0 additions & 27 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,31 +80,4 @@ div[class^='highlight'] {
border-radius: 5px;
padding: 2px 4px;
color: #333333;
}


@media (max-width: 768px) {
.wy-side-nav-search {
display: block;
position: fixed;
left: 0;
top: 0;
height: 100%;
width: 250px;
overflow-y: auto;
z-index: 1000;
background-color: var(--main-bg-color);
}

.rst-content {
margin-left: 250px;
}

.sidebar-toggle {
display: block;
position: fixed;
top: 15px;
left: calc(100% - 60px);
z-index: 1010;
}
}
27 changes: 0 additions & 27 deletions docs/_templates/versions.html

This file was deleted.

11 changes: 6 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@
]

templates_path = ["_templates"]
html_sidebars = {
"**": [
"_templates/versions.html",
],
}

# sphinx-notfound-page
notfound_context = {
Expand Down Expand Up @@ -79,6 +74,7 @@
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output


html_theme = "sphinx_rtd_theme"
html_static_path = ["_static"]
html_css_files = ["custom.css"]
Expand All @@ -105,6 +101,11 @@
"titles_only": False,
}


def setup(app):
app.add_css_file("custom.css")


# generate autosummary even if no references
autosummary_generate = True
autosummary_imported_members = True
Expand Down

0 comments on commit bf2e758

Please sign in to comment.