Skip to content

Commit

Permalink
hopefully fixed pathing issue with pages
Browse files Browse the repository at this point in the history
  • Loading branch information
R. Broderick committed Apr 22, 2024
1 parent 42fcd42 commit dd36c06
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 9 deletions.
9 changes: 9 additions & 0 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@import 'theme.css';

.toctree-l4 {
font-size: 1.2em !important
}

.toctree-l4>a {
padding: 0em 1.618em 0em 5.663em !important
}
15 changes: 15 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,18 @@

sys.path.insert(0, os.path.abspath("../src")) # noqa: PTH100
config = SphinxConfig("../pyproject.toml", globalns=globals())


# def setup(app) -> None:
# """Set up the Sphinx application.

# Args:
# ----
# app: The Sphinx application object.

# Returns:
# -------
# None

# """
# app.add_css_file("source/custom.css")
8 changes: 0 additions & 8 deletions docs/source/custom.css

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ auto_doc_default_options = {'autosummary' = true}
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = "sphinx_rtd_theme"
html_style = "../../../source/custom.css"
html_style = "css/custom.css"
html_static_path = ["_static"]
html_theme_options = {'display_version' = true, 'sticky_navigation' = true, 'includehidden' = true, 'titles_only' = false}
autosummary_generate = true
Expand Down

0 comments on commit dd36c06

Please sign in to comment.