Skip to content

Commit

Permalink
Docs: Switch to rtd theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
msom committed Jul 16, 2024
1 parent 61ea339 commit 4f6e90a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 95 deletions.
19 changes: 0 additions & 19 deletions docs/_static/custom.css

This file was deleted.

48 changes: 0 additions & 48 deletions docs/_static/logo.svg

This file was deleted.

27 changes: 6 additions & 21 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,45 +169,30 @@


# -- Options for HTML output ----------------------------------------------
import alabaster

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = "default"
html_theme_path = [alabaster.get_path()]
html_theme = "alabaster"
html_sidebars = {
"**": [
"about.html",
"localtoc.html",
"searchbox.html",
]
}
html_theme_options = {
"logo": "logo.svg",
"github_user": "OneGov",
"github_repo": "onegov-cloud",
}
html_style = "custom.css"
html_theme = "sphinx_rtd_theme"

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
# html_theme_options = {}
html_theme_options = {
"display_version": False,
}

# Add any paths that contain custom themes here, relative to this directory.
# html_theme_path = []

# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
# html_title = None
html_title = "Documentation"

# A shorter title for the navigation bar. Default is the same as html_title.
# html_short_title = None

# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
# html_logo = None
html_logo = ""

# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
Expand Down
7 changes: 1 addition & 6 deletions docs/design.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,7 @@ framework based on Morepath, to find a path out of our reliance on Plone.
Learning Morepath is essential to learn more about OneGov Cloud. Here are
a few good starting points.

First, a general overview over framework patterns, which nicely presents the
case for Morepath:

https://blog.startifact.com/posts/framework-patterns.html

Second, an introductory video (25 mins):
Here's an introductory video (25 mins):

https://www.youtube.com/watch?v=gyDKMAWPyuY

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ mypy =
types-vobject
types-webob
docs =
alabaster
sphinx_rtd_theme
docutils
Jinja2
sphinx
Expand Down

0 comments on commit 4f6e90a

Please sign in to comment.