Skip to content

Reorganize docs site: Sphinx docs at root, dashboard at /dashboard/ - #56

Closed
justinchuby wants to merge 2 commits into
mainfrom
justinchu/docs-site-reorg
Closed

Reorganize docs site: Sphinx docs at root, dashboard at /dashboard/#56
justinchuby wants to merge 2 commits into
mainfrom
justinchu/docs-site-reorg

Conversation

@justinchuby

Copy link
Copy Markdown
Member

Summary

Swap the GitHub Pages layout so Sphinx documentation is at the root URL and the dashboard moves to a sub-URL.

Before

  • onnxruntime.github.io/mobius/ → Dashboard
  • onnxruntime.github.io/mobius/docs/ → Sphinx docs

After

  • onnxruntime.github.io/mobius/ → Sphinx docs (Furo theme)
  • onnxruntime.github.io/mobius/dashboard/ → Testing dashboard

Changes

  • pages.yml: Swap build order — sphinx-build docs _site (root), dashboard to _site/dashboard/
  • docs/index.md: Add link to dashboard
  • dashboard.html.j2: Add "Docs" link in header
  • Rename workflow from "Dashboard" to "Documentation"

The dashboard is fully self-contained HTML (inline CSS/JS) so moving it to a subdirectory has no side effects.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reorganizes the GitHub Pages site so Sphinx (Furo) documentation is served at the root URL and the testing confidence dashboard is served under /dashboard/.

Changes:

  • Update the Pages workflow to build Sphinx into _site/ (root) and emit the dashboard into _site/dashboard/index.html.
  • Add a dashboard link to the docs landing page.
  • Add a docs link in the dashboard header and rename the workflow to “Documentation”.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.github/workflows/pages.yml Swaps build outputs so Sphinx is deployed at the site root and dashboard is placed under /dashboard/.
docs/index.md Adds a link from the docs homepage to the dashboard location.
scripts/templates/dashboard.html.j2 Adds a header link back to the docs root from the dashboard.

Move Sphinx documentation to the root URL (onnxruntime.github.io/mobius/)
and the testing confidence dashboard to a sub-URL
(onnxruntime.github.io/mobius/dashboard/).

- Swap build order in pages.yml: sphinx-build to _site/, dashboard
  to _site/dashboard/
- Rename workflow from 'Dashboard' to 'Documentation'
- Add dashboard link to docs index page
- Add docs link to dashboard header

Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
@justinchuby
justinchuby force-pushed the justinchu/docs-site-reorg branch from c020a1e to 5aa6dfb Compare March 28, 2026 03:59
@github-actions

github-actions Bot commented Mar 28, 2026

Copy link
Copy Markdown

Performance Comparison

Comparing 82d036d25653b3

Model Metric Baseline Current Delta
bert (feature-extraction) model_size_bytes 359 KB 359 KB +0.0%
bert (feature-extraction) num_nodes 61 61 +0.0%
falcon model_size_bytes 364 KB 364 KB +0.0%
falcon num_nodes 66 66 +0.0%
gemma2 model_size_bytes 428 KB 428 KB +0.0%
gemma2 num_nodes 107 107 +0.0%
gpt2 model_size_bytes 388 KB 388 KB +0.0%
gpt2 num_nodes 60 60 +0.0%
llama model_size_bytes 425 KB 425 KB +0.0%
llama num_nodes 61 61 +0.0%
llama (static-cache-text-generation) model_size_bytes 425 KB 425 KB +0.0%
llama (static-cache-text-generation) num_nodes 58 58 +0.0%
mamba (ssm-text-generation) model_size_bytes 360 KB 360 KB +0.0%
mamba (ssm-text-generation) num_nodes 105 105 +0.0%
phi3 model_size_bytes 421 KB 421 KB +0.0%
phi3 num_nodes 61 61 +0.0%
phi3 (static-cache-text-generation) model_size_bytes 421 KB 421 KB +0.0%
phi3 (static-cache-text-generation) num_nodes 58 58 +0.0%
qwen2 model_size_bytes 425 KB 425 KB +0.0%
qwen2 num_nodes 61 61 +0.0%
qwen2 (static-cache-text-generation) model_size_bytes 425 KB 425 KB +0.0%
qwen2 (static-cache-text-generation) num_nodes 58 58 +0.0%
qwen3_5_moe (hybrid-text-generation) model_size_bytes 506 KB 506 KB +0.0%
qwen3_5_moe (hybrid-text-generation) num_nodes 272 272 +0.0%
qwen3_5_text (hybrid-text-generation) model_size_bytes 458 KB 458 KB +0.0%
qwen3_5_text (hybrid-text-generation) num_nodes 126 126 +0.0%
qwen3_5_vl (hybrid-qwen-vl) model_size_bytes 977 KB 977 KB +0.0%
qwen3_5_vl (hybrid-qwen-vl) num_nodes 406 406 +0.0%
t5 (seq2seq) model_size_bytes 836 KB 836 KB +0.0%
t5 (seq2seq) num_nodes 174 174 +0.0%
whisper (speech-to-text) model_size_bytes 1008 KB 1008 KB +0.0%
whisper (speech-to-text) num_nodes 140 140 +0.0%

No performance regressions.

Move model page generation, feature-flags doc generation, and dashboard
generation into Sphinx extensions under docs/_ext/. This consolidates
the entire documentation build into a single sphinx-build invocation:

- models_gen: builder-inited hook runs _generate_models.py
- flags_gen: builder-inited hook runs _generate_flags_docs.py (conditional)
- dashboard: build-finished hook runs generate_dashboard.py into /dashboard/
  and creates /docs/ → / redirect

Simplify pages.yml from 4 separate steps to 1 sphinx-build command.

Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Comment thread docs/_ext/models_gen.py

from __future__ import annotations

import importlib
@justinchuby

Copy link
Copy Markdown
Member Author

Merged into PR #55 to consolidate overlapping changes (pages.yml, docs structure).

@justinchuby
justinchuby deleted the justinchu/docs-site-reorg branch May 7, 2026 01:03
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.

2 participants