afterpython 0.1.0.dev6__tar.gz → 0.1.0.dev7__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.
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/PKG-INFO +10 -1
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/README.md +9 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/builders/metadata.py +1 -1
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/cli/commands/sync.py +14 -9
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/tools/myst.py +1 -1
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/pyproject.toml +1 -1
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/.pre-commit-config.yaml +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/__init__.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/_io/toml.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/_io/yaml.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/_paths.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/_typing.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/builders/__init__.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/builders/molab.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/cli/__init__.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/cli/commands/build.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/cli/commands/bump.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/cli/commands/check.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/cli/commands/clean.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/cli/commands/commit.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/cli/commands/commitizen.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/cli/commands/dev.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/cli/commands/format.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/cli/commands/init.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/cli/commands/install.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/cli/commands/pre_commit.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/cli/commands/preview.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/cli/commands/release.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/cli/commands/start.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/cli/commands/update.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/cli/main.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/const.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/cz.toml +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/main.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/pcu.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/templates/deploy-workflow-template.yml +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/templates/release-workflow-template.yml +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/templates/ruff-template.toml +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/tools/_afterpython.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/tools/_git.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/tools/commitizen.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/tools/github_actions.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/tools/pre_commit.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/tools/pyproject.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/utils.py +0 -0
- {afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: afterpython
|
|
3
|
-
Version: 0.1.0.
|
|
3
|
+
Version: 0.1.0.dev7
|
|
4
4
|
Summary: CLI tool for AfterPython
|
|
5
5
|
Keywords: package-maintenance,project-website,static-site-generator,developer-tools,documentation,cli-tool,ci/cd,mystmd,semantic-release,python-packaging
|
|
6
6
|
Author: Stephen Yau
|
|
@@ -82,7 +82,16 @@ First-time maintainers must learn multiple tools and concepts, e.g. [MyST], [Sem
|
|
|
82
82
|
- [ ] **⚡ Full-text search** across **ALL** your content in your website — docs, blogs, tutorials, everything
|
|
83
83
|
- [ ] **🤖 Embedded AI Chatbot** that answers questions directly using an in-browser LLM — at no cost
|
|
84
84
|
|
|
85
|
+
---
|
|
86
|
+
## Project Website
|
|
87
|
+
> The project website for `afterpython` is created using `afterpython` itself. See the [**website**](https://afterpython.afterpython.org).
|
|
88
|
+
<picture>
|
|
89
|
+
<source media="(prefers-color-scheme: dark)" srcset="afterpython/static/website-dark.png">
|
|
90
|
+
<source media="(prefers-color-scheme: light)" srcset="afterpython/static/website-light.png">
|
|
91
|
+
<img alt="Project Website" src="afterpython/static/website-light.png">
|
|
92
|
+
</picture>
|
|
85
93
|
|
|
94
|
+
---
|
|
86
95
|
## Installation
|
|
87
96
|
```bash
|
|
88
97
|
# install afterpython as a dev dependency
|
|
@@ -46,7 +46,16 @@ First-time maintainers must learn multiple tools and concepts, e.g. [MyST], [Sem
|
|
|
46
46
|
- [ ] **⚡ Full-text search** across **ALL** your content in your website — docs, blogs, tutorials, everything
|
|
47
47
|
- [ ] **🤖 Embedded AI Chatbot** that answers questions directly using an in-browser LLM — at no cost
|
|
48
48
|
|
|
49
|
+
---
|
|
50
|
+
## Project Website
|
|
51
|
+
> The project website for `afterpython` is created using `afterpython` itself. See the [**website**](https://afterpython.afterpython.org).
|
|
52
|
+
<picture>
|
|
53
|
+
<source media="(prefers-color-scheme: dark)" srcset="afterpython/static/website-dark.png">
|
|
54
|
+
<source media="(prefers-color-scheme: light)" srcset="afterpython/static/website-light.png">
|
|
55
|
+
<img alt="Project Website" src="afterpython/static/website-light.png">
|
|
56
|
+
</picture>
|
|
49
57
|
|
|
58
|
+
---
|
|
50
59
|
## Installation
|
|
51
60
|
```bash
|
|
52
61
|
# install afterpython as a dev dependency
|
|
@@ -23,7 +23,7 @@ def convert_paths():
|
|
|
23
23
|
markdown_text = metadata["description"]
|
|
24
24
|
|
|
25
25
|
# Replace with the correct paths
|
|
26
|
-
updated_markdown = markdown_text.replace("
|
|
26
|
+
updated_markdown = markdown_text.replace("afterpython/static/", "/")
|
|
27
27
|
|
|
28
28
|
# Write back to metadata.json
|
|
29
29
|
metadata["description"] = updated_markdown
|
|
@@ -55,15 +55,20 @@ def sync():
|
|
|
55
55
|
company_url = str(_from_tomlkit(afterpython["company"]).get("url", ""))
|
|
56
56
|
website_url = str(_from_tomlkit(afterpython["website"]).get("url", ""))
|
|
57
57
|
authors = pyproject.authors
|
|
58
|
-
|
|
59
|
-
{
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
58
|
+
if company_name and company_url:
|
|
59
|
+
nav_bar = [{"title": company_name, "url": company_url}]
|
|
60
|
+
else:
|
|
61
|
+
nav_bar = []
|
|
62
|
+
if website_url:
|
|
63
|
+
nav_bar.extend(
|
|
64
|
+
[
|
|
65
|
+
{
|
|
66
|
+
"title": content_type.capitalize() + "s",
|
|
67
|
+
"url": f"{website_url}/{content_type}",
|
|
68
|
+
}
|
|
69
|
+
for content_type in CONTENT_TYPES
|
|
70
|
+
]
|
|
71
|
+
)
|
|
67
72
|
|
|
68
73
|
_sync_authors_yml(authors)
|
|
69
74
|
|
|
@@ -154,7 +154,7 @@ def init_myst():
|
|
|
154
154
|
},
|
|
155
155
|
"site": {
|
|
156
156
|
"options": {
|
|
157
|
-
"favicon": "../static/favicon.
|
|
157
|
+
"favicon": "../static/favicon.svg",
|
|
158
158
|
"logo": "../static/logo.svg",
|
|
159
159
|
"logo_dark": "../static/logo.svg",
|
|
160
160
|
"analytics_google": "{{ GOOGLE_ANALYTICS_ID }}",
|
|
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
|
{afterpython-0.1.0.dev6 → afterpython-0.1.0.dev7}/afterpython/templates/deploy-workflow-template.yml
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
|