vscode-shader
vscode-shader copied to clipboard
Documentation Only Showing Header
Summary
I realize this repo is somewhat inactive, but thought I'd put this here anyway in case it's maintained again.
Version Info
- VS Code: 1.104.0 (System)
- Extension: [email protected]
- OS: Windows 11 10.0.22631
- Architecture: x86-64
Description
When opening the documentation webview, only the header is displayed with no further content (see screenshots). The links in hlslGlobals.ts appear to still be valid and the symbol provider is working, but perhaps something changed in the Microsoft documentation layout? I see the extension selects .content, but there are two of them in the source:
The header
<div class="content"><h1 id="texture-type">Texture type</h1></div>
The main content below
<div class="content"><p>Use the following syntax to declare a texture variable.</p>
<!-- the article content here -->
</div>
I'm not sure what that means for retrieval, as the node doesn't appear to be iterated over when it's retrieved, but I know next to nothing about Typescript and how it works with HTTPS and DOM navigation, so take from that what you will.