Clone the fresh copy of this repository.
git clone https://github.com/vicharak-in/vicharak-docs -b main
cd vicharak-docs
If there already exists a local clone then do this instead
cd <path/to/vicharak-docs>
git fetch origin main
git checkout FETCH_HEAD
Create or edit .rst
files in source/ directory as per your requirements and changes.
Learn about rst here.
Always make sure to compile the source before committing
Create the virtual environment and build the source with your changes. Make sure you have followed the INSTALLATION guide for python environment setup.
For Linux users
pipenv update
pipenv shell make html -j $(nproc --all)
For Windows users
python -m pipenv update
python -m pipenv shell ./make.bat html
For Linux users
${BROWSER} _build/html/index.html
⚠️ Replace ${BROWSER} with your browser name.
Example:firefox _build/html/index.html
For Windows users
- Open the repository in file explorer.
- Enter the
_build/html
folder - Open the
index.html
file in any web browser.
If the changes are satifactory then, commit your local changes.
git add source/
git commit
While committing make sure to write a well described commit message and commit title.
Some examples on how to write good commit messages:
Good:
vicharak-docs: Introduce documentation for fgpa write.
README: Add usage documentation for windows users.
vicharak-docs: linux: Document different vaaman kernel revisions.
Bad:
add doc
update readme
To check the list of modified files:
git status
Read the Spellchecker Guide
- Create a fork of the doc repository
- Add this repository as a remote
- Push changes to your remote
Pull requests are required in order to review the modifications that the developers are doing. Reviewing can include typo/spelling errors, indentation errors, compilation errors, etc.
Refer to Creating a pull request for the steps to follow.
Make sure base branch in the PR is main