Skip to content

Commit bb36fa1

Browse files
committed
chore: Template upgrade
1 parent e15fb74 commit bb36fa1

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier.
2-
_commit: 1.4.0
2+
_commit: 1.4.5
33
_src_path: gh:mkdocstrings/handler-template
44
author_email: dev@pawamoy.fr
55
author_fullname: Timothée Mazzucotelli

docs/css/material.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323
background-color: rgb(220, 139, 240);
2424
-webkit-mask-image: var(--md-admonition-icon--preview);
2525
mask-image: var(--md-admonition-icon--preview);
26-
}
26+
}

mkdocs.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,12 @@ plugins:
182182
summary: true
183183
unwrap_annotated: true
184184
- llmstxt:
185-
files:
186-
- output: llms-full.txt
187-
inputs:
185+
full_output: llms-full.txt
186+
sections:
187+
Usage:
188188
- index.md
189-
- reference/**.md
189+
API:
190+
- reference/api.md
190191
- git-revision-date-localized:
191192
enabled: !ENV [DEPLOY, false]
192193
enable_creation_date: true

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ includes = ["src/mkdocstrings_handlers"]
5757
editable-backend = "editables"
5858

5959
# Include as much as possible in the source distribution, to help redistributors.
60-
excludes = ["**/.pytest_cache"]
60+
excludes = ["**/.pytest_cache", "**/.mypy_cache"]
6161
source-includes = [
6262
"config",
6363
"docs",
@@ -105,13 +105,13 @@ ci = [
105105
"mkdocs>=1.6",
106106
"mkdocs-coverage>=1.0",
107107
"mkdocs-git-revision-date-localized-plugin>=1.2",
108-
"mkdocs-llmstxt>=0.1",
108+
"mkdocs-llmstxt>=0.2",
109109
"mkdocs-material>=9.5",
110-
"pydantic>=2.10",
111110
"mkdocs-minify-plugin>=0.8",
112111
"mkdocs-redirects>=1.2",
113112
"mkdocs-section-index>=0.3",
114113
"mkdocstrings>=0.29",
114+
"pydantic>=2.10",
115115
# YORE: EOL 3.10: Remove line.
116116
"tomli>=2.0; python_version < '3.11'",
117117
]

tests/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def test_api_matches_inventory(inventory: Inventory, public_objects: list[griffe
145145

146146

147147
def _module_or_child(parent: str, name: str) -> bool:
148-
parents = [parent[: i + 1] for i, char in enumerate(parent) if char == "."]
148+
parents = [parent[:i] for i, char in enumerate(parent) if char == "."]
149149
parents.append(parent)
150150
return name in parents or name.startswith(parent + ".")
151151

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy