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

added guide for contributing to the netplan documentation #457

Merged
merged 28 commits into from
Jun 6, 2024

Conversation

ade555
Copy link
Contributor

@ade555 ade555 commented Apr 18, 2024

modified the doc/contribute-docs.md file to include information about building the documentation locally and other information to successfully contribute to the documentation

Description

Checklist

  • Runs make check successfully.
  • Retains 100% code coverage (make check-coverage).
  • New/changed keys in YAML format are documented.
  • (Optional) Adds example YAML for new feature.
  • (Optional) Closes an open bug in Launchpad.

These steps will show you how to build the documentation on your local machine.
1. To build this documentation, first create a fork of the [Netplan repository](https://github.com/canonical/netplan) and clone that into your machine. For example:
```shell
git clone [email protected]:ade555/netplan.git
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks for your contribution. May I ask you to change this to a generic github link instead of your own? Some people tend to copy and paste things verbatim :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for your contribution. May I ask you to change this to a generic github link instead of your own? Some people tend to copy and paste things verbatim :)

Definitely. I'll change it right now.

@slyon slyon added community This PR has been proposed by somebody outside of the Netplan team and roadmap commitments. documentation Documentation improvements. labels Apr 18, 2024
@slyon slyon requested a review from rkratky April 18, 2024 10:58
@slyon
Copy link
Collaborator

slyon commented Apr 18, 2024

@rkratky May I ask you to take a look at this?

@ade555
Copy link
Contributor Author

ade555 commented Apr 26, 2024

Hi, @rkratky is there any progress on this, yet?

@rkratky
Copy link
Contributor

rkratky commented Apr 26, 2024

Hi, @rkratky is there any progress on this, yet?

Apologies, this slipped through the cracks.

I will submit a review soon.

@ade555
Copy link
Contributor Author

ade555 commented Apr 26, 2024

Apologies, this slipped through the cracks.
I will submit a review soon.

Thank you very much

Copy link
Contributor

@rkratky rkratky left a comment

Choose a reason for hiding this comment

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

@ade555, thanks a lot for the PR. I submitted my review with suggestions (apologies for taking so long).

Aside: the issue (Netplan: Add info on building docs to README) asked for info to be added to the repo's README.md file. That should be just a very brief overview. From there, we can link to this page in docs.

doc/contribute-docs.md Outdated Show resolved Hide resolved
doc/contribute-docs.md Outdated Show resolved Hide resolved
doc/contribute-docs.md Outdated Show resolved Hide resolved
doc/contribute-docs.md Outdated Show resolved Hide resolved
doc/contribute-docs.md Outdated Show resolved Hide resolved
doc/contribute-docs.md Outdated Show resolved Hide resolved
doc/contribute-docs.md Outdated Show resolved Hide resolved
doc/contribute-docs.md Outdated Show resolved Hide resolved
doc/contribute-docs.md Outdated Show resolved Hide resolved
doc/contribute-docs.md Outdated Show resolved Hide resolved
@ade555
Copy link
Contributor Author

ade555 commented May 2, 2024

@ade555, thanks a lot for the PR. I submitted my review with suggestions (apologies for taking so long).

Aside: the issue (Netplan: Add info on building docs to README) asked for info to be added to the repo's README.md file. That should be just a very brief overview. From there, we can link to this page in docs.

I'll work on this and submit a PR today.

@ade555 ade555 requested a review from rkratky May 2, 2024 10:42
@ade555
Copy link
Contributor Author

ade555 commented May 2, 2024

Hi, @rkratky. I worked on your suggestions already and made corrections where necessary. I have also included an overview to the readme file. Please check it out and let me know what you think.

Currently, two checks are failing, but they're not documentation checks and I didn't touch the code base, so I'm assuming it's safe for me to ignore them. If not, please point me in the right direction to fix them. Thank you!

@rkratky
Copy link
Contributor

rkratky commented May 2, 2024

Excellent, thank you.

I'm off until next week, and then I'll be in company meetings most of the time, but I'll try to get back to you at soon as possible. Again, apologies for the delays.

@ade555
Copy link
Contributor Author

ade555 commented May 5, 2024

Excellent, thank you.

I'm off until next week, and then I'll be in company meetings most of the time, but I'll try to get back to you at soon as possible. Again, apologies for the delays.

No problem about that, @rkratky. Enjoy your break!

@slyon
Copy link
Collaborator

slyon commented May 7, 2024

Currently, two checks are failing, but they're not documentation checks and I didn't touch the code base, so I'm assuming it's safe for me to ignore them.

The "Run spread" and "Autopkgtest DebCI" checks are known (temporary) failures and can be safely ignored for this PR.

@ade555
Copy link
Contributor Author

ade555 commented May 8, 2024

The "Run spread" and "Autopkgtest DebCI" checks are known (temporary) failures and can be safely ignored for this PR.

Okay, then. Thank you very much for letting me know @slyon.

@ade555
Copy link
Contributor Author

ade555 commented May 20, 2024

Hi, @rkratky are you available to give this a quick look now?

Copy link
Collaborator

@slyon slyon left a comment

Choose a reason for hiding this comment

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

Thank you very much for your contribution to Netplan!

This is generally looking good to me, so it can be merged once we receive Robert's +1.
I left two tiny inline-comments that you should consider fixing first, though.

doc/contribute-docs.md Outdated Show resolved Hide resolved
doc/contribute-docs.md Show resolved Hide resolved
Copy link
Contributor

@rkratky rkratky left a comment

Choose a reason for hiding this comment

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

Thank you, @ade555. A few more nitpicks.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
doc/contribute-docs.md Outdated Show resolved Hide resolved
doc/contribute-docs.md Outdated Show resolved Hide resolved
doc/contribute-docs.md Outdated Show resolved Hide resolved
@ade555
Copy link
Contributor Author

ade555 commented Jun 5, 2024

Hi, @rkratky I made a PR just now to fix all the issues you pointed out. Please check and revert when you can.

I noticed a documentation test is failing (specifically the link check test) but everything seems fine when I run it locally. Can you give me tips to debug the issue?

Copy link
Contributor

@rkratky rkratky left a comment

Choose a reason for hiding this comment

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

Thank you.

@slyon, this is good to be merged for mow.

superherojt and others added 9 commits June 6, 2024 11:00
modified the doc/contribute-docs.md file to include information about building the documentation locally and other information to successfully contribute to the documentation
Co-authored-by: Robert Krátký <[email protected]>
Co-authored-by: Robert Krátký <[email protected]>
Co-authored-by: Robert Krátký <[email protected]>
Co-authored-by: Robert Krátký <[email protected]>
Co-authored-by: Robert Krátký <[email protected]>
ade555 and others added 19 commits June 6, 2024 11:02
Co-authored-by: Robert Krátký <[email protected]>
Co-authored-by: Robert Krátký <[email protected]>
Co-authored-by: Robert Krátký <[email protected]>
Co-authored-by: Robert Krátký <[email protected]>
Co-authored-by: Robert Krátký <[email protected]>
Co-authored-by: Robert Krátký <[email protected]>
Co-authored-by: Robert Krátký <[email protected]>
Co-authored-by: Robert Krátký <[email protected]>
Co-authored-by: Robert Krátký <[email protected]>
Co-authored-by: Robert Krátký <[email protected]>
Co-authored-by: Robert Krátký <[email protected]>
Co-authored-by: Robert Krátký <[email protected]>
Co-authored-by: Robert Krátký <[email protected]>
Co-authored-by: Robert Krátký <[email protected]>
Co-authored-by: Robert Krátký <[email protected]>
Co-authored-by: Lukas Märdian <[email protected]>
@slyon
Copy link
Collaborator

slyon commented Jun 6, 2024

Rebased, should now be ready for merging. Thanks again for your contribution to Netplan @ade555 !

@slyon slyon merged commit 1e1d80c into canonical:main Jun 6, 2024
14 of 16 checks passed
@ade555
Copy link
Contributor Author

ade555 commented Jun 20, 2024

Hi, @slyon and @rkratky. Thank you very much for your help and corrections during this process! Let's do this some other time!

@ade555 ade555 deleted the doc/contributing branch June 20, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community This PR has been proposed by somebody outside of the Netplan team and roadmap commitments. documentation Documentation improvements.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants