Skip to content

Apply custom CSS UI and version switcher in Sphinx build#464

Open
AAmbuj wants to merge 3 commits into
eclipse-score:mainfrom
AAmbuj:amsh_sphinx_doc_css_version_switcher_and_Good_UI
Open

Apply custom CSS UI and version switcher in Sphinx build#464
AAmbuj wants to merge 3 commits into
eclipse-score:mainfrom
AAmbuj:amsh_sphinx_doc_css_version_switcher_and_Good_UI

Conversation

@AAmbuj
Copy link
Copy Markdown
Contributor

@AAmbuj AAmbuj commented May 21, 2026

Apply custom CSS and fix logo nav in sub-doc builds

  • Expose default_custom.css via Bazel runfiles so sub-doc Sphinx builds
    get the project CSS theme
  • Inject CSS into sub-doc output via build-finished event hook
  • Fix logo link in sub-docs to navigate back to parent docs index.html;
    detect main vs sub-doc context via presence of docs/ sibling directory
  • both local (relative) and CI host page environments

@AAmbuj AAmbuj force-pushed the amsh_sphinx_doc_css_version_switcher_and_Good_UI branch 3 times, most recently from 5e2f0d9 to aef931b Compare May 22, 2026 15:28
- Expose default_custom.css via Bazel runfiles so sub-doc Sphinx builds
  get the project CSS theme
- Inject CSS into sub-doc output via build-finished event hook
- Fix logo link in sub-docs to navigate back to parent docs index.html;
  detect main vs sub-doc context via presence of docs/ sibling directory
@AAmbuj AAmbuj force-pushed the amsh_sphinx_doc_css_version_switcher_and_Good_UI branch 2 times, most recently from d75afbe to b18fb24 Compare May 22, 2026 16:28
AAmbuj and others added 2 commits May 22, 2026 22:01
…d_UI

Signed-off-by: AMBUJ SINGH KUSHWAHA <73685939+AAmbuj@users.noreply.github.com>
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.

1 participant