Skip to content

Commit

Permalink
Replaces govuk Sphinx theme with readthedocs Sphinx theme
Browse files Browse the repository at this point in the history
  • Loading branch information
danmilne1 committed Jan 31, 2024
1 parent d1e49e9 commit 12b84c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"sphinx.ext.githubpages",
"sphinx.ext.napoleon",
"myst_parser",
"govuk_tech_docs_sphinx_theme",
"sphinx_rtd_theme",
]

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -61,7 +61,7 @@

# The theme to use for HTML and HTML Help pages. See the documentation for a list of
# builtin themes.
html_theme = "govuk_tech_docs_sphinx_theme"
html_theme = "sphinx_rtd_theme"

# Variables to pass to each HTML page to help populate page-specific options
html_context = {
Expand All @@ -84,7 +84,7 @@
# Output file base name for HTML help builder.
htmlhelp_basename = "govcookiecutterdoc"

# -- Options for govuk-tech-docs-sphinx-theme ------------------------------------------
# -- Options for sphinx_rtd_theme ------------------------------------------

# Get the latest Git commit hash — this is used to redirect the 'View Source' link
# correctly. If this fails, default to `main`. Based on code snippet from:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ coverage
detect-secrets==1.0.3
#pytest-cookies
git+https://github.com/Jacobb164/pytest-cookies
govuk-tech-docs-sphinx-theme
jinja2-time
myst-parser
pre-commit
Expand All @@ -12,4 +11,5 @@ pytest-mock
pytest-xdist
python-dotenv
Sphinx
sphinx_rtd_theme
toml

0 comments on commit 12b84c5

Please sign in to comment.