Commit 4c9e9b5
authored
Integrate HTML stripping into doc-builder (#684)
* Integrate HTML stripping into doc-builder
- Add HTML stripping functions to src/doc_builder/utils.py
- Strip HTML when writing final markdown files (in write_markdown_route_file)
- Add standalone script src/scripts/strip_html_from_md.py for manual use
- Add README_strip_html.md with documentation
HTML stripping now happens automatically during the build process when creating
SvelteKit markdown routes (+page.md files), removing docstring HTML tags and
converting them to clean markdown with proper formatting.
* Remove HTML stripping workflow steps
HTML stripping is now integrated into the build process itself
(in write_markdown_route_file), so separate workflow steps are not needed.
* Remove standalone script and README
HTML stripping is now fully integrated into doc_builder/utils.py,
so the standalone script and its documentation are no longer needed.1 parent aff17e5 commit 4c9e9b5
File tree
5 files changed
+261
-457
lines changed- .github/workflows
- src
- doc_builder
- scripts
5 files changed
+261
-457
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | 237 | | |
245 | 238 | | |
246 | 239 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | 222 | | |
230 | 223 | | |
231 | 224 | | |
| |||
This file was deleted.
0 commit comments