Thank you for your offer to help. Here's some instructions for how to contribute. You might want to check in with an admin from the DCC++ EX team before working on documentation changes to identiy current needs.
We will assume that you have an appropriate text editor and Git installed on your machine. We recommend the free Visual Studio Code IDE (VSC) and GitHub Desktop or Git Bash.
- Clone the dcc-ex.github.io repository, to your local machine. Make sure you're on the sphinx branch. (Cloning a repository in GitHub)
- Install Python 3.8.x (which also installs pip) then use pip to install the required packages
pip install sphinx sphinx_rtd_theme sphinxcontrib-spelling
. - Using Git Bash, go to the "dcc-ex.github.io" folder and make a branch using GitHub desktop or this command:
git checkout -b your-branch-name
- Open VSC and edit the files in the
dcc-ex.github.io/docs
folder. Save, then Preview your changes by runningmake github
from the root of thedcc-ex.github.io
folder. This must be done from cmd.exe in windows, not powershell Then go to the directorydcc-ex.github.io/docs/build/html
and openindex.html
in Chrome or another browser. Note that since 11/23/2020, this is just a local preview - when you push your changes GitHub will automatically rebuild your website. - Use
git add
andgit commit -m "MY CHANGE DESCRIPTION"
often to save changes. If you're using GitHub desktop these are combined in the commit button. - Push it to GitHub:
git push origin {your-name}-changes
- Go to GitHub and issue a pull request for your branch to be pulled into the sphinx branch. Once it's merged in by one of the admins, your changes will go live!