diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c4cba312..36143c46 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,19 +32,19 @@ repos: hooks: - id: codespell exclude: (^Gemfile\.lock|\.svg)$ - args: ["-L", "hist,sur,nd,theses,ser,HEP,hep"] + args: ["-L", "hist,sur,nd,theses,ser"] - - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v4.0.0-alpha.8" + - repo: https://github.com/rbubley/mirrors-prettier + rev: "v3.4.2" hooks: - id: prettier - types_or: [yaml, markdown, html, css, scss, javascript, json] + types_or: [yaml, markdown, html, css, javascript, json] - repo: https://github.com/adamchainz/blacken-docs rev: 1.19.1 hooks: - id: blacken-docs - additional_dependencies: [black==22.8.0] + additional_dependencies: [black~=25.0] - repo: local hooks: diff --git a/_includes/head.html b/_includes/head.html index 6cce7a9d..840e2cbd 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -28,19 +28,19 @@ /* document.documentElement.style.display = 'none'; */ document.head.insertAdjacentHTML( 'beforeend', - '', + '', ); } diff --git a/_sass/color_schemes/darkskhep.scss b/_sass/color_schemes/darkskhep.scss new file mode 100644 index 00000000..53e943c4 --- /dev/null +++ b/_sass/color_schemes/darkskhep.scss @@ -0,0 +1,3 @@ +@import "./color_schemes/dark"; + +$link-color: #7092be; diff --git a/assets/css/just-the-docs-darkskhep.scss b/assets/css/just-the-docs-darkskhep.scss new file mode 100644 index 00000000..5b7168d5 --- /dev/null +++ b/assets/css/just-the-docs-darkskhep.scss @@ -0,0 +1,3 @@ +--- +--- +{% include css/just-the-docs.scss.liquid color_scheme="darkskhep" %} diff --git a/assets/css/just-the-docs-skhep.scss b/assets/css/just-the-docs-skhep.scss new file mode 100644 index 00000000..df73b5db --- /dev/null +++ b/assets/css/just-the-docs-skhep.scss @@ -0,0 +1,3 @@ +--- +--- +{% include css/just-the-docs.scss.liquid color_scheme="skhep" %}