Skip to content

Fix docs pages showing identical created/updated dates - #149

Merged
justinchuby merged 2 commits into
mainfrom
copilot/fix-documentation-date-capture
Apr 10, 2026
Merged

Fix docs pages showing identical created/updated dates#149
justinchuby merged 2 commits into
mainfrom
copilot/fix-documentation-date-capture

Conversation

Copilot AI commented Apr 10, 2026

Copy link
Copy Markdown
Contributor

The Sphinx pages workflow used a shallow clone (default fetch-depth: 1), so git log --follow saw exactly one commit per file — collapsing "Created" and "Last updated" to the same date for every page.

Change

  • .github/workflows/pages.yml: add fetch-depth: 0 to the actions/checkout step so the full repo history is available when git_timestamps.py runs git log --follow during the Sphinx build.

The pages workflow used the default shallow clone (fetch-depth: 1),
which only fetches the latest commit. git log --follow therefore saw
only one commit per file, making created == updated == today.

Adding fetch-depth: 0 gives the full repository history so git
timestamps correctly reports the oldest commit as created and the
newest commit as last-updated.

Signed-off-by: Copilot <copilot@github.com>

Agent-Logs-Url: https://github.com/onnxruntime/mobius/sessions/5f272c31-b070-420b-9ee7-7da1f8930821

Co-authored-by: justinchuby <11205048+justinchuby@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix documentation page creation and update date capture Fix docs pages showing identical created/updated dates Apr 10, 2026
Copilot AI requested a review from justinchuby April 10, 2026 16:05
@justinchuby
justinchuby marked this pull request as ready for review April 10, 2026 16:20
@justinchuby
justinchuby requested review from a team and Copilot April 10, 2026 16:20

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 fixes Sphinx docs pages showing identical “Created” and “Last updated” dates by ensuring the Pages workflow checks out full git history so git log --follow can see more than one commit per file during the build.

Changes:

  • Configure actions/checkout in the Pages workflow to use fetch-depth: 0 (full history) for accurate timestamp extraction.

@github-actions

Copy link
Copy Markdown

Performance Comparison

Comparing 1a0532472eeb17

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 53 53 +0.0%
llama model_size_bytes 425 KB 425 KB +0.0%
llama num_nodes 61 61 +0.0%
llama (static-cache) model_size_bytes 425 KB 425 KB +0.0%
llama (static-cache) 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 103 103 +0.0%
phi3 model_size_bytes 421 KB 421 KB +0.0%
phi3 num_nodes 61 61 +0.0%
phi3 (static-cache) model_size_bytes 421 KB 421 KB +0.0%
phi3 (static-cache) 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) model_size_bytes 425 KB 425 KB +0.0%
qwen2 (static-cache) 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 275 275 +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 129 129 +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 409 409 +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 128 128 +0.0%

No performance regressions.

@codecov

codecov Bot commented Apr 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@justinchuby
justinchuby merged commit 3185c6b into main Apr 10, 2026
24 of 25 checks passed
@justinchuby
justinchuby deleted the copilot/fix-documentation-date-capture branch April 10, 2026 17:17
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.

Add documentation creation and update time

3 participants