diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a78d98185..f2b8902bf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ default_language_version: repos: - repo: "https://github.com/pycontribs/mirrors-prettier" - rev: v3.5.3 + rev: v3.6.2 hooks: - id: prettier # Exclude the HTML, since it doesn't understand Jinja2 @@ -22,7 +22,7 @@ repos: exclude: .+\.html|webpack\.config\.js|tests/test_a11y/ - repo: "https://github.com/astral-sh/ruff-pre-commit" - rev: "v0.11.12" + rev: "v0.12.7" hooks: - id: ruff args: [--exit-non-zero-on-fix] @@ -41,7 +41,7 @@ repos: types_or: ["html"] - repo: "https://github.com/PyCQA/doc8" - rev: v1.1.2 + rev: v2.0.0 hooks: - id: doc8 @@ -56,7 +56,7 @@ repos: - id: remove-metadata - repo: "https://github.com/thibaudcolas/pre-commit-stylelint" - rev: v16.20.0 + rev: v16.23.0 hooks: - id: stylelint # automatically fix .scss files where possible diff --git a/docs/community/structure.md b/docs/community/structure.md index 69360a9d5..424baf2b4 100644 --- a/docs/community/structure.md +++ b/docs/community/structure.md @@ -12,15 +12,12 @@ The CSS and JS for this theme are built for the browser from `src/pydata_sphinx_ [webpack](https://webpack.js.org/). The main entry points are: - CSS: `src/pydata_sphinx_theme/assets/styles/pydata-sphinx-theme.scss` - - the main part of the theme assets - customizes [Bootstrap](https://getbootstrap.com/) with [Sass](https://sass-lang.com) - JS: `src/pydata_sphinx_theme/assets/scripts/pydata-sphinx-theme.js` - - provides add-on Bootstrap features, as well as some custom navigation behavior - webpack: `webpack.config.js` - - captures the techniques for transforming the JS and CSS source files in `src/pydata_sphinx_theme/assets/*` into the production assets in `src/theme/pydata_sphinx_theme/static/` diff --git a/docs/user_guide/theme-elements.md b/docs/user_guide/theme-elements.md index 3a40bec5b..8e2882db5 100644 --- a/docs/user_guide/theme-elements.md +++ b/docs/user_guide/theme-elements.md @@ -223,12 +223,10 @@ You may skip the need to manually define the link text by [activating the MyST L For example: - **reStructuredText** - - `https://github.com/pydata/pydata-sphinx-theme/pull/1012` - https://github.com/pydata/pydata-sphinx-theme/pull/1012 - **MyST Markdown (default)** - - `[https://github.com/pydata/pydata-sphinx-theme/pull/1012](https://github.com/pydata/pydata-sphinx-theme/pull/1012)` - [https://github.com/pydata/pydata-sphinx-theme/pull/1012](https://github.com/pydata/pydata-sphinx-theme/pull/1012)