liblaf-mkdocs-preset 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,192 @@
1
+ # Created by https://www.toptal.com/developers/gitignore/api/python
2
+ # Edit at https://www.toptal.com/developers/gitignore?templates=python
3
+
4
+ ### Python ###
5
+ # Byte-compiled / optimized / DLL files
6
+ __pycache__/
7
+ *.py[cod]
8
+ *$py.class
9
+
10
+ # C extensions
11
+ *.so
12
+
13
+ # Distribution / packaging
14
+ .Python
15
+ build/
16
+ develop-eggs/
17
+ dist/
18
+ downloads/
19
+ eggs/
20
+ .eggs/
21
+ lib/
22
+ lib64/
23
+ parts/
24
+ sdist/
25
+ var/
26
+ wheels/
27
+ share/python-wheels/
28
+ *.egg-info/
29
+ .installed.cfg
30
+ *.egg
31
+ MANIFEST
32
+
33
+ # PyInstaller
34
+ # Usually these files are written by a python script from a template
35
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
36
+ *.manifest
37
+ *.spec
38
+
39
+ # Installer logs
40
+ pip-log.txt
41
+ pip-delete-this-directory.txt
42
+
43
+ # Unit test / coverage reports
44
+ htmlcov/
45
+ .tox/
46
+ .nox/
47
+ .coverage
48
+ .coverage.*
49
+ .cache
50
+ nosetests.xml
51
+ coverage.xml
52
+ *.cover
53
+ *.py,cover
54
+ .hypothesis/
55
+ .pytest_cache/
56
+ cover/
57
+
58
+ # Translations
59
+ *.mo
60
+ *.pot
61
+
62
+ # Django stuff:
63
+ *.log
64
+ local_settings.py
65
+ db.sqlite3
66
+ db.sqlite3-journal
67
+
68
+ # Flask stuff:
69
+ instance/
70
+ .webassets-cache
71
+
72
+ # Scrapy stuff:
73
+ .scrapy
74
+
75
+ # Sphinx documentation
76
+ docs/_build/
77
+
78
+ # PyBuilder
79
+ .pybuilder/
80
+ target/
81
+
82
+ # Jupyter Notebook
83
+ .ipynb_checkpoints
84
+
85
+ # IPython
86
+ profile_default/
87
+ ipython_config.py
88
+
89
+ # pyenv
90
+ # For a library or package, you might want to ignore these files since the code is
91
+ # intended to run in multiple environments; otherwise, check them in:
92
+ # .python-version
93
+
94
+ # pipenv
95
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
96
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
97
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
98
+ # install all needed dependencies.
99
+ #Pipfile.lock
100
+
101
+ # poetry
102
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
103
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
104
+ # commonly ignored for libraries.
105
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
106
+ #poetry.lock
107
+
108
+ # pdm
109
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
110
+ #pdm.lock
111
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
112
+ # in version control.
113
+ # https://pdm.fming.dev/#use-with-ide
114
+ .pdm.toml
115
+
116
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
117
+ __pypackages__/
118
+
119
+ # Celery stuff
120
+ celerybeat-schedule
121
+ celerybeat.pid
122
+
123
+ # SageMath parsed files
124
+ *.sage.py
125
+
126
+ # Environments
127
+ .env
128
+ .venv
129
+ env/
130
+ venv/
131
+ ENV/
132
+ env.bak/
133
+ venv.bak/
134
+
135
+ # Spyder project settings
136
+ .spyderproject
137
+ .spyproject
138
+
139
+ # Rope project settings
140
+ .ropeproject
141
+
142
+ # mkdocs documentation
143
+ /site
144
+
145
+ # mypy
146
+ .mypy_cache/
147
+ .dmypy.json
148
+ dmypy.json
149
+
150
+ # Pyre type checker
151
+ .pyre/
152
+
153
+ # pytype static type analyzer
154
+ .pytype/
155
+
156
+ # Cython debug symbols
157
+ cython_debug/
158
+
159
+ # PyCharm
160
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
161
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
162
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
163
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
164
+ #.idea/
165
+
166
+ ### Python Patch ###
167
+ # Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
168
+ poetry.toml
169
+
170
+ # ruff
171
+ .ruff_cache/
172
+
173
+ # LSP config files
174
+ # pyrightconfig.json
175
+
176
+ # End of https://www.toptal.com/developers/gitignore/api/python
177
+
178
+ # hatch-vcs
179
+ _version.py
180
+
181
+ # pytest
182
+ junit.xml
183
+
184
+ # pytest-benchmark
185
+ .benchmarks/
186
+
187
+ # pytest-codspeed
188
+ .codspeed/
189
+
190
+ *.log
191
+ *.log.*
192
+ playground/
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 liblaf
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,47 @@
1
+ Metadata-Version: 2.4
2
+ Name: liblaf-mkdocs-preset
3
+ Version: 0.1.0
4
+ Summary: TODO
5
+ Project-URL: Changelog, https://github.com/liblaf/mkdocs-preset/blob/main/CHANGELOG.md
6
+ Project-URL: Documentation, https://liblaf.github.io/mkdocs-preset/
7
+ Project-URL: Funding, https://github.com/liblaf/mkdocs-preset?sponsor=1
8
+ Project-URL: Homepage, https://github.com/liblaf/mkdocs-preset
9
+ Project-URL: Issue Tracker, https://github.com/liblaf/mkdocs-preset/issues
10
+ Project-URL: Release Notes, https://github.com/liblaf/mkdocs-preset/releases
11
+ Project-URL: Source Code, https://github.com/liblaf/mkdocs-preset
12
+ Author-email: liblaf <30631553+liblaf@users.noreply.github.com>
13
+ License-Expression: MIT
14
+ License-File: LICENSE
15
+ Classifier: Development Status :: 4 - Beta
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: License :: OSI Approved
18
+ Classifier: License :: OSI Approved :: MIT License
19
+ Classifier: Operating System :: OS Independent
20
+ Classifier: Programming Language :: Python
21
+ Classifier: Programming Language :: Python :: 3
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Typing :: Typed
25
+ Requires-Python: >=3.12
26
+ Requires-Dist: docstring-inheritance<3,>=2
27
+ Requires-Dist: griffe-fieldz<0.4,>=0.3
28
+ Requires-Dist: griffe-generics<2,>=1
29
+ Requires-Dist: griffe-inherited-docstrings<2,>=1
30
+ Requires-Dist: griffe-modernized-annotations<2,>=1
31
+ Requires-Dist: griffe-pydantic<2,>=1
32
+ Requires-Dist: griffe-warnings-deprecated<2,>=1
33
+ Requires-Dist: mdx-truly-sane-lists<2,>=1
34
+ Requires-Dist: mkdocs-api-autonav<0.4,>=0.3
35
+ Requires-Dist: mkdocs-autorefs<2,>=1
36
+ Requires-Dist: mkdocs-git-committers-plugin-2<3,>=2
37
+ Requires-Dist: mkdocs-git-revision-date-localized-plugin<2,>=1
38
+ Requires-Dist: mkdocs-include-markdown-plugin<8,>=7
39
+ Requires-Dist: mkdocs-material[imaging]<10,>=9
40
+ Requires-Dist: mkdocs-section-index<0.4,>=0.3
41
+ Requires-Dist: mkdocs<2,>=1
42
+ Requires-Dist: mkdocstrings[python]<0.31,>=0.30
43
+ Requires-Dist: pymdown-extensions<11,>=10
44
+ Requires-Dist: ruff<0.13,>=0.12
45
+ Description-Content-Type: text/markdown
46
+
47
+ # mkdocs-preset
@@ -0,0 +1 @@
1
+ # mkdocs-preset
@@ -0,0 +1,100 @@
1
+ #:schema https://json.schemastore.org/pyproject.json
2
+ # ref: <https://packaging.python.org/en/latest/specifications/pyproject-toml/>
3
+
4
+ [project]
5
+ name = "liblaf-mkdocs-preset"
6
+ description = "TODO"
7
+ readme = "README.md"
8
+ requires-python = ">=3.12"
9
+ license = "MIT"
10
+ authors = [
11
+ { name = "liblaf", email = "30631553+liblaf@users.noreply.github.com" },
12
+ ]
13
+ keywords = []
14
+ classifiers = [
15
+ # ref: <https://pypi.org/classifiers/>
16
+ "Development Status :: 4 - Beta",
17
+ "Intended Audience :: Developers",
18
+ "License :: OSI Approved",
19
+ "License :: OSI Approved :: MIT License",
20
+ "Operating System :: OS Independent",
21
+ "Programming Language :: Python",
22
+ "Programming Language :: Python :: 3",
23
+ "Programming Language :: Python :: 3.12",
24
+ "Programming Language :: Python :: 3.13",
25
+ "Typing :: Typed",
26
+ ]
27
+ dependencies = [
28
+ "docstring-inheritance>=2,<3",
29
+ "griffe-fieldz>=0.3,<0.4",
30
+ "griffe-generics>=1,<2",
31
+ "griffe-inherited-docstrings>=1,<2",
32
+ "griffe-modernized-annotations>=1,<2",
33
+ "griffe-pydantic>=1,<2",
34
+ "griffe-warnings-deprecated>=1,<2",
35
+ "mdx-truly-sane-lists>=1,<2",
36
+ "mkdocs-api-autonav>=0.3,<0.4",
37
+ "mkdocs-autorefs>=1,<2",
38
+ "mkdocs-git-committers-plugin-2>=2,<3",
39
+ "mkdocs-git-revision-date-localized-plugin>=1,<2",
40
+ "mkdocs-include-markdown-plugin>=7,<8",
41
+ "mkdocs-material[imaging]>=9,<10",
42
+ "mkdocs-section-index>=0.3,<0.4",
43
+ "mkdocs>=1,<2",
44
+ "mkdocstrings[python]>=0.30,<0.31",
45
+ "pymdown-extensions>=10,<11",
46
+ "ruff>=0.12,<0.13",
47
+ ]
48
+ dynamic = ["version"]
49
+
50
+ [project.urls]
51
+ "Changelog" = "https://github.com/liblaf/mkdocs-preset/blob/main/CHANGELOG.md"
52
+ "Documentation" = "https://liblaf.github.io/mkdocs-preset/"
53
+ "Funding" = "https://github.com/liblaf/mkdocs-preset?sponsor=1"
54
+ "Homepage" = "https://github.com/liblaf/mkdocs-preset"
55
+ "Issue Tracker" = "https://github.com/liblaf/mkdocs-preset/issues"
56
+ "Release Notes" = "https://github.com/liblaf/mkdocs-preset/releases"
57
+ "Source Code" = "https://github.com/liblaf/mkdocs-preset"
58
+
59
+ [dependency-groups]
60
+ build = ["check-wheel-contents", "hatch", "twine"]
61
+ dev = ["icecream"]
62
+ docs = []
63
+ test = ["hypothesis", "pytest", "pytest-codspeed", "pytest-cov", "pytest-xdist"]
64
+
65
+ [build-system]
66
+ requires = ["hatch-vcs", "hatchling"]
67
+ build-backend = "hatchling.build"
68
+
69
+ [tool.check-wheel-contents]
70
+ ignore = ["W002"]
71
+
72
+ [tool.coverage.run]
73
+ branch = true
74
+ source = ["src"]
75
+
76
+ [tool.hatch.build.hooks.vcs]
77
+ version-file = "src/liblaf/mkdocs_preset/_version.py"
78
+
79
+ [tool.hatch.build.targets.sdist]
80
+ only-include = ["src"]
81
+
82
+ [tool.hatch.build.targets.wheel]
83
+ packages = ["src/liblaf"]
84
+
85
+ [tool.hatch.version]
86
+ source = "vcs"
87
+
88
+ [tool.pyright]
89
+ exclude = ["**/.*", "**/__pycache__", "**/marimo", "**/node_modules"]
90
+ extends = ".config/linters/pyrightconfig.json"
91
+
92
+ [tool.pytest.ini_options]
93
+ addopts = ["--showlocals", "--strict-config", "--strict-markers"]
94
+ testpaths = ["benches", "tests"]
95
+
96
+ [tool.ruff]
97
+ extend = ".config/linters/.ruff.toml"
98
+
99
+ [tool.uv]
100
+ default-groups = "all"
@@ -0,0 +1,3 @@
1
+ from ._version import __version__, __version_tuple__, version, version_tuple
2
+
3
+ __all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
@@ -0,0 +1,3 @@
1
+ from ._version import __version__, __version_tuple__, version, version_tuple
2
+
3
+ __all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
@@ -0,0 +1,34 @@
1
+ # file generated by setuptools-scm
2
+ # don't change, don't track in version control
3
+
4
+ __all__ = [
5
+ "__version__",
6
+ "__version_tuple__",
7
+ "version",
8
+ "version_tuple",
9
+ "__commit_id__",
10
+ "commit_id",
11
+ ]
12
+
13
+ TYPE_CHECKING = False
14
+ if TYPE_CHECKING:
15
+ from typing import Tuple
16
+ from typing import Union
17
+
18
+ VERSION_TUPLE = Tuple[Union[int, str], ...]
19
+ COMMIT_ID = Union[str, None]
20
+ else:
21
+ VERSION_TUPLE = object
22
+ COMMIT_ID = object
23
+
24
+ version: str
25
+ __version__: str
26
+ __version_tuple__: VERSION_TUPLE
27
+ version_tuple: VERSION_TUPLE
28
+ commit_id: COMMIT_ID
29
+ __commit_id__: COMMIT_ID
30
+
31
+ __version__ = version = '0.1.0'
32
+ __version_tuple__ = version_tuple = (0, 1, 0)
33
+
34
+ __commit_id__ = commit_id = None
@@ -0,0 +1,8 @@
1
+ # This file is @generated by <https://github.com/liblaf/copier-python>.
2
+ # DO NOT EDIT!
3
+
4
+ # ref: <https://github.com/ofek/hatch-vcs>
5
+ __version__: str
6
+ __version_tuple__: tuple[int | str, ...]
7
+ version_tuple: tuple[int | str, ...]
8
+ version: str