summaryrefslogtreecommitdiffstats
path: root/docs/user-guide/09-reflection.md
diff options
context:
space:
mode:
authoraidanfnv <aidanf@nvidia.com>2025-05-08 10:00:49 -0700
committerGitHub <noreply@github.com>2025-05-08 17:00:49 +0000
commit2b8152110b9a41672dd4dd5f528aa23caa8e88a3 (patch)
treea2f3741e35ed832117394edf3cf8e64fee4777ca /docs/user-guide/09-reflection.md
parent09c13a3f5829a77408b825a179168323a410e08a (diff)
Fix broken links in Slang docs (#7039)
This change fixes some broken links/anchors in the Slang docs that I found after running a link checker tool on the readthedocs site. Some of these were broken on GitHub Pages as well, such as anchors with apostrophes or docs that were moved. The doc writer change adds an explicit .html extension to Parameter links, so that Sphinx/RTD does not treat it as an anchor.
Diffstat (limited to 'docs/user-guide/09-reflection.md')
-rw-r--r--docs/user-guide/09-reflection.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/user-guide/09-reflection.md b/docs/user-guide/09-reflection.md
index bf09d04e0..ad2047a82 100644
--- a/docs/user-guide/09-reflection.md
+++ b/docs/user-guide/09-reflection.md
@@ -21,14 +21,14 @@ Compiling a Program
-------------------
The first step in reflecting a shader program is, unsurprisingly, to compile it.
-Currently reflection information cannot be queried from code compiled via the command-line `slangc` tool, so applications that want to perform reflection on Slang shader code should use the [compilation API](./compiling#using-the-compilation-api) to compile a program, and then use `getLayout()` to extract reflection information:
+Currently reflection information cannot be queried from code compiled via the command-line `slangc` tool, so applications that want to perform reflection on Slang shader code should use the [compilation API](08-compiling#using-the-compilation-api) to compile a program, and then use `getLayout()` to extract reflection information:
```c++
slang::IComponentType* program = ...;
slang::ProgramLayout* programLayout = program->getLayout(targetIndex);
```
-For more information, see the [relevant section](./compiling#layout-and-reflection) of the chapter on compilation.
+For more information, see the [relevant section](08-compiling#layout-and-reflection) of the chapter on compilation.
Types and Variables
-------------------