Skip to content

Fix documentation subsection links - #110

Merged
ktbolt merged 1 commit into
SimVascular:mainfrom
ryanspilker:108-fix-svMultiPhysics-links
Sep 1, 2026
Merged

Fix documentation subsection links#110
ktbolt merged 1 commit into
SimVascular:mainfrom
ryanspilker:108-fix-svMultiPhysics-links

Conversation

@ryanspilker

Copy link
Copy Markdown
Collaborator

This change waits for the zero-md components on a documentation page to finish rendering before reapplying a subsection fragment from the URL. Without this step, content loaded above the target can move it after the browser’s initial fragment navigation.

I reproduced the reported problem locally using multi_physics.html#equation_section, then verified that this change opens the page at the Equation Section. Because the fix is in the shared documentation JavaScript, it also supports direct subsection links on other pages using the same zero-md structure.

OpenAI’s code-analysis and browser-testing tools helped identify the rendering-order problem and test the fix.

Closes #108.

@ktbolt
ktbolt merged commit a956287 into SimVascular:main Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

svMultiPhysics: Some sub-section links don't work

2 participants