afterpython 0.3.12__py3-none-any.whl → 0.3.13__py3-none-any.whl

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/tools/myst.py CHANGED
@@ -152,33 +152,6 @@ def _write_index_file(content_type: tContentType):
152
152
  return index_file
153
153
 
154
154
 
155
- def _write_welcome_file(content_type: tContentType):
156
- welcome_file = ap.paths.afterpython_path / content_type / "index.md"
157
- if welcome_file.exists():
158
- return
159
- welcome_content = f"""# Welcome to AfterPython
160
-
161
- Welcome to your project's {content_type}! This is a starter page to help you get started.
162
-
163
- ## Getting Started
164
-
165
- Replace this placeholder content with your own. Here's what you can do:
166
-
167
- - Creating new `.md` or `.ipynb` files in the `afterpython/{content_type}/` directory
168
- - Writing in MyST Markdown format
169
- - Adding images to the `afterpython/static/` directory and referencing them
170
-
171
- ## Resources
172
-
173
- - [AfterPython's Project Website](https://afterpython.afterpython.org)
174
- - [MyST Markdown Guide](https://mystmd.org)
175
-
176
- Start building your amazing project! 🚀
177
- """
178
- welcome_file.write_text(welcome_content)
179
- return welcome_file
180
-
181
-
182
155
  def ensure_pnpm_11(node_env: NodeEnv) -> None:
183
156
  """Ensure pnpm 11.x is available on `node_env`'s PATH. No-op if already satisfied.
184
157
 
@@ -268,5 +241,4 @@ def init_myst():
268
241
  },
269
242
  }
270
243
  update_myst_yml(myst_yml_defaults, path, add_comments=True)
271
- _write_welcome_file(content_type)
272
244
  subprocess.run(["ap", "sync"])
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: afterpython
3
- Version: 0.3.12
3
+ Version: 0.3.13
4
4
  Summary: CLI tool to streamline Python package maintenance and generate a dedicated project website
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
@@ -54,12 +54,12 @@ afterpython/tools/_git.py,sha256=aO-qDEQ4OevD_B74DYKK4nQKYeiaS1BXmYc8paJRfbQ,377
54
54
  afterpython/tools/branch_rules.py,sha256=ciQ2H2YBnoCZu_plyVeIHzf2FcAILRFhpjzOR2_IfJg,3159
55
55
  afterpython/tools/commitizen.py,sha256=ZO1qHmzUU0myd85tncv76WtIR7DB_AoQGSUvaf78Ohg,438
56
56
  afterpython/tools/github_actions.py,sha256=0xzOc41QF1PKagD1CW7BAt_Rugy0KCEx_KfcrPKVl3c,3168
57
- afterpython/tools/myst.py,sha256=Uy_9i1HDwKz4In6MwwtbJ15SOAdITns-oqEdjjdqIzY,10292
57
+ afterpython/tools/myst.py,sha256=c8M7QohKfdIQ0ckUZEhvrs0rQHTikIxvM190nFqYY9o,9399
58
58
  afterpython/tools/pre_commit.py,sha256=oNsrUkPI13rSSBSyhyTTKPnQGhDxLIPYhxu6kL0fDmo,1206
59
59
  afterpython/tools/pyproject.py,sha256=hz-DOf-pkGBF2m_RqEZipAaO-NDbsLxrrc65LWAIwLA,3698
60
60
  afterpython/utils.py,sha256=fVa3jIzCvhn7QA7N0M6d_pvojpPFrN-hae8trUYhPKU,11701
61
61
  afterpython/version.py,sha256=hihRV1S-gc1m46OaXD32ikkEkqzs-Gtq7AcAqOQV-wY,1603
62
- afterpython-0.3.12.dist-info/WHEEL,sha256=f5fWSvWsg5Knq5GWa6t1nJIug0Tqo69GqAWD_9LbBKw,81
63
- afterpython-0.3.12.dist-info/entry_points.txt,sha256=roa0PDgBueM1JPbRG0G2OSxzaN394OUL_oS9iEwVLBc,80
64
- afterpython-0.3.12.dist-info/METADATA,sha256=jhlC71l1HC-nyPgHte9ohewUR5gQsMK795ZY5aSL5Vk,6181
65
- afterpython-0.3.12.dist-info/RECORD,,
62
+ afterpython-0.3.13.dist-info/WHEEL,sha256=f5fWSvWsg5Knq5GWa6t1nJIug0Tqo69GqAWD_9LbBKw,81
63
+ afterpython-0.3.13.dist-info/entry_points.txt,sha256=roa0PDgBueM1JPbRG0G2OSxzaN394OUL_oS9iEwVLBc,80
64
+ afterpython-0.3.13.dist-info/METADATA,sha256=vVUkxOLCRlm73sJc68sccHYcoIptoUdNpniolqYfKVs,6181
65
+ afterpython-0.3.13.dist-info/RECORD,,