Skip to content
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

doc: add steps for updating documentation to document contribution page #1733

Open
7 of 11 tasks
otegami opened this issue Mar 6, 2024 · 4 comments · May be fixed by #1786
Open
7 of 11 tasks

doc: add steps for updating documentation to document contribution page #1733

otegami opened this issue Mar 6, 2024 · 4 comments · May be fixed by #1786
Labels

Comments

@otegami
Copy link
Contributor

otegami commented Mar 6, 2024

What is your problem?

As a new contributor, I find it challenging to understand the process for contributing updates to the Groonga documentation. It would be helpful for them to add following steps to introduction.rst.

  • Editing the documentation
  • Previewing changes
  • Submitting changes

My suggestions

I propose to add a new sections to the introduction.rst about the documentation update process.

  • Edit Documentation Sources
  • Reflect Your Modifications
  • Preview Your Modifications on HTML
  • Update Translations
  • Reflect Your Translations
  • Preview Your Translations on HTML
  • Send Pull Request to Groonga Repository
  • Add the link for Sending patch in Preview Your Modifications on HTML

Next Steps after this issue

The content will be similar a little bit to the I18N page, but with a new flow.
We'll think about combining them after updating this introduction.rst.

Outdated: First feature request

Split contribution/documentation/introduction.rst into Two Pages like introduction and editing_guide

What is your problem?

To improve the contribution guide, I propose restructuring the current contribution/documentation/introduction.rst by splitting it into two separate pages. This change focuses on the following parts.

  1. Guide the process of building the documentation for viewing purposes as a previous step for contribution
  2. Guide the process of editing and submitting changes via pull requests for contribution

Proposed Changes:

I want to write the content like the following each page.

  • Introduction.rst
    • Topic: Guide the process of building the documentation for viewing purposes as a previous step for contribution
    • Sections:
      • Introduction
      • How to fork and clone the Groonga repository
      • Install depended software
      • Run cmake with --preset=doc
      • Generate HTML
  • (New Page) editing_guide.rst
    • Topic: Guide the process of editing and submitting changes via pull requests for contribution
    • Sections:
      • How to edit document
      • Edit documentation sources
      • Reflect your modifications
      • Preview your modifications on HTML
      • Update translations
      • Reflect your translations
      • Preview your translations on HTML
      • Send pull request to Groonga Repository

Expected TODO List

  • Introduction.rst
    • Remove the Update section from introduction.rst
  • (New Page) editing_guide.rst
    • Add new editing_guide page under contribution/documentation/
    • Write the following section one by one
      • How to edit document
      • Edit documentation sources
      • Reflect your modifications
      • Preview your modifications on HTML
      • Update translations
      • Reflect your translations
      • Preview your translations on HTML
      • Send pull request to Groonga Repository

How to reproduce it

No response

@otegami otegami added the Feature label Mar 6, 2024
@abetomo
Copy link
Contributor

abetomo commented Mar 6, 2024

Is there a purpose of having the same structure as this document and splitting the common parts?
If so, why not start by making contribution/documentation/introduction.rst the same structure, instead of splitting it up first?
It seems to me that this would make it easier to check common parts.

@otegami
Copy link
Contributor Author

otegami commented Mar 6, 2024

@abetomo
Thanks. I agree with your opinion because in this moment we are not sure splitting this document is better way.
I will update the current document and then think of the next step. How do you think of the following idea? If you agree with me, I will change the title and content of this issue.

doc: add steps for updating documentation to document contribution page

What is your problem?

As a new contributor, I find it challenging to understand the process for contributing updates to the Groonga documentation. It would be helpful for them to add following steps to introduction.rst.

  • Editing the documentation
  • Previewing changes
  • Submitting changes

My suggestions

I propose to add a new sections to the introduction.rst about the documentation update process.

  • Edit Documentation Sources
  • Reflect Your Modifications
  • Preview Your Modifications on HTML
  • Update Translations
  • Reflect Your Translations
  • Preview Your Translations on HTML
  • Send Pull Request to Groonga Repository

Next Steps after this issue

The content will be similar a little bit to the I18N page, but with a new flow.
We'll think about combining them after updating this introduction.rst.

@abetomo
Copy link
Contributor

abetomo commented Mar 6, 2024

I think that is a good way to proceed.

@otegami otegami changed the title Split contribution/documentation/introduction.rst into Two Pages like introduction and editing_guide doc: add steps for updating documentation to document contribution page Mar 6, 2024
@otegami
Copy link
Contributor Author

otegami commented Mar 6, 2024

Thanks! I've just updated the issue.

kou added a commit that referenced this issue Mar 22, 2024
…1734)

Related Issue: #1733

I will add a new sections to the `introduction.rst` about the
documentation update process.
- [x] Edit Documentation Sources <- This PR is right here!

I will do the below tasks at the following PRs.
- [ ] Reflect Your Modifications
- [ ] Preview Your Modifications on HTML
- [ ] Update Translations
- [ ] Reflect Your Translations
- [ ] Preview Your Translations on HTML
- [ ] Send Pull Request to Groonga Repository

---------

Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
kou pushed a commit that referenced this issue Mar 27, 2024
Related Issue: #1733

I will add a new sections to the `introduction.md` about the
documentation update process.
- [x] Preview Your Modifications on HTML files

I will do the below tasks at the following PRs.
- [ ] Update Translations
- [ ] Reflect Your Translations
- [ ] Preview Your Translations on HTML
- [ ] Send Pull Request to Groonga Repository
kou pushed a commit that referenced this issue Mar 29, 2024
Related Issue: #1733

I will add a new sections to the `introduction.md` about translating
documentation.
- [x] Update Translations <- This PR is here.

I will do the below tasks at the following PRs.
- [ ] Reflect Your Translations
- [ ] Preview Your Translations on HTML
- [ ] Send Pull Request to Groonga Repository
kou pushed a commit that referenced this issue Apr 2, 2024
…po` files to the translate doc section (#1750)

Related Issue: #1733

I will add a new sections to the `introduction.md` about translating
documentation.
- [x] Reflect Your Translations without Japanese translations
- [x] Add Japanese translations to Reflect Your Translations

I will do the below tasks at the following PRs.
- [ ] Preview Your Translations on HTML
- [ ] Send Pull Request to Groonga Repository
komainu8 pushed a commit that referenced this issue Apr 3, 2024
…ML files to the translate doc section (#1751)

Related Issue: #1733

I will add a new sections to the `introduction.md` about translating
documentation.
- [x] Preview Your Translations on HTML without Japanese translations

I will do the below tasks at the following PRs.
- [ ] Add Japanese translations to Preview Your Translations on HTML
- [ ] Send Pull Request to Groonga Repository
komainu8 pushed a commit that referenced this issue Apr 4, 2024
…ML files` in Japanese (#1752)

Related Issue: #1733

- [x] Add Japanese translations to Preview Your Translations on HTML

I will do the below tasks at the following PRs.

- [ ] Send Pull Request to Groonga Repository
komainu8 pushed a commit that referenced this issue Apr 9, 2024
… contribution guide (#1753)

Related Issue: #1733

- [x] Add the `Submit contributions` section without Japanese
translations

I will do the below tasks at the following PRs.

- [ ] Add Japanese translations about `Submit contributions`
kou pushed a commit that referenced this issue Apr 17, 2024
…ntribution guide (#1756)

Related Issue: #1733

- [x] Add Japanese translations about `Send patch`
komainu8 pushed a commit that referenced this issue May 15, 2024
Related Issue: #1733

- [x] Add the Sending patch section after Preview Your Modifications on
HTML

Consider sending a PR before the `Optional: Translate documentation`.
This approach allows non-Japanese speakers to update only the English
sections without needing to skip any parts.

ref: #1746 (comment)
@otegami otegami linked a pull request Jun 5, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants