Skip to content

Commit

Permalink
Hide footnotes
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Lefkowitz committed Apr 24, 2024
1 parent bf6f7f8 commit 08ff357
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
26 changes: 12 additions & 14 deletions docs/sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@
from walkmate import tree

project = "Miniscons"
version = "0.9.0"

package = "miniscons"
primary = "#4165FF"
secondary = "#914FF5"
version = "0.9.0"

project_copyright = f"{date.today().year} Joel Lefkowitz"

Expand All @@ -23,38 +20,39 @@
autoapi_dirs = ["../../src"]
autoapi_options = [
"members",
"undoc-members",
"private-members",
"show-inheritance",
"undoc-members",
]

myst_all_links_external = True

theme = {
"color-problematic": "#4165FF",
"color-brand-content": "#4165FF",
"color-brand-primary": "#914FF5",
"font-stack": "Space Grotesk, sans-serif",
"font-stack--monospace": "CQ Mono, monospace",
}

html_theme = "furo"
html_title = project
html_static_path = [""]
html_js_files = ["scripts.js"]
html_css_files = ["styles.css"]
html_theme_options = {
"font-stack": "Space Grotesk, sans-serif",
"font-stack--monospace": "CQ Mono, monospace",
"light_css_variables": {
"color-brand-content": primary,
"color-problematic": primary,
"color-brand-primary": secondary,
**theme,
"color-highlight-on-target": "#E0E0E0",
},
"dark_css_variables": {
"color-problematic": primary,
"color-brand-content": primary,
"color-brand-primary": secondary,
**theme,
"color-highlight-on-target": "#202020",
},
}


def build(app, build):

shutil.copytree("docs/images", "docs/dist/docs/images", dirs_exist_ok=True)
shutil.move("docs/dist/autoapi/src", f"docs/dist/autoapi/{package}")

Expand Down
2 changes: 1 addition & 1 deletion docs/sphinx/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
width: 300px;
}

section#documentation {
section#documentation .footnote-list.brackets {
display: none;
}

Expand Down

0 comments on commit 08ff357

Please sign in to comment.