Skip to content

Commit

Permalink
Switch to my Sphinx theme
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Nov 28, 2023
1 parent 5e9fdd6 commit 79714af
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 370 deletions.
1 change: 1 addition & 0 deletions Pipfile
Expand Up @@ -12,6 +12,7 @@ setuptools-scm = "*"
pre-commit = "*"
sphinx = "*"
myst-parser = "*"
sphinx-palewire-theme = "*"

[packages]
requests = "*"
Expand Down
9 changes: 8 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

234 changes: 0 additions & 234 deletions docs/_static/css/custom.css

This file was deleted.

File renamed without changes
File renamed without changes
49 changes: 0 additions & 49 deletions docs/_templates/nav.html

This file was deleted.

28 changes: 5 additions & 23 deletions docs/conf.py
Expand Up @@ -9,35 +9,17 @@
extensions = [
"myst_parser",
]
templates_path = ["_templates"]
source_suffix = ".rst"
source_suffix = ".md"
master_doc = "index"

project = "django-anss-archive"
year = datetime.now().year
copyright = f"{year} Ben Welsh"
copyright = f"{year} palewire"

exclude_patterns = ["_build"]

html_theme = "alabaster"
html_sidebars = {
"**": [
# "about.html",
# "navigation.html",
"relations.html",
"searchbox.html",
"donate.html",
]
}
html_theme = "palewire"
html_theme_options = {
"canonical_url": f"https://palewi.re/docs/{project}/",
"show_powered_by": False,
"show_relbar_bottom": True,
}

html_static_path = ["_static"]
html_css_files = [
"css/custom.css",
]

pygments_style = "sphinx"
"nosidebar": True,
}

0 comments on commit 79714af

Please sign in to comment.