Skip to content

Commit 97402bc

Browse files
committed
chore: simplify generated reference page markers
1 parent 4e6fb87 commit 97402bc

3 files changed

Lines changed: 7 additions & 15 deletions

File tree

.config/cspell.config.yaml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,26 @@
11
# yaml-language-server: $schema=https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json
22
# This file is @generated by <https://github.com/liblaf/cspell-init>.
33
# DO NOT EDIT!
4+
$schema: https://raw.githubusercontent.com/streetsidesoftware/cspell/main/packages/cspell-types/cspell.schema.json
45
allowCompoundWords: true
56
cache:
67
useCache: true
7-
caseSensitive: false
88
enableGlobDot: true
99
ignorePaths:
1010
- .git/
1111
- cspell.*
12+
- CHANGELOG.md
1213
ignoreRandomStrings: true
13-
maxFileSize: 500KB
14+
maxFileSize: 32KB
1415
useGitignore: true
1516
words:
1617
- arithmatex
17-
- bfadeab
1818
- chtml
19-
- codspeedhq
20-
- direnv
21-
- envops
22-
- envrc
2319
- fieldz
2420
- fspath
2521
- grimp
2622
- hynek
2723
- inlinehilite
28-
- kwargs
2924
- liblaf
3025
- linenums
3126
- lucide
@@ -34,6 +29,8 @@ words:
3429
- mkdocstrings
3530
- noxfile
3631
- numpy
32+
- oxfmt
33+
- oxlint
3734
- pipx
3835
- pycache
3936
- pydantic
@@ -50,11 +47,9 @@ words:
5047
- pyvista
5148
- rumdl
5249
- sdist
53-
- strftime
5450
- taiki
5551
- tombi
5652
- trimesh
5753
- twemoji
5854
- venv
5955
- virtualenv
60-
- zensical

mise-tasks/gen/ref-pages.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,7 @@
1818

1919
import tomlkit
2020

21-
MARKDOWN_TEMPLATE: str = """\
22-
::: {module_path}
23-
options:
24-
toc_label: {module_path}
25-
"""
21+
MARKDOWN_TEMPLATE: str = "::: {module_path}"
2622
MODULE_SYMBOL: str = '<code class="doc-symbol doc-symbol-toc doc-symbol-module"></code>'
2723

2824

template/.config/linters/.ruff.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ ignore = [
3434
"PLR2004",
3535
"RET504",
3636
"S101",
37+
"S310",
3738
"S603",
3839
"S607",
3940
"T201",

0 commit comments

Comments
 (0)