tauri-docs
tauri-docs copied to clipboard
feat: Migrates `i18ntracker` to `Lunaria`
What kind of changes does this PR include?
- Changes to the docs site code
Description
- What does this PR change? Give us a brief description.
Migrates
i18ntrackerpackage to uselunariaas default. This will offload maintenance of thei18ntrackerand enhance a bit more the the current state of the tracker's UI.
[!NOTE] Encountered an issue where Lunaria couldn't track the git history of certain files used in generating Tauri documentation. This is due to these files being fetched via a git submodule, which isn't reflected in the project's main git history.
Implemented a temporary fix in the Lunaria config to bypass this issue:
"ignore": [ "src/content/docs/references/{v1,v2}/(js/**/*|config).{md,mdx}" ]This change prevents Lunaria from tracking these files, thus avoiding the error. We'll explore a more permanent solution that maintains the necessary git history for seamless documentation generation in the future.
- Did you change something visual? A before/after screenshot can be helpful.
| Before | After |
|---|---|
Deploy Preview for tauri-docs-starlight ready!
Built without sensitive environment variables
| Name | Link |
|---|---|
| Latest commit | a05ff978e7877919e2f99c4fcf68ccf4ef7a7491 |
| Latest deploy log | https://app.netlify.com/sites/tauri-docs-starlight/deploys/65cbfeeaa0f9af0008279758 |
| Deploy Preview | https://deploy-preview-1854--tauri-docs-starlight.netlify.app/contribute/translate-status |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
Lighthouse |
1 paths audited Performance: 100 (no change from production) Accessibility: 100 (no change from production) Best Practices: 100 (no change from production) SEO: 92 (no change from production) PWA: - View the detailed breakdown and full score reports |
To edit notification comments on pull requests, go to your Netlify site configuration.
New dependencies detected. Learn more about Socket for GitHub ↗︎
| Package | New capabilities | Transitives | Size | Publisher |
|---|---|---|---|---|
| npm/@lunariajs/[email protected] | Transitive: environment, filesystem, shell, unsafe | +33 |
4.6 MB | yanthomasdev |
Are there any new developments? The current i18n page display is incomplete. I gave it a try in a local environment. Screenshot below
@GuoJikun, we're still waiting to handle most of the missing docs and current structure to handle this one.
Gonna close this to migrate it to the new version of the docs.
