Skip to content

Commit

Permalink
Cruft update
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Oct 1, 2024
1 parent f6bf8ac commit e422973
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/cthoyt/cookiecutter-snekpack",
"commit": "77b5cbcf38d8f4b1916ad0b4d095e9e1593b5b49",
"commit": "900ef65f0ad637bb02037d8cd66d0fa8436a236c",
"checkout": null,
"context": {
"cookiecutter": {
Expand Down
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ acceptance and merge into the main branch. This has several benefits:
### Code Style

This project uses `tox` for running code quality checks. Start by installing
it` with `pip install tox tox-uv`.
it with `pip install tox tox-uv`.

This project encourages the use of optional static typing. It
uses [`mypy`](http://mypy-lang.org/) as a type checker. You can check if
Expand Down
17 changes: 16 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,19 @@
if parsed_version.group("release"):
tags.add("prerelease") # noqa: F821


# See https://about.readthedocs.com/blog/2024/07/addons-by-default/
# Define the canonical URL if you are using a custom domain on Read the Docs
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")

# See https://about.readthedocs.com/blog/2024/07/addons-by-default/
# Tell Jinja2 templates the build is running on Read the Docs
if os.environ.get("READTHEDOCS", "") == "True":
if "html_context" not in globals():
html_context = {}
html_context["READTHEDOCS"] = True


# -- General configuration ---------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
Expand Down Expand Up @@ -77,7 +90,9 @@
# You can specify multiple suffix as a list of string:
#
# source_suffix = ['.rst', '.md']
source_suffix = ".rst"
source_suffix = {
".rst": "restructuredtext",
}

# The master toctree document.
master_doc = "index"
Expand Down

0 comments on commit e422973

Please sign in to comment.