Skip to content

feat: keep multiple versions of github pages#255

Merged
FrenchGithubUser merged 1 commit into
masterfrom
tt-docs-version-picker
May 5, 2026
Merged

feat: keep multiple versions of github pages#255
FrenchGithubUser merged 1 commit into
masterfrom
tt-docs-version-picker

Conversation

@FrenchGithubUser

@FrenchGithubUser FrenchGithubUser commented May 5, 2026

Copy link
Copy Markdown
Member

When we started hosting our own version of the docs, we had to change the github workflow to build the docs to an org-approved one, which handled things differently. It was using the "deploy from github actions" method instead of "deploy from branch".

This PR adds what's necessary to keep all docs versions in this branch, which allows the version dropdown picker to work.

Adding/removing folders in this gh-pages branch allows to alter what's shown in the version picker.

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

Updates the documentation deployment workflow to preserve multiple published doc versions by deploying each build into a version-specific directory on the gh-pages branch, instead of uploading a single Pages artifact that replaces the whole site.

Changes:

  • Switches from actions/configure-pages + actions/deploy-pages to a git-worktree-based push to gh-pages, updating only /$VERSION/.
  • Changes workflow permissions to allow repository writes needed for pushing to gh-pages.
  • Renames the docs job and adjusts comments/branch-to-version mapping text.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/docs.yaml
Comment thread .github/workflows/docs.yaml
Comment thread .github/workflows/docs.yaml Outdated
Comment thread .github/workflows/docs.yaml
Comment thread .github/workflows/docs.yaml

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

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


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/docs.yaml
Comment thread .github/workflows/docs.yaml
Comment thread .github/workflows/docs.yaml Outdated
@codecov

codecov Bot commented May 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.37%. Comparing base (be8156c) to head (cf0a121).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #255      +/-   ##
==========================================
- Coverage   80.38%   80.37%   -0.02%     
==========================================
  Files         501      501              
  Lines       72337    72337              
  Branches    10906    10906              
==========================================
- Hits        58148    58139       -9     
- Misses      10907    10913       +6     
- Partials     3282     3285       +3     

see 2 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update be8156c...cf0a121. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/docs.yaml
@FrenchGithubUser FrenchGithubUser changed the title keep multiple versions of github pages feat: keep multiple versions of github pages May 5, 2026
@FrenchGithubUser FrenchGithubUser marked this pull request as ready for review May 5, 2026 16:12
@FrenchGithubUser FrenchGithubUser requested a review from a team as a code owner May 5, 2026 16:12

@jason-famedly jason-famedly left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems legit. Let's do it!

@FrenchGithubUser FrenchGithubUser force-pushed the tt-docs-version-picker branch from 53e67b4 to cf0a121 Compare May 5, 2026 17:00
@FrenchGithubUser FrenchGithubUser enabled auto-merge May 5, 2026 17:00
@FrenchGithubUser FrenchGithubUser added this pull request to the merge queue May 5, 2026
Merged via the queue into master with commit cb9f8bc May 5, 2026
28 of 29 checks passed
@FrenchGithubUser FrenchGithubUser deleted the tt-docs-version-picker branch May 5, 2026 18:04
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.

3 participants