-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation language edit /spell check (#871)
* First iteration of spell check * Spell check for setup * physics model spell check * Add commonstatsmethods language check * Finish spellcheck part 3-4-5 * Fixing Combine small caps text in docs
- Loading branch information
Showing
15 changed files
with
777 additions
and
775 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Contributing | ||
|
||
Contributions to combine of all sizes, from minor documentation updates to big code improvements, are welcome and encouraged. | ||
Contributions to <span style="font-variant:small-caps;">Combine</span> of all sizes, from minor documentation updates to big code improvements, are welcome and encouraged. | ||
|
||
To ensure good development of the tool, we try to coordinate contributions. | ||
However, we are happy to help overcome any steps that may pose issues for contributors. | ||
|
@@ -42,19 +42,19 @@ ensure `flake8` and `black` are installed: | |
and then from the main directory of this repository run | ||
|
||
|
||
flake8: | ||
`flake8`: | ||
``` | ||
flake8 . | ||
``` | ||
|
||
and black: | ||
and `black`: | ||
|
||
``` | ||
black -l 160 --check --diff . | ||
``` | ||
|
||
If you'd like to see the details of the configuration `flake8` is using, check the `.flake8` file in the main directory. | ||
The black linting uses the default [black style](https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html) (for v23.3.0), with only the command line options shown above. | ||
The `black` linting uses the default [black style](https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html) (for v23.3.0), with only the command line options shown above. | ||
|
||
|
||
## Updating Documentation | ||
|
@@ -65,7 +65,7 @@ For that reason, whenever you make a change you should consider whether this req | |
If the change is user-facing it almost certainly does require a documentation update. | ||
|
||
Documentation is **very important** to us. | ||
Therefore, we will be picky and make sure it is done well! | ||
Therefore, we will be meticulous and make sure it is done well! | ||
However, we don't want to put extra burden on you, so we are happy to help and will make our own edits and updates to improve the documentation of your change. | ||
|
||
We appreciate you putting in some effort and thought to ensure: | ||
|
@@ -76,7 +76,7 @@ We appreciate you putting in some effort and thought to ensure: | |
|
||
### Technical details of the documentation | ||
|
||
We use [mkdocs](www.mkdocs.org) to produce the static website that documents combine. | ||
We use [mkdocs](www.mkdocs.org) to produce the static website that documents <span style="font-variant:small-caps;">Combine</span>. | ||
|
||
The documentation files are all under the `docs/` folder. | ||
Which pages get included in the site, and other configuration details are set in the `mkdocs.yml` file. | ||
|
@@ -97,17 +97,17 @@ mkdocs serve | |
|
||
from the main repository directory. mkdocs will then print a link you can open to check the page generated in your browser. | ||
|
||
**NOTE:** mkdocs builds which use internal links (or images etc) with absolute paths will work for local deployment, but will break when deployed to the public documentations pages. | ||
Please ensure you use relative paths. Currently, this is the only known feature where the behvaiour differs between local mkdocs and public pages deployment. | ||
**NOTE:** mkdocs builds that use internal links (or images, etc.) with absolute paths will work for local deployment, but will break when deployed to the public documentations pages. | ||
Please ensure you use relative paths. Currently, this is the only known feature where the behvaiour differs between local mkdocs and public page deployment. | ||
If you'd like to test the deployment directly, the suggested method is to set up a docs page using your personal github account; this should mimic the exact settings of the official page. | ||
|
||
## Big Contributions | ||
|
||
We welcome large contributions to combine. | ||
We welcome large contributions to <span style="font-variant:small-caps;">Combine</span>. | ||
Note, however, that we also follow long term planning, and there is a dedicated group stewarding the overall direction and development of the code. | ||
|
||
This means that the code development should fit in with our long term vision; | ||
if you have an idea for a big improvement or change it will be most efficient if you [contact us](mailto:[email protected]) first, in order to ensure that we can integrate it as seemlessly as possible into our plans. | ||
if you have an idea for a big improvement or change it will be most efficient if you [contact us](mailto:[email protected]) first, in order to ensure that we can integrate it as seamlessly as possible into our plans. | ||
This will simplify any potential conflicts when you make your pull request. | ||
|
||
## Requested Contributions | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.