Commit 477a5ae
Reuse
Summary:
# This diff stack
Separate the rules at https://buck2.build/docs/prelude/globals/ into separate pages. Each page will have it's own page. With such change it will be more clean and it will be faster to open the page.
# This diff
This diff reuse `write_docs_to_subdir` to generate to docs, with such change, we can generate seperate pages for each rule. (Will do this in later diff)
This diff also handles the case where `name` is empty when generating documentation in `write_docs_to_subdir`. Previously, this would result in a meaningless empty `# ` line in the generated documentation.
Reviewed By: JakobDegen
Differential Revision: D73931901
fbshipit-source-id: 8601b922c5527a03a8725784881e359e9b5e1eb6write_docs_to_subdir to generate to docs1 parent 298a993 commit 477a5ae
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
184 | 190 | | |
185 | 191 | | |
186 | 192 | | |
| |||
0 commit comments