Skip to content
This repository was archived by the owner on Dec 24, 2025. It is now read-only.

Commit eced9de

Browse files
committed
better tooltips | exclude more core methods | modern annotations | add main branch to github action
1 parent c490cb0 commit eced9de

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: docs
33
on:
44
push:
55
branches:
6+
- main
67
- v1
78
paths:
89
- 'LICENSE'

mkdocs.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ theme:
4343
- content.action.view
4444
- content.action.annotate
4545
- content.action.copy
46+
- content.tooltips
4647
- content.action.tooltips
4748
- content.code.annotate
4849
- content.code.copy
@@ -132,6 +133,15 @@ plugins:
132133
filters:
133134
- "!^_" # Exclude private members starting with only one underscore
134135
- "!before_update"
136+
- "!before_event"
137+
- "!clean"
138+
- "!did_mount"
139+
- "!init"
140+
- "!is_isolated"
141+
- "!update"
142+
- "!will_unmount"
143+
extensions:
144+
- griffe_modernized_annotations
135145
inventories:
136146
- url: https://docs.python.org/3/objects.inv
137147
domains: [ py, std ]

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ docs = [
3333
"pymdown-extensions",
3434
"mkdocs-glightbox",
3535
"mkdocs-section-index",
36+
"griffe-modernized-annotations",
3637
"pygments>=2.16",
3738
]
3839

@@ -64,10 +65,6 @@ select = [
6465
# isort
6566
"I"
6667
]
67-
ignore = [
68-
# Pyflakes
69-
"F401", # unused import
70-
]
7168
preview = true
7269

7370
[tool.ruff.format]

0 commit comments

Comments
 (0)