markitecture 0.2.2__tar.gz → 0.2.31__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {markitecture-0.2.2 → markitecture-0.2.31}/Makefile +47 -42
- {markitecture-0.2.2 → markitecture-0.2.31}/PKG-INFO +13 -4
- {markitecture-0.2.2 → markitecture-0.2.31}/README.md +12 -3
- {markitecture-0.2.2 → markitecture-0.2.31}/pyproject.toml +4 -8
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/__init__.py +1 -4
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/errors.py +9 -3
- markitecture-0.2.31/src/markitecture/version.py +1 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/.gitignore +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/.ruff.toml +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/CONTRIBUTING.md +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/LICENSE +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/assets/badges/compact.svg +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/assets/badges/detailed.svg +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/assets/badges/minimal.svg +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/assets/badges/modern.svg +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/assets/badges/retro.svg +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/assets/badges/shields.svg +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/assets/buttons/rectangle.svg +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/assets/buttons/vesica-piscis.svg +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/assets/callouts/designs.svg +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/assets/callouts/info.svg +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/assets/cookbooks/examples.mdx +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/assets/favicon.svg +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/assets/line.svg +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/assets/logos/circle-dark.svg +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/assets/logos/circle-light.svg +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/assets/logos/logo-box.svg +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/assets/logos/logo-rectangle.svg +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/assets/logos/logo.svg +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/assets/shield.svg +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/community.mdx +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/features/content-analysis.mdx +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/features/health-score.mdx +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/features/link-management.mdx +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/features/static-site-generation.mdx +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/features/text-splitting.mdx +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/guides/api-reference.mdx +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/guides/cli-reference.mdx +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/guides/configuration.mdx +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/guides/installation.mdx +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/guides/quickstart.mdx +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/index.mdx +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/mint.json +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/docs/philosophy.mdx +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/__main__.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/cli/__init__.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/cli/app.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/cli/commands/__init__.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/cli/commands/config.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/cli/commands/links.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/cli/commands/metrics.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/cli/commands/mkdocs.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/cli/commands/split.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/generators/__init__.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/generators/configs/__init__.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/generators/configs/mintlify_json.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/generators/configs/mkdocs_yaml.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/metrics/__init__.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/metrics/analyzer.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/metrics/badges/__init__.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/metrics/badges/base.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/metrics/badges/compact.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/metrics/badges/detailed.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/metrics/badges/minimal.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/metrics/badges/modern.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/metrics/badges/retro.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/metrics/badges/shields.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/metrics/svg_generator.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/processing/__init__.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/processing/link_validator.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/processing/reflink_converter.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/processing/reflink_extractor.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/processing/text_splitter.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/settings/__init__.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/settings/config.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/settings/validators.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/utils/__init__.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/utils/file_handler.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/utils/printer.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/utils/sanitizer.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/tests/__init__.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/tests/cli/__init__.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/tests/cli/commands/__init__.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/tests/cli/test_app.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/tests/conftest.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/tests/data/mistletoe.md +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/tests/data/pydantic.md +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/tests/data/readme-ai.html +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/tests/data/readme-ai.md +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/tests/generators/__init__.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/tests/metrics/__init__.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/tests/metrics/test_analyzer.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/tests/metrics/test_svg_generator.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/tests/processing/__init__.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/tests/processing/test_link_validator.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/tests/processing/test_reflink_converter.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/tests/settings/__init__.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/tests/settings/test_validators.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/tests/test_validators.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/tests/utils/__init__.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/tests/utils/test_sanitizer.py +0 -0
- {markitecture-0.2.2 → markitecture-0.2.31}/uv.lock +0 -0
@@ -7,17 +7,40 @@ MAKEFLAGS += --no-builtin-rules
|
|
7
7
|
|
8
8
|
DOCS_DIR := docs
|
9
9
|
PYPROJECT_TOML := pyproject.toml
|
10
|
-
PYPI_VERSION := 0.2.
|
10
|
+
PYPI_VERSION := 0.2.31
|
11
11
|
PYTHON_VERSION := 3.11
|
12
12
|
TARGET := src/markitecture
|
13
13
|
TARGET_TEST := tests
|
14
|
-
TEST_DATA := tests/data/readme-ai.md
|
15
14
|
|
15
|
+
# -------------------------
|
16
|
+
# Repository Cleanup
|
17
|
+
# -------------------------
|
18
|
+
|
19
|
+
clean: clean-build clean-pyc clean-test ## Remove all build, test, coverage, and Python artifacts
|
20
|
+
|
21
|
+
clean-build: ## Remove build artifacts
|
22
|
+
rm -fr build/
|
23
|
+
rm -fr dist/
|
24
|
+
rm -fr .eggs/
|
25
|
+
find . -name '*.egg-info' -exec rm -fr {} +
|
26
|
+
find . -name '*.egg' -exec rm -f {} +
|
27
|
+
|
28
|
+
clean-pyc: ## Remove Python file artifacts
|
29
|
+
find . -name '*.pyc' -exec rm -f {} +
|
30
|
+
find . -name '*.pyo' -exec rm -f {} +
|
31
|
+
find . -name '*~' -exec rm -f {} +
|
32
|
+
find . -name '__pycache__' -exec rm -fr {} +
|
33
|
+
|
34
|
+
clean-test: ## Remove test and coverage artifacts
|
35
|
+
rm -fr .tox/
|
36
|
+
rm -f .coverage
|
37
|
+
rm -fr htmlcov/
|
38
|
+
rm -fr .pytest_cache
|
16
39
|
|
17
|
-
# -------------------------------------------------------------------
|
18
|
-
# Build: Build the distribution package using uv
|
19
|
-
# -------------------------------------------------------------------
|
20
40
|
|
41
|
+
# -------------------------
|
42
|
+
# Development Environment
|
43
|
+
# -------------------------
|
21
44
|
|
22
45
|
.PHONY: build
|
23
46
|
build: ## Build the distribution package using uv
|
@@ -50,18 +73,18 @@ venv: ## Create a virtual environment
|
|
50
73
|
uv venv --python $(PYTHON_VERSION)
|
51
74
|
|
52
75
|
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
76
|
+
# -------------------------
|
77
|
+
# Documentation
|
78
|
+
# -------------------------
|
56
79
|
|
57
80
|
.PHONY: docs
|
58
81
|
docs: ## Serve mintlify documentation locally
|
59
82
|
cd $(DOCS_DIR) && npx mintlify dev --verbose
|
60
83
|
|
61
84
|
|
62
|
-
#
|
63
|
-
# Format & Lint
|
64
|
-
#
|
85
|
+
# -------------------------
|
86
|
+
# Format & Lint
|
87
|
+
# -------------------------
|
65
88
|
|
66
89
|
|
67
90
|
.PHONY: format-toml
|
@@ -90,20 +113,20 @@ typecheck-pyright: ## Type-check Python files using Pyright
|
|
90
113
|
uv run pyright $(TARGET)
|
91
114
|
|
92
115
|
|
93
|
-
#
|
94
|
-
# Tests
|
95
|
-
#
|
96
|
-
|
116
|
+
# -------------------------
|
117
|
+
# Tests
|
118
|
+
# -------------------------
|
97
119
|
|
98
120
|
.PHONY: test
|
99
121
|
test: ## Run test suite using Pytest
|
100
122
|
uv run pytest $(TARGET_TEST) --config-file $(PYPROJECT_TOML)
|
101
123
|
|
102
124
|
|
103
|
-
#
|
104
|
-
#
|
105
|
-
#
|
125
|
+
# -------------------------
|
126
|
+
# CLI Batch Testing
|
127
|
+
# -------------------------
|
106
128
|
|
129
|
+
TEST_DATA := tests/data/readme-ai.md
|
107
130
|
|
108
131
|
.PHONY: run-examples
|
109
132
|
run-examples: ## Run examples for documentation and testing
|
@@ -131,34 +154,16 @@ run-pypi: ## Run examples for documentation
|
|
131
154
|
uvx --from markitecture markitect --split.i $(TEST_DATA) --split.o examples/text-splitter/pypi/header-3/ --split.level "###"
|
132
155
|
uvx --from markitecture markitect --split.i $(TEST_DATA) --split.o examples/text-splitter/pypi/header-4/ --split.level "####"
|
133
156
|
uvx --from markitecture markitect --reflinks.i tests/data/pydantic.md --reflinks.o examples/reference-links/reflinks_conversion.md
|
157
|
+
uvx --from markitecture --isolated markitect --metrics.input $HOME/Projects/GitHub/readme-ai/README.md --metrics.style all --metrics.output-dir markitet_badges
|
134
158
|
|
135
159
|
|
136
|
-
#
|
137
|
-
# Utils
|
138
|
-
#
|
139
|
-
|
140
|
-
|
141
|
-
clean: clean-build clean-pyc clean-test ## remove all build, test, coverage and Python artifacts
|
142
|
-
|
143
|
-
clean-build: ## remove build artifacts
|
144
|
-
rm -fr build/
|
145
|
-
rm -fr dist/
|
146
|
-
rm -fr .eggs/
|
147
|
-
rm -fr .venv/
|
148
|
-
find . -name '*.egg-info' -exec rm -fr {} +
|
149
|
-
find . -name '*.egg' -exec rm -f {} +
|
160
|
+
# -------------------------
|
161
|
+
# Utils
|
162
|
+
# -------------------------
|
150
163
|
|
151
|
-
|
152
|
-
|
153
|
-
find . -name '*.pyo' -exec rm -f {} +
|
154
|
-
find . -name '*~' -exec rm -f {} +
|
155
|
-
find . -name '__pycache__' -exec rm -fr {} +
|
164
|
+
bump-version:
|
165
|
+
python scripts/bump_version.py src/markitecture/version.py patch
|
156
166
|
|
157
|
-
clean-test: ## remove test and coverage artifacts
|
158
|
-
rm -fr .tox/
|
159
|
-
rm -f .coverage
|
160
|
-
rm -fr htmlcov/
|
161
|
-
rm -fr .pytest_cache
|
162
167
|
|
163
168
|
.PHONY: help
|
164
169
|
help: ## Display this help
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: markitecture
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.31
|
4
4
|
Summary: ❂ Markdown tools for modular and flexible docs: link validation, reference link conversion, text splitting, & more.
|
5
5
|
Project-URL: documentation, https://github.com/eli64s/markitecture/blob/main/README.md
|
6
6
|
Project-URL: homepage, https://github.com/eli64s/markitecture
|
@@ -43,7 +43,7 @@ Description-Content-Type: text/markdown
|
|
43
43
|
</picture>
|
44
44
|
|
45
45
|
<h3 align="center">
|
46
|
-
|
46
|
+
The Architecture of Better Documentation.
|
47
47
|
</h3>
|
48
48
|
<p align="center">
|
49
49
|
<em>Markitecture: The Python toolkit that empowers modular Markdown workflows.</em>
|
@@ -239,11 +239,17 @@ Contributions are welcome! Whether it's bug reports, feature requests, or code c
|
|
239
239
|
Copyright © 2024-2025 [Markitecture][markitecture]. <br />
|
240
240
|
Released under the [MIT][mit-license] license.
|
241
241
|
|
242
|
-
<div align="
|
242
|
+
<div align="right">
|
243
|
+
|
244
|
+
[![][back-to-top]](https://github.com/eli64s/markitecture/tree/main/#top)
|
245
|
+
|
246
|
+
</div>
|
247
|
+
|
248
|
+
<!-- <div align="left">
|
243
249
|
<a href="#top">
|
244
250
|
<img src="https://raw.githubusercontent.com/eli64s/markitecture/77bec69129dd3a075d7d0816c7bd826da131ccc7/docs/assets/buttons/rectangle.svg" width="100px" height="100px" alt="Return to Top">
|
245
251
|
</a>
|
246
|
-
</div>
|
252
|
+
</div> -->
|
247
253
|
|
248
254
|
<div align="center">
|
249
255
|
<img src="https://raw.githubusercontent.com/eli64s/markitecture/216a92894e6f30c707a214fad5a5fba417e3bc39/docs/assets/line.svg" alt="separator" width="100%" height="2px" style="margin: 20px 0;">
|
@@ -252,6 +258,9 @@ Released under the [MIT][mit-license] license.
|
|
252
258
|
|
253
259
|
<!-- REFERENCE LINKS -->
|
254
260
|
|
261
|
+
<!-- BADGES -->
|
262
|
+
[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-7934C5?style=flat-square
|
263
|
+
|
255
264
|
<!-- PROJECT RESOURCES -->
|
256
265
|
[pypi]: https://pypi.org/project/markitecture/
|
257
266
|
[markitecture]: https://github.com/eli64s/markitecture
|
@@ -8,7 +8,7 @@
|
|
8
8
|
</picture>
|
9
9
|
|
10
10
|
<h3 align="center">
|
11
|
-
|
11
|
+
The Architecture of Better Documentation.
|
12
12
|
</h3>
|
13
13
|
<p align="center">
|
14
14
|
<em>Markitecture: The Python toolkit that empowers modular Markdown workflows.</em>
|
@@ -204,11 +204,17 @@ Contributions are welcome! Whether it's bug reports, feature requests, or code c
|
|
204
204
|
Copyright © 2024-2025 [Markitecture][markitecture]. <br />
|
205
205
|
Released under the [MIT][mit-license] license.
|
206
206
|
|
207
|
-
<div align="
|
207
|
+
<div align="right">
|
208
|
+
|
209
|
+
[![][back-to-top]](#top)
|
210
|
+
|
211
|
+
</div>
|
212
|
+
|
213
|
+
<!-- <div align="left">
|
208
214
|
<a href="#top">
|
209
215
|
<img src="https://raw.githubusercontent.com/eli64s/markitecture/77bec69129dd3a075d7d0816c7bd826da131ccc7/docs/assets/buttons/rectangle.svg" width="100px" height="100px" alt="Return to Top">
|
210
216
|
</a>
|
211
|
-
</div>
|
217
|
+
</div> -->
|
212
218
|
|
213
219
|
<div align="center">
|
214
220
|
<img src="https://raw.githubusercontent.com/eli64s/markitecture/216a92894e6f30c707a214fad5a5fba417e3bc39/docs/assets/line.svg" alt="separator" width="100%" height="2px" style="margin: 20px 0;">
|
@@ -217,6 +223,9 @@ Released under the [MIT][mit-license] license.
|
|
217
223
|
|
218
224
|
<!-- REFERENCE LINKS -->
|
219
225
|
|
226
|
+
<!-- BADGES -->
|
227
|
+
[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-7934C5?style=flat-square
|
228
|
+
|
220
229
|
<!-- PROJECT RESOURCES -->
|
221
230
|
[pypi]: https://pypi.org/project/markitecture/
|
222
231
|
[markitecture]: https://github.com/eli64s/markitecture
|
@@ -4,9 +4,8 @@ requires = [ "hatch-fancy-pypi-readme", "hatchling" ]
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "markitecture"
|
7
|
-
version = "0.2.2"
|
8
7
|
description = "❂ Markdown tools for modular and flexible docs: link validation, reference link conversion, text splitting, & more."
|
9
|
-
dynamic = ["readme"]
|
8
|
+
dynamic = ["readme", "version"]
|
10
9
|
keywords = [
|
11
10
|
"automated-markdown",
|
12
11
|
"content-management",
|
@@ -107,7 +106,7 @@ include = [
|
|
107
106
|
]
|
108
107
|
|
109
108
|
[tool.hatch.version]
|
110
|
-
path = 'src/markitecture/
|
109
|
+
path = 'src/markitecture/version.py'
|
111
110
|
|
112
111
|
[tool.hatch.metadata]
|
113
112
|
allow-direct-references = true
|
@@ -127,16 +126,13 @@ path = "README.md"
|
|
127
126
|
[tool.pytest.ini_options]
|
128
127
|
addopts = [
|
129
128
|
"-vv",
|
130
|
-
"-
|
131
|
-
"--tb=short",
|
129
|
+
"-n=auto",
|
132
130
|
"--durations=5",
|
133
131
|
"--cov=src/",
|
134
132
|
"--cov-branch",
|
135
|
-
"--cov-fail-under=
|
133
|
+
"--cov-fail-under=0",
|
136
134
|
"--cov-report=term-missing:skip-covered",
|
137
135
|
"--cov-report=json:tests/.reports/coverage.json",
|
138
|
-
"--asyncio-mode=auto",
|
139
|
-
"--numprocesses=auto",
|
140
136
|
]
|
141
137
|
asyncio_default_fixture_loop_scope = "function"
|
142
138
|
asyncio_mode = "auto"
|
@@ -1,5 +1,3 @@
|
|
1
|
-
from importlib.metadata import version
|
2
|
-
|
3
1
|
from markitecture import metrics
|
4
2
|
|
5
3
|
from .errors import (
|
@@ -19,8 +17,7 @@ from .processing.reflink_converter import (
|
|
19
17
|
from .processing.text_splitter import MarkdownTextSplitter
|
20
18
|
from .utils.file_handler import FileHandler
|
21
19
|
from .utils.printer import RichPrinter
|
22
|
-
|
23
|
-
__version__ = version("markitecture")
|
20
|
+
from .version import __version__
|
24
21
|
|
25
22
|
__all__: list[str] = [
|
26
23
|
"FileHandler",
|
@@ -4,7 +4,9 @@ from __future__ import annotations
|
|
4
4
|
|
5
5
|
from typing import Any
|
6
6
|
|
7
|
-
#
|
7
|
+
# -------------------------------------------------------------------
|
8
|
+
# Base Exceptions
|
9
|
+
# -------------------------------------------------------------------
|
8
10
|
|
9
11
|
|
10
12
|
class MarkitectureBaseError(Exception):
|
@@ -25,7 +27,9 @@ class FileOperationError(MarkitectureBaseError):
|
|
25
27
|
...
|
26
28
|
|
27
29
|
|
28
|
-
#
|
30
|
+
# -------------------------------------------------------------------
|
31
|
+
# Command-Line Interface (CLI) Exceptions
|
32
|
+
# -------------------------------------------------------------------
|
29
33
|
|
30
34
|
|
31
35
|
class CLIError(MarkitectureBaseError):
|
@@ -35,7 +39,9 @@ class CLIError(MarkitectureBaseError):
|
|
35
39
|
super().__init__(f"Invalid option provided to CLI: {message}", *args)
|
36
40
|
|
37
41
|
|
38
|
-
#
|
42
|
+
# -------------------------------------------------------------------
|
43
|
+
# File System Exceptions
|
44
|
+
# -------------------------------------------------------------------
|
39
45
|
|
40
46
|
|
41
47
|
class FileSystemError(MarkitectureBaseError):
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "0.2.31"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/generators/configs/mintlify_json.py
RENAMED
File without changes
|
{markitecture-0.2.2 → markitecture-0.2.31}/src/markitecture/generators/configs/mkdocs_yaml.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|