Skip to content

Commit e031b25

Browse files
Improve pyproject.toml, add py.typed
1 parent 8c75306 commit e031b25

File tree

12 files changed

+51
-14
lines changed

12 files changed

+51
-14
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.0.2] - 2023-04-25
9+
- Fixes detail in the `contribs` plugin: when the name is specified for a
10+
contributor by email address, it is used.
11+
- Improves `pyproject.toml`.
12+
- Adds `py.typed` files.
13+
814
## [1.0.1] - 2023-04-25
915
- Improves the `contribs` plugin, adding the possibility to document
1016
contributors for a page also using `.txt` files close to `.md` files. This

neoteroi/mkdocs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.0.1"
1+
__version__ = "1.0.2"

neoteroi/mkdocs/cards/py.typed

Whitespace-only changes.

neoteroi/mkdocs/contribs/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ def _get_contributors(self, page_file: File) -> List[Contributor]:
132132
if parent:
133133
parent.count += contributor.count
134134
continue
135+
else:
136+
# use configured name
137+
contributor.name = contributor_info["name"]
135138

136139
# should contributor information be merged with another object?
137140
if self._merge_contributor_by_email(

neoteroi/mkdocs/contribs/py.typed

Whitespace-only changes.

neoteroi/mkdocs/markdown/py.typed

Whitespace-only changes.

neoteroi/mkdocs/oad/py.typed

Whitespace-only changes.

neoteroi/mkdocs/projects/py.typed

Whitespace-only changes.

neoteroi/mkdocs/spantable/py.typed

Whitespace-only changes.

neoteroi/mkdocs/timeline/py.typed

Whitespace-only changes.

0 commit comments

Comments
 (0)