-
Notifications
You must be signed in to change notification settings - Fork 645
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
Roadmap to Documentation for Tauri 2.0 #1344
Comments
Happy to help with this piece 🙌 |
I'd be happy to help with the NextJS specific guides! |
@OscarArranz Awesome! I've started on some framework specific guides in #1405, you can check out the preview here @lorenzolewis feel free to correct me on any of this: Note that we for 2.0 want to keep the framework specific stuff as limited as possible, preferably the information on that one page should be all you need. So no super long articles about the frameworks and not a lot of code samples beyond getting set up, because once you're set up it's up to the framework in question to instruct you on how to e.g. import and run javascript functions. The docs in v1 are quite overkill for just letting people know what they need to be aware of about the framework and most of the contents in v1 is duplicated across the frameworks. We want to avoid such duplication, have the framework setups short and sweet, then focus on actual meaningful framework agnostic docs. I'm no expert on Next.js and most of the content on the Next.js page is just copied over from the next branch, so would love to hear from you on whether the contents are correct and if there are any other gotchas that should be added to the checklist 🙂 There's more wiggle room for writing blog posts if you want to do something like a deep dive into things like best practises for hooking up Next.js with Tauri, so there's room on the website for the content you might want to write, just maybe not on those specific pages 🙂 |
@clearlysid amazing! I'll put a few points here from @simonhyll that would be good to cover for SPA, SSG, SSR. Feel free to open a draft PR with a first stab and then I'll tag your name on it above.
For docs try to keep any non-Tauri concepts fairly high-level (what is SPA, SSG, SSR, etc.) and link out where relevant for the reader to find more info. The docs should really focus as much as possible on Tauri-specific ideas. If you have any questions then feel free to hop on to our Discord and ping us in the #docs channel there 🎉 CC @FabianLars because I know you've fought the dragon a few times on this in support, so I'm sure any advice would be appreciated. |
@OscarArranz +1 to everything @simonhyll said. We're currently churning through the first plugin-specific guide (#1379) to get it just right, and then maybe we could try to polish up #1405 and get it merged to make it easy for people to contribute to. And like I mentioned on Discord, we'll open up translations ASAP once we get a few more things across the finish line. If you'd like to have a peek feel free to take a look at https://github.com/tauri-apps/tauri-docs/blob/next/.github/TRANSLATING.md. We've tested that whole flow a few times but any feedback would be greatly appreciated! Happy to have you join us 🥳 |
@lorenzolewis Definitely hit me up when you need to start translating and I'll make sure to work on Spanish translations. As for writing English docs, I'm realizing maybe I'd need to mess around with the latest version of Tauri as I'm currently using 1.4. If you've got any guidance on how to get familiar with the latest version and it's code it'd be amazing. I'm really excited to help with anything I can but I also feel a bit intimidated by the size of the project 😅 |
@OscarArranz the sections to get someone up and running are what we're going to laser-focus on next week starting Tuesday. We'll probably discussion in #docs on Discord so I'll give you a shout there if you're interested in joining the discussion. The prerequisite page should be all ready and functional for 2.0, so maybe give that a walk through and see if it gets you setup for success. |
Sorry, Github doesn't notify me well enough 🥲. Would love to continue in Discord but I don't seem to be able to send messages in #docs. Yes,I'll take a first pass and draft a PR. Is there a timeline we're looking at? I'll be able to get to this over the coming weekend. |
@clearlysid give me a mention in #general on Discord ( There aren't any real strict timelines per se, but I'm personally going to be out on vacation for about a month starting Sept 10, so it would be amazing to get a few rounds of feedback with anything you have to share and then the rest of the team could help to push it through from there |
Note about window customization, there's currently a guide for custom titlebars which implements window controls in HTML/CSS. For macOS this is flawed/bad behavior as users lose standard features. imo users should be warned about this, and potentially recommend transparent title bar + custom window background color like this |
Thanks @probablykasper , I added a stub for a window customisation guide in #1455 and included a reference to your comment so we can be sure to incorporate it 💪 |
#1456 is now up! I'll continue discussions, feedback and writing more on there directly. |
I propose adding WASM to the guides for the frontend UI / API to the v2.0 docs alongside the docs examples in JS - it'd be ideal if there was a tabbed interface for examples (letting the reader choose between the docs' examples presented in either JS or WASM/Rust), though I'd settle for second billing for WASM frameworks if we have to 😋 This issue is important for users who would like to use WASM-based frameworks like Yew, Leptos, Dioxus, etc. |
To answer the question about the NDK version number. The answer is yes it changes over time. At the time of writing this, I have NDK version 26.2.11394342 |
Happy to atleast start a chunk of this, should I fork and pr this repo? |
@WhyFenceCode yeah pretty much it, fork and open a PR, thanks for the help; Tauri v2 docs currently is on The docs are made with Starlight. "Electron to Tauri" page is more details here: https://github.com/tauri-apps/tauri-docs/blob/next/.github/CONTRIBUTING.md updating here as @WhyFenceCode requested, https://discord.com/channels/616186924390023171/662624589037436928/1232722043498397736, he isn't working on it anymore. "Electron to Tauri" is open |
Now that we've migrated to using milestones and a project board I feel like this tracking issues isn't as relevant to keep open anymore, so I'll close it. |
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.
Technical Contributions
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:
andbeta
next
branches and respective search indexesUpstream Issues
External
<Tabs>
components withastro/starlight#473: Noticed some non-nested tabs are also broken, hoping this fixes it when releasedInternal
tauri plugin add
tauri#7696plugin add
command toadd
tauri#7744tauri plugin init
to enable/disable iOS/Android projects tauri#7749https://github.com/tauri-apps/tauri/tree/refactor/jsdocNot plannedOpen Items
tauri-docs/src/content/docs/2/guide/prerequisites/index.mdx
Lines 250 to 253 in c46d1f2
tauri-docs/src/content/docs/2/guide/prerequisites/index.mdx
Lines 260 to 263 in c46d1f2
tauri-docs/src/content/docs/2/guide/prerequisites/index.mdx
Lines 208 to 210 in c46d1f2
tauri-docs/src/content/docs/2/guide/plugins/index.mdx
Line 6 in 2d970c9
The text was updated successfully, but these errors were encountered: