File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,33 +152,6 @@ def _write_index_file(content_type: tContentType):
152152 return index_file
153153
154154
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-
182155def ensure_pnpm_11 (node_env : NodeEnv ) -> None :
183156 """Ensure pnpm 11.x is available on `node_env`'s PATH. No-op if already satisfied.
184157
@@ -268,5 +241,4 @@ def init_myst():
268241 },
269242 }
270243 update_myst_yml (myst_yml_defaults , path , add_comments = True )
271- _write_welcome_file (content_type )
272244 subprocess .run (["ap" , "sync" ])
You can’t perform that action at this time.
0 commit comments