summaryrefslogtreecommitdiffstats
path: root/.github/workflows/slash-command-dispatch.yml
diff options
context:
space:
mode:
authoraidanfnv <aidanf@nvidia.com>2025-05-14 09:41:59 -0700
committerGitHub <noreply@github.com>2025-05-14 09:41:59 -0700
commit39c9e25f6d728e970b68a9452330e754991b4ac5 (patch)
tree0b98584df3c47700b1cc0332097ffaa7b24e73e2 /.github/workflows/slash-command-dispatch.yml
parent09d7e134de70a5de5f6d2bf4e099fcdbdefc9500 (diff)
Make Command Line Reference readthedocs compatible (#7048)
This change modifies the code that generates the Command Line Reference doc to output H2 headings in place of H1 headings, and H3 in place of existing H2, so that readthedocs will not treat the additional H1 headings as titles. This change also regenerates the Command Line Reference doc, as the current copy in the repo appears to be quite out-of-date. The existing copy is also encoded as UTF-16LE, whereas the other docs are all UTF-8. The regenerated doc is also UTF-8, and all I did to generate that was run slangc.exe -help-style markdown -h > docs\command-line-slangc-reference.md 2>&1 after building slangc on Windows. This change also adds GitHub actions workflows to check the contents of the doc, fail if a regenerated version needs to be checked in, and provide an option to regenerate it with a bot, all in a similar manner to User Guide TOC regeneration. The doc writer was producing different results from my local build until I changed how the writer sorts the shader stages. In the action, the order of pixel and fragment was reversed, despite the only difference from my local build being the OS. --------- Co-authored-by: slangbot <ellieh+slangbot@nvidia.com> Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Diffstat (limited to '.github/workflows/slash-command-dispatch.yml')
-rw-r--r--.github/workflows/slash-command-dispatch.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/slash-command-dispatch.yml b/.github/workflows/slash-command-dispatch.yml
index 0295e7240..5d54da511 100644
--- a/.github/workflows/slash-command-dispatch.yml
+++ b/.github/workflows/slash-command-dispatch.yml
@@ -24,6 +24,11 @@ jobs:
"command": "regenerate-toc",
"permission": "none",
"issue_type": "pull-request"
+ },
+ {
+ "command": "regenerate-cmdline-ref",
+ "permission": "none",
+ "issue_type": "pull-request"
}
]