-
Notifications
You must be signed in to change notification settings - Fork 781
Description
As we're prepping for Tauri 2.0 we're also switching over our documentation platform. Now is an awesome time to get involved in Tauri documentation!
Check the milestone for the overall status to having 2.0 docs ready: https://github.com/tauri-apps/tauri-docs/milestone/4
Writing Contributions
Below is the outline for the new docs. If there is no name next to one feel free to claim it so we can mark your name and then open a PR so that we can start crafting the doc together.
- Quick Start
- What is Tauri? @lorenzolewis
- Prerequisites
- Create a Project
- Using CTA
- Manually using Tauri CLI
- Add mobile to an existing project
- ...Frontend framework-specific guides
- Upgrade and Migration
- From Tauri v1 @lucasfernog feat: add upgrade guide #1340
- Electron to Tauri
- ...any other framework suggestions?
- Core Concepts
- SPAs, SSGs, etc.
- ...what else?
- Plugins @lucasfernog
- What is a Plugin? @lucasfernog
- Developing a Plugin @lucasfernog
- List of plugins (This page should cover that: https://beta.tauri.app/features/) @lucasfernog
- Troubleshooting
- Guides
- Features & Recipes (all listed under https://beta.tauri.app/2/guide/list)
- Create Authenticator guide #1473
- Create Autostart guide #1474
- Create Clipboard guide #1475
- Create Command Line Interface (CLI) guide #1476
- Create Dialog guide #1477
- Create File System guide #1478
- Create Global Shortcut guide #1479
- Create HTTP Client guide #1480
- Create Localhost guide #1481
- Create Logging guide #1482
- Revise Notification guide #1483
- Create OS Information guide #1484
- Create Persisted Scope guide #1485
- Create Positioner guide #1486
- Create Process guide #1487
- Create Shell guide #1488
- Create Single Instance guide #1489
- Create SQL guide #1490
- Create Store guide #1491
- Create Stronghold guide #1492
- Create Updater guide #1493
- Create Upload guide #1494
- Create Websocket guide #1495
- Create Window Customization guide #1496
- Create Window State guide #1497
- Write Deep Link guide #1547
- Write Barcode Scanner guide #1548
- Create NFC guide #1949
- Create Biometric guide #1948
- References
Technical Contributions
- Upstream contributions to Starlight to allow overriding components (footers, etc.)
- Create a plugin index page for the reference section
- Create DevContainer Configuration for Repo #1362
- Dynamic OG images (depends on Ability to customise Starlight’s components withastro/starlight#415). Reference: https://github.com/JonasKruckenberg/JonasKruckenberg/blob/main/src/pages/social-image/%5B...path%5D.png.ts feat: Dynamic og image #1344 #1616
Translations (i18n)
Check out the https://github.com/tauri-apps/tauri-docs/blob/next/.github/TRANSLATING.md guide
Transition Checklist
Here's what we need to remember to do as part of the transition over:
- Remove
andbeta
next
branches and respective search indexes - Turn off Crowdin and remove any references, redirect them back to the repo
- Add CI to deploy the next/latest version of documentation when upstream dev changes for live previews (and to make sure nothing upstream causes issues)
Upstream Issues
External
- Fix issue with nested
<Tabs>
components withastro/starlight#473: Noticed some non-nested tabs are also broken, hoping this fixes it when released - JavaScript not being bundled in production build for components withastro/astro#8018: Tabs not working when using components with imports on the same page
- Copy button for Code Blocks withastro/starlight#461
- Search index based on headers Pagefind/pagefind#215: Surface headings in search results
- Add segments of words with punctuation to index Pagefind/pagefind#225: Better search results for more code-like things
- Ability to customise Starlight’s components withastro/starlight#415: Support overriding translated locale pages to highlight if translates are out of date
- [next] Items in tables are not linkable typedoc2md/typedoc-plugin-markdown#463
- Add support for synced tabs withastro/starlight#640
- v8.0.0 always returns *.*.*.0 instead of actual IP sindresorhus/internal-ip#48
Internal
- Tauri CLI 2.0 DX Improvements tauri#7572
- [feat] 2.0: Add plugin to lib.rs with
tauri plugin add
tauri#7696 - refactor(cli): rename
plugin add
command toadd
tauri#7744 - [feat] Add CLI option to
tauri plugin init
to enable/disable iOS/Android projects tauri#7749 -
https://github.com/tauri-apps/tauri/tree/refactor/jsdocNot planned
Open Items
- Build out NixOS instructions and other Linux distros (do we want to allow any and all Linux distros into the docs? Can we support that effectively?)
- Does the version number in the code block below change over time? Do we need to make a note on that?
tauri-docs/src/content/docs/2/guide/prerequisites/index.mdx
Lines 250 to 253 in c46d1f2
```sh export ANDROID_HOME="$HOME/Library/Android/sdk" export NDK_HOME="$ANDROID_HOME/ndk/25.0.8775105" ```
tauri-docs/src/content/docs/2/guide/prerequisites/index.mdx
Lines 260 to 263 in c46d1f2
```ps [System.Environment]::SetEnvironmentVariable("ANDROID_HOME", "$env:LocalAppData\Android\Sdk", "User") [System.Environment]::SetEnvironmentVariable("NDK_HOME", "$env:LocalAppData\Android\Sdk\ndk\25.0.8775105", "User") ``` - Can we optimise the Android steps:
tauri-docs/src/content/docs/2/guide/prerequisites/index.mdx
Lines 208 to 210 in c46d1f2
2. Set the `JAVA_HOME` environment variable: {/* TODO: Can this be done in the 4th step? */} - Build plugin dev CLI section
{/* TODO: Add a CLI section */}
Metadata
Metadata
Assignees
Labels
Type
Projects
Status