Skip to content

Fixes cpp docs navbar rendering as a bulleted list#249

Merged
svekars merged 8 commits into
pytorch_sphinx_theme2from
fix-nav
May 13, 2026
Merged

Fixes cpp docs navbar rendering as a bulleted list#249
svekars merged 8 commits into
pytorch_sphinx_theme2from
fix-nav

Conversation

@svekars

@svekars svekars commented May 4, 2026

Copy link
Copy Markdown
Contributor

Fixes bullets appearing next to each item in the cpp docs navbar.

With sphinx-build -j, doctree-read fires in workers. Cached toctree entries are dropped when workers exit, so the navbar falls back to markup with no <ul> wrapper, and the browser renders default list bullets on the bare <li>s.

  • __init__.py: merge cached entries from worker envs via env-merge-info.
  • navbar-nav.html: wrap the fallback in <nav><ul> as a backstop.

Test plan

  • cpp docs navbar items have no bullet markers
  • python docs navbar unchanged

@netlify

netlify Bot commented May 4, 2026

Copy link
Copy Markdown

Deploy Preview for pytorchsphinxtheme ready!

Name Link
🔨 Latest commit 808b2ba
🔍 Latest deploy log https://app.netlify.com/projects/pytorchsphinxtheme/deploys/6a049e827861010008881f5c
😎 Deploy Preview https://deploy-preview-249--pytorchsphinxtheme.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@meta-cla meta-cla Bot added the cla signed label May 4, 2026
@svekars svekars merged commit 6780b18 into pytorch_sphinx_theme2 May 13, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant