<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/source/slang/slang-doc-markdown-writer.h, branch master</title>
<subtitle>Making it easier to work with shaders</subtitle>
<id>https://git.yummers.dev/slang.git/atom?h=master</id>
<link rel='self' href='https://git.yummers.dev/slang.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/'/>
<updated>2025-08-07T09:25:42+00:00</updated>
<entry>
<title>Add new _getName to get extension decl names for core module docs (#7985)</title>
<updated>2025-08-07T09:25:42+00:00</updated>
<author>
<name>aidanfnv</name>
<email>aidanf@nvidia.com</email>
</author>
<published>2025-08-07T09:25:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=67a96920674d628f615532a302504544a45e8187'/>
<id>urn:sha1:67a96920674d628f615532a302504544a45e8187</id>
<content type='text'>
Fixes #7479

This adds a new variant of `_getName(ExtensionDecl* decl)` to our
markdown doc writer that takes an ExtensionDecl* and returns the name in
the format `extension &lt;name&gt; : &lt;interface&gt;`.

This is required to display "extension T : ITexelElement" properly in
the core module docs, as the existing `_getName(Decl* decl)` returns an
empty string because the name does not come from the `decl` itself, but
rather its `targetType`.

The target type alone is not enough, as that would return `T`, which
will be erroneously interpreted as the name for the generic parameter,
and the doc system will link every mention of `T` to the extension's
page.

ReadTheDocs already displays the name correctly in the TOC of the docs
there, but that is because it falls back to the page title when the name
in the TOC is empty.

---------

Co-authored-by: slangbot &lt;ellieh+slangbot@nvidia.com&gt;
Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>format</title>
<updated>2024-10-29T06:49:26+00:00</updated>
<author>
<name>Ellie Hermaszewska</name>
<email>ellieh@nvidia.com</email>
</author>
<published>2024-10-29T06:49:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=f65d756bff8d4c5cbc15bd0322a2ae8e6b896a21'/>
<id>urn:sha1:f65d756bff8d4c5cbc15bd0322a2ae8e6b896a21</id>
<content type='text'>
* format

* Minor test fixes

* enable checking cpp format in ci</content>
</entry>
<entry>
<title>Add stdlib documentation for attributes and interfaces. (#5297)</title>
<updated>2024-10-15T21:21:21+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2024-10-15T21:21:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=ba26c2d7020b41e0d348c7235f86a4232982ab9e'/>
<id>urn:sha1:ba26c2d7020b41e0d348c7235f86a4232982ab9e</id>
<content type='text'>
* Add stdlib documentation for attributes and interfaces.

* Fix name mangling to avoid collision of functions in different extensions.

* Fix doc.</content>
</entry>
<entry>
<title>Write out summary of documentation in docgen tool. (#5266)</title>
<updated>2024-10-14T17:05:53+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2024-10-14T17:05:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=e57736bdec06246e32f9deea0ad3cc05a433acb1'/>
<id>urn:sha1:e57736bdec06246e32f9deea0ad3cc05a433acb1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Overhaul docgen tool and setup CI to generate stdlib reference. (#5232)</title>
<updated>2024-10-08T20:29:57+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2024-10-08T20:29:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=c42a9faad8d84f7bd05457d5f8e1fe45d6eecfa2'/>
<id>urn:sha1:c42a9faad8d84f7bd05457d5f8e1fe45d6eecfa2</id>
<content type='text'>
* Overhaul docgen tool and setup CI to generate stdlib reference.

* Fix build error.

* Write parsed doc for all decls.

* fix.

* fix callout.

* Fix.

* Fix comment.

* Fix.

* Delete obsolete doc tests.

* Fix.

* Categorize functions and types.

* Fix CI.

* Update comments.</content>
</entry>
<entry>
<title>Initial support for documentation extraction in C++ (#2156)</title>
<updated>2022-03-09T23:38:00+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2022-03-09T23:38:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=f67d929c24babc302eb2807251fc09b084abac2e'/>
<id>urn:sha1:f67d929c24babc302eb2807251fc09b084abac2e</id>
<content type='text'>
* #include an absolute path didn't work - because paths were taken to always be relative.

* Split doc extractor such that can be used in C++ extractor.

* Compiles. Update the stdlib docs.

* Fix issue on release builds.

* Add support for extracting documentation to C++ extractor.

* Dump out markup.
Make enum value backing type take tokens.

* Node::Type -&gt; Node::Kind

* More improvements around Node::Type -&gt; Node::Kind</content>
</entry>
<entry>
<title>Improvements in Docs requirements/availability (#1751)</title>
<updated>2021-03-15T15:16:32+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2021-03-15T15:16:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=fd304c6c02c73a0024f6d982b1936451e4812370'/>
<id>urn:sha1:fd304c6c02c73a0024f6d982b1936451e4812370</id>
<content type='text'>
* #include an absolute path didn't work - because paths were taken to always be relative.

* Use capability system in docs.
Simplify how requirements/availability is produced.

* Small fixes in output of availablity.

* Updated stdlib doc.

* Small improvements.

Co-authored-by: Tim Foley &lt;tfoleyNV@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>MarkDown -&gt; Markdown (#1748)</title>
<updated>2021-03-11T22:56:03+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2021-03-11T22:56:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=9ffe2f3ef245034a2dae42017a9059dfe4d02647'/>
<id>urn:sha1:9ffe2f3ef245034a2dae42017a9059dfe4d02647</id>
<content type='text'>
* #include an absolute path didn't work - because paths were taken to always be relative.

* MarkDown -&gt; Markdown
slang-doc-mark-down -&gt; slang-doc-markdown-writer</content>
</entry>
</feed>
