Fix header formatting: shorten nav title and prevent nav items from w…#19605
Open
pytorchbot wants to merge 1 commit into
Open
Fix header formatting: shorten nav title and prevent nav items from w…#19605pytorchbot wants to merge 1 commit into
pytorchbot wants to merge 1 commit into
Conversation
#19441) ### Summary Fix header formatting #19347 The navigation bar header had inconsistent spacing due to nav items wrapping to multiple lines on most screens. **Changes:** - Shortened "Find Your Path in ExecuTorch" → "Find Your Path" in `user-pathways.md` - Added `docs/source/_static/navbar.css` with `white-space: nowrap` to prevent nav items from wrapping in the header - Registered `navbar.css` in `conf.py` via `html_css_files` ### Test plan Built docs locally and previewed: <img width="677" height="60" alt="Capture d’écran 2026-05-09 190234" src="https://github.com/user-attachments/assets/22a650e0-10d8-4fb3-87a3-fd0dde6307a9" /> Ran lintrunner on changed files cc @GregoryComer @AlannaBurke @mergennachin (cherry picked from commit 48cad2a)
This was referenced May 14, 2026
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/19605
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 1 New Failure, 1 Unrelated FailureAs of commit 526314a with merge base 0cafcb2 ( NEW FAILURE - The following job has failed:
FLAKY - The following job failed but was likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fix header formatting #19347
The navigation bar header had inconsistent spacing due to nav items wrapping to multiple lines on most screens.
Changes:
user-pathways.mddocs/source/_static/navbar.csswithwhite-space: nowrapto prevent nav items from wrapping in the headernavbar.cssinconf.pyviahtml_css_filesTest plan
Built docs locally and previewed:

Ran lintrunner on changed files
cc @GregoryComer @AlannaBurke @mergennachin