Simplify docs preprocessing (#30947)

Closes #ISSUE

This was done as part of experimental work towards better validation of
our docs. The validation ended up being not worth it, however, I believe
this refactoring is

Release Notes:

- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
Ben Kunkle
2025-05-19 08:16:14 -04:00
committed by GitHub
parent 57424e4743
commit b057b4697f
7 changed files with 110 additions and 229 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ This will render a human-readable version of the action name, e.g., "zed: open s
### Creating New Templates
New templates can be created by implementing the `Template` trait for your desired template in the `docs_preprocessor` crate.
Templates are just functions that modify the source of the docs pages (usually with a regex match & replace). You can see how the actions and keybindings are templated in `crates/docs_preprocessor/src/main.rs` for reference on how to create new templates.
### References