Skip to content

Commit

Permalink
Merge branch 'master' into flake8-fix-ignored-errors
Browse files Browse the repository at this point in the history
  • Loading branch information
vfdev-5 authored Feb 1, 2021
2 parents 81fef89 + 07da5ea commit 514b8f4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
code-style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.8"
Expand Down
12 changes: 11 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,17 @@ git merge upstream/master
### Writing documentation

Ignite uses [Google style](http://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html)
for formatting docstrings. Length of line inside docstrings block must be limited to 120 characters.
for formatting docstrings and

- [`.. versionadded::`] directive for adding new classes, class methods, functions,
- [`.. versionchanged::`] directive for adding new arguments, changing internal behaviours, fixing bugs and
- [`.. deprecated::`] directive for deprecations.

Length of line inside docstrings block must be limited to 120 characters.

[`.. versionadded::`]: https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-versionadded
[`.. versionchanged::`]: https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-versionchanged
[`.. deprecated::`]: https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-deprecated

#### Local documentation building and deploying

Expand Down

0 comments on commit 514b8f4

Please sign in to comment.