Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ default_language_version:
repos:

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-toml
- id: check-json
Expand All @@ -24,7 +24,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.4
rev: v0.14.10
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand All @@ -37,7 +37,7 @@ repos:
types_or: [scss, javascript]

- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
rev: v2.4.1
hooks:
- id: codespell
exclude: >
Expand Down
2 changes: 1 addition & 1 deletion docs/components/logo.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
You can customize the logo, title, and favicon of your site.

Refer to {external:doc}`the PyData Sphinx Theme branding documentation <user_guide/branding>` for how to customize the logo and title.
This theme re-uses the same configuration.
This theme reuses the same configuration.
2 changes: 1 addition & 1 deletion src/sphinx_book_theme/assets/styles/abstracts/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

/**
* The PyData Sphinx Theme box shadow rule
* Copied here in csae we need to re-use.
* Copied here in csae we need to reuse.
*/
@mixin pst-box-shadow() {
box-shadow:
Expand Down
4 changes: 2 additions & 2 deletions src/sphinx_book_theme/header_buttons/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def add_header_buttons(app, pagename, templatename, context, doctree):
download_buttons.append(
{
"type": "link",
"url": f'{pathto("_sources", 1)}/{context.get("ipynb_source")}',
"url": f"{pathto('_sources', 1)}/{context.get('ipynb_source')}",
"text": ".ipynb",
"icon": "fas fa-code",
"tooltip": translation("Download notebook file"),
Expand All @@ -79,7 +79,7 @@ def add_header_buttons(app, pagename, templatename, context, doctree):
download_buttons.append(
{
"type": "link",
"url": f'{pathto("_sources", 1)}/{context["sourcename"]}',
"url": f"{pathto('_sources', 1)}/{context['sourcename']}",
"text": suff,
"tooltip": translation("Download source file"),
"icon": "fas fa-file",
Expand Down