To contribute, you need to fork the repository, do your modifications and create a new pull request.
Here we are using the pyATS docs as an example; Same steps could be applied to other packages
-
Go to the pyATS Github repository
-
On the top right corner, click
Fork. (see https://help.github.com/en/articles/fork-a-repo)
-
Clone the repository by running
git clone https://github.com/<your_github_username>/pyats -
cd pyats/docs
⚠️ Please make sure you have the full pyats package installed via pip install pyats[full].
-
Use
make install_build_depsto install all of the build dependencies -
Run
make docsto generate documentation in HTML -
Wait until you see
Donein your terminal -
The documentation is now built and stored under the directory
pyats/docs/__build__ -
Run
make serveto view the documentation on your browser -
Please create a PR after you have made your changes (see commit your changes & open a PR)
Here are a few examples that could be great pull request:
- Fix Typos
- Better wording, easier explanation
- More details, examples
- Anything else to enhance the documentation
- For detail on contributing to pyATS, please follow the contribution guidelines
