Skip to content

docs: docusaurus versioning setup #2270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

yslpn
Copy link

@yslpn yslpn commented Jun 21, 2025

Description

Implement Docusaurus versioning for js-lingui documentation website with support for current version (5.x) and archived version (4.x). Reorganize project structure to separate versioned documentation from static pages and blog content.

Closes #2126

Types of changes

  • Documentation update
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

Copy link

vercel bot commented Jun 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
js-lingui ✅ Ready (Inspect) Visit Preview Jun 24, 2025 3:19pm

Copy link

github-actions bot commented Jun 21, 2025

size-limit report 📦

Path Size
packages/core/dist/index.mjs 2.91 KB (0%)
packages/detect-locale/dist/index.mjs 618 B (0%)
packages/react/dist/index.mjs 1.35 KB (0%)

@timofei-iatsenko timofei-iatsenko changed the title feat: docusaurus versioning setup docs: docusaurus versioning setup Jun 23, 2025
Copy link

codecov bot commented Jun 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.75%. Comparing base (6bb8983) to head (5d971aa).
Report is 195 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2270      +/-   ##
==========================================
- Coverage   77.05%   76.75%   -0.30%     
==========================================
  Files          84       88       +4     
  Lines        2157     2491     +334     
  Branches      555      649      +94     
==========================================
+ Hits         1662     1912     +250     
- Misses        382      463      +81     
- Partials      113      116       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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.

@yslpn yslpn marked this pull request as draft June 24, 2025 14:38
@yslpn
Copy link
Author

yslpn commented Jun 24, 2025

I don't know, we should think about an approach to not refer to the code in the main repository. Because the links always show the current main branch. Referencing tags is not very convenient, but it's better.

I think we can leave it like this for now, and do something later. The current version is quite good.

@yslpn
Copy link
Author

yslpn commented Jun 24, 2025

There were a lot of file changes. It's very difficult to review. I apologize, but it's necessary.

@yslpn yslpn marked this pull request as ready for review June 24, 2025 15:46
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.

Versioned docs
1 participant