Contributing to the documentation¶
Description
How to write and submit content for the Plone Intranet Documentation.
Reaching the Plone Intranet team¶
To reach the Plone Intranet team for any questions please contact
- Plone Intranet mailing list
- #ploneintranet IRC channel on irc.freenode.net
License¶
The Plone Intranet Documentation by Plone Foundation is licensed under a Creative Commons Attribution 4.0 International License.
If you want to contribute to this documentation, you can do so directly by making a pull request, if you have filled out a Contributor Agreement.
If you haven’t filled in a Contributor Agreement, you can still contribute. Contact the Plone Intranet team directly by sending a mail to mailto:ploneintranet@netsight.co.uk. Basically, all we need is your written confirmation that you are agreeing your contribution can be under Creative Commons. You can also add in a comment with your pull request “I, <full name>, agree to have this published under Creative Commons 4.0 International BY”.
Workflow¶
It is important we keep the documentation coherent. Therefore, we follow a simple workflow, which we ask all contributors to respect:
Please DO NOT commit to master directly. Even for the smallest and most trivial fix. ALWAYS open a pull request and ask somebody else to merge your code. NEVER merge it yourself.
Your pull requests may be checked for spelling, and clarity. So don’t hesitate to contribute also if English is not your first language, we will try to be helpful in corrections without being annoying.
If you don’t get feedback on your pull request in a day please come to #ploneintranet and ask.
The main goal of this process is not to annoy you. On the contrary, we love your contributions.
But the documentation team also wants to keep the documentation in good shape.
Editing the documentation on GitHub¶
This is the recommended way for smaller changes, and for people who are not familiar with Git.
Note
If you’re a member of the Quaive team, please use the private Quaive repo at https://github.com/quaive/ploneintranet instead of the public community repo given below.
- Go to Plone Intranet on GitHub.
- Press the Fork button. This will create your own personal copy of the documentation.
- Edit files in the docs directory using GitHub’s text editor in your web browser
- Fill in the Commit changes-textbox at the end of the page telling why you did the changes. Press the Commit changes-button next to it when done.
- Then head to the green New pull request-button (e.g. by navigating to your fork’s root and clicking “Pull requests” on the right menu-bar, or directly via https://github.com/yourGitHubUserName/documentation/pulls), you won’t need to fill in any additional text. Just press New pull request button, finally click “Send pull request”.
- Your changes are now queued for review under project’s Pull requests tab on Github.
- For more information about writing documentation please read the styleguide and also this section on recommended tools.
- You will receive a message when your request has been integrated into the documentation. At that moment, feel free to delete the copy of the documentation you created under your account on github. Next time you contribute, just fork again. That way you’ll always have a fresh copy of the documentation to work on.
Pull request checklist¶
Making a good pull request makes life easier for everybody:
- The title and description of a pull request MUST be descriptive and need to reflect the changes. So please say “grammar fixes on the intro page” or “new page: feature x explained as a user story”
If you can state for which versions of Plone Intranet your submissions are valid, that would be awesome.
Editing the documentation using git¶
This is the recommended method of editing the documentation for advanced users.
- Learn about Sphinx and restructured text.
- Fork the documentation source files into your own repository
- Edit the file(s) which you want to update.
- Check that you do not have any syntax errors or typos
- Commit your changes and create and open pull request.
For more information about writing documentation please read the styleguide. See also some helper tools.