Modifying content on this site
You have two options for editing content: directly in your browser using GitHub, or from your local work environment using a Git-based workflow.
Style Guide
When you submit a patch or a content addition, please follow the style guide.
Modifying content from your browser
Every page on this site has an Edit button (). If you click it, it’ll take you straight to the corresponding source page in GitHub. Then, you can follow GitHub’s documentation on how to propose changes to another user’s repository.
Modifying content using Git
The Git repository for this site lives on GitHub. You can fork that repository, make the proposed changes in your fork, and then send us a standard GitHub pull request.
For this purpose, use git in combination with either GitHub’s web interface, or the gh command-line interface (CLI).
First, create a fork of the documentation repository:
Open our GitHub repo and click the Fork button.
When you create your new fork, it’s fine to leave the Copy the main branch only option enabled.
Then, proceed to create a new local checkout of your fork:
git clone git@github.com:<yourusername>/<your-repo-fork> cleura cloud-docs
cd cleura cloud-docs
gh repo fork --clone https://github.com/cleura/docs -- cleura cloud-docs
cd cleura cloud-docs
Next, create a local topic branch and make your modifications:
git checkout -b <your-topic-branch-name>
# edit your files
git add <files-to-add>
git commit
Please see our notes on commit messages.
Finally, create a pull request (PR) from your changes:
Run the following git command (assuming origin is the remote that points to your fork):
git push origin <your-topic-branch-name>
git push command, and proceed to create a pull request.
gh pr create --fill
Monitoring changes as you edit
To see your changes as you work on them, you can use tox. Having created a topic branch with your modifications, run:
cd cleura cloud-docs
git checkout <your-topic-branch-name>
tox -e serve
A local copy of the documentation will then run on your local machine and be accessible from http://localhost:8000 in your browser.
When planning to make several changes in rapid succession, you may want to speed up site rendering after each change. You may do so by disabling a plugin that checks all links (including external links) for accessibility:
cd cleura cloud-docs
export DOCS_ENABLE_HTMLPROOFER=false
tox -e serve
Commit messages
When you submit a change, you will need to provide a commit message, which is very nearly as important as the change itself. Excellent guides on what constitutes a good commit message are available from Tim Pope and Colleen Murphy.
In addition, we have adopted the Conventional Commits style for commit message subjects. Please make sure that your commit message starts with one of the following prefixes:
feat:denotes a content addition, such as adding documentation for some Cleura Cloud functionality that was not included in the documentation before.fix:denotes a content correction, such as fixing a documentation bug.build:denotes a change to the build process, such as an improvement to a CI check.chore:denotes a minor change that is neither a feature, nor a fix, nor a build improvement, such as when you edit the.mailmapfile.docs:denotes a change to the documention for this site, such as an update to theREADME.mdfile.