aboutsummaryrefslogtreecommitdiff
path: root/docs-rs/README.md
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-12-15 13:53:46 +0930
committermat <git@matdoes.dev>2025-12-15 13:53:46 +0930
commitaab9f56da20a36347fe31557377e07a47c114dc6 (patch)
tree15c81634d92eed995a85a65b05584ae216207163 /docs-rs/README.md
parent9745766cff8907e6c6bb87b4ab852acaeadd6ef9 (diff)
downloadazalea-drasl-aab9f56da20a36347fe31557377e07a47c114dc6.tar.xz
improve docs by enabling scraped examples and bevy trait tags
Diffstat (limited to 'docs-rs/README.md')
-rw-r--r--docs-rs/README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs-rs/README.md b/docs-rs/README.md
new file mode 100644
index 00000000..3be1087a
--- /dev/null
+++ b/docs-rs/README.md
@@ -0,0 +1,17 @@
+## Docs.rs Extensions
+
+This directory includes some templates and styling to extend and modify [rustdoc]'s output
+for Azalea's documentation on [docs.rs].
+
+See [Bevy's documentation](https://github.com/bevyengine/bevy/tree/main/docs-rs) for more info.
+
+## Local Testing
+
+Build the documentation with the extension enabled like this:
+
+```bash
+RUSTDOCFLAGS="--html-after-content docs-rs/trait-tags.html --cfg docsrs_dep" RUSTFLAGS="--cfg docsrs_dep" cargo doc --no-deps --package <package_name>
+```
+
+[rustdoc]: https://doc.rust-lang.org/rustdoc/what-is-rustdoc.html
+[docs.rs]: https://docs.rs