Skip to content

Contributing guide #3330

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 9 commits into
base: v2
Choose a base branch
from

Conversation

kandrelczyk
Copy link
Contributor

Description

Adding contributing guide to the documentation. The content is a mix of contribution guides from main tauri and tauri-docs repos.

@kandrelczyk kandrelczyk requested a review from a team as a code owner June 4, 2025 20:28
@github-project-automation github-project-automation bot moved this to 🪵 Backlog in Documentation Jun 4, 2025
Copy link

netlify bot commented Jun 4, 2025

👷 Deploy Preview for tauri-v2 processing.

Name Link
🔨 Latest commit 4861e3d
🔍 Latest deploy log https://app.netlify.com/projects/tauri-v2/deploys/68446fa7b5572600080b198e

@kandrelczyk
Copy link
Contributor Author

Looks like I didn't sync my fork before creating the branch but it's all new content so I guess it will merge without issues.

Copy link
Contributor

@vasfvitor vasfvitor left a comment

Choose a reason for hiding this comment

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

Hi, thanks for this, it's great to have this well doc

I haven't gone through everything but I think issue reporting and pr guidelines should be each to the respective project. I can think of two possibilities: make it specific for the docs repo, or make a list/table for each repo own instruction on the matter / not copying to avoid having mixed information, so whatever doesn't originally belongs here, must be referenced.

While I'm specifying this about issue-reporting.mdx and pr.mdx file, others may have something I missed, but consider it as whole: if I recall we already have one issue guideline for the docs that could be used/linked, and on the docs we don't do releases nor versioning, so some instructions doesn't make sense here and may not make sense for the main repo, or the plugins-workspace repo and others.

Could you elaborate more as the source of these contents? Just so I have a reference about accuracy? I imagine you may have changed a few stuff here and there to adapt but it would be nice to have the original to ensure nothing is lost/changed by mistake

Thanks again, I've been thinking of having something like this for a while

@github-project-automation github-project-automation bot moved this from 🪵 Backlog to 🏗️ In progress in Documentation Jun 5, 2025
@kandrelczyk
Copy link
Contributor Author

Hi @vasfvitor ,

The info comes from here:

https://github.com/tauri-apps/tauri/blob/dev/.github/CONTRIBUTING.md

and

https://raw.githubusercontent.com/tauri-apps/tauri-docs/refs/heads/v2/.github/CONTRIBUTING.md

I will add some comments marking the main changes.

As for PR and Issue reporting guidelines I don't really see points that need more context. For PRs I think all rules are pretty basic and applicable to all repos (at least I'm following them for tauri, plugin-workspace and tauri-docs. For Issue reporting I remove the first point which was confusing. I think other points are valid for all repos. The are not as relevant for tauri-docs but I don't think there's anything confusing or incorrect there.

@vasfvitor
Copy link
Contributor

@dreyfus92 any suggestion here? what do you think?

Copy link
Member

@dreyfus92 dreyfus92 left a comment

Choose a reason for hiding this comment

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

Huge thanks @kandrelczyk for putting this comprehensive guide together. This is exactly the kind of contribution that makes our ecosystem stronger! And special thanks to @vasfvitor for looping me in on this discussion.

I don't think we need the coc.mdx file here, the Code of Conduct should be part of the main Tauri repo or handled at the organization level through .github files.

More broadly, I think we should focus this contribution guide specifically on documentation contributions rather than trying to cover all Tauri repositories. The main repo already has its own contributing guidelines, and trying to maintain duplicate/overlapping guidance across repos creates potential for inconsistency.

I'd suggest we take inspiration from Astro's approach with their dedicated docs contribution site: https://contribute.docs.astro.build/welcome/ - they keep it focused specifically on documentation contributions with clear, actionable guidance for docs contributors.

@FabianLars
Copy link
Member

More broadly, I think we should focus this contribution guide specifically on documentation contributions rather than trying to cover all Tauri repositories. The main repo already has its own contributing guidelines, and trying to maintain duplicate/overlapping guidance across repos creates potential for inconsistency.

I agree with this when it comes to what's shown on the website but please don't discard the other guides here and instead upstream them into the respective repositories 🙏

If we then think we should still show those guides on the website we can pull them from the repos automatically so we don't have to sync them manually.

@kandrelczyk
Copy link
Contributor Author

I removed the coc.mdx file and lined to the github repo instead, no issues here.

Now for other points. Astro also has this: https://docs.astro.build/en/contribute/ and this is more what I was aiming for. If we prefer to keep guides in specific repos I will move my changes there and only link to the repositories in docs.

As for https://contribute.docs.astro.build/welcome/ I see it as a separate initiative. For now tauri-docs repo has it's own CONTRIBUTING.md file and I will link to it. To create separate guide a new astro page would have to be created with separate deployment plan, right? If someone with proper permissions can prepare a basic template (just something that will be compiled and deployed under sub-domain) I can work on the content.

@kandrelczyk
Copy link
Contributor Author

This is new version. I will upstream changes to the core repo and plugins-workspace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏗️ In progress
Development

Successfully merging this pull request may close these issues.

4 participants