Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contributing and overall doc comments #1308

Merged
merged 39 commits into from
Mar 8, 2023
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
40914d9
move CONTRIBUTING to top level
Zeitsperre Feb 27, 2023
e130bf8
add license information to README.rst
Zeitsperre Feb 27, 2023
dd7db71
add sphinx-autodoc-typehints
Zeitsperre Feb 27, 2023
2916280
Merge branch 'add_repo_badges-docfix' into reviewer_1_comments
Zeitsperre Feb 27, 2023
f6d6b6b
update history
Zeitsperre Feb 27, 2023
7d78c8e
Add table of contents to API page
Zeitsperre Feb 27, 2023
50c2ad7
Merge branch 'master' into reviewer_1_comments
Zeitsperre Mar 1, 2023
d34c9a5
no longer use generic type for Mapping when parameters are always dicts
Zeitsperre Mar 1, 2023
23216ae
Deal with type hinting warnings within class variable signatures
Zeitsperre Mar 1, 2023
2ef0865
Move SDBA API into API documentation
Zeitsperre Mar 1, 2023
1180825
docstring fixes, mark note about class types
Zeitsperre Mar 1, 2023
9ee2d61
fix default and value signatures
Zeitsperre Mar 1, 2023
d2076b3
make top-most info into note
Zeitsperre Mar 1, 2023
f5b600a
update HISTORY.rst
Zeitsperre Mar 1, 2023
c89d850
collect API documentation under API pages, restructure API documentat…
Zeitsperre Mar 2, 2023
b30434c
split developer functions to developer API
Zeitsperre Mar 2, 2023
f5b0c0c
add new linkcheck exceptions, fix references
Zeitsperre Mar 2, 2023
b48f97d
Clean up wording
Zeitsperre Mar 2, 2023
d19605a
(WIP) More restructuring - working hyperlinks for indicators and indi…
Zeitsperre Mar 2, 2023
acb8a0e
use new generation method on RtD
Zeitsperre Mar 3, 2023
66623df
Stage page detailing why use xclim and comparison to other projects
Zeitsperre Mar 3, 2023
5e7b91b
finally remove llvmlite workaround
Zeitsperre Mar 3, 2023
7c5fe5a
fix linking of targets to prevent collisions on ReadTheDocs
Zeitsperre Mar 3, 2023
0f55bee
fix link
Zeitsperre Mar 3, 2023
ed25808
Update docs/explanation.rst
Zeitsperre Mar 6, 2023
8da44a9
history to CHANGES.rst/changelog
Zeitsperre Mar 6, 2023
03aca77
note about indices and indicators
Zeitsperre Mar 6, 2023
d6aa953
update changelog formatter
Zeitsperre Mar 6, 2023
76c044e
Merge branch 'master' into reviewer_1_comments
Zeitsperre Mar 6, 2023
3817c83
fix bad merge
Zeitsperre Mar 6, 2023
9bba321
make note about Purpose section
Zeitsperre Mar 7, 2023
1531dfd
Working version of purpose and add explanations for similarities with…
Zeitsperre Mar 8, 2023
379e400
Apply suggestions from code review
Zeitsperre Mar 8, 2023
57e9e12
Merge branch 'master' into reviewer_1_comments
Zeitsperre Mar 8, 2023
3208975
add OGC exception
Zeitsperre Mar 8, 2023
f3efd69
Merge remote-tracking branch 'origin/reviewer_1_comments' into review…
Zeitsperre Mar 8, 2023
446dab5
increase tolerance level in test
Zeitsperre Mar 8, 2023
5a1ca6b
fix makefile calls
Zeitsperre Mar 8, 2023
87696b1
[skip ci] update history
Zeitsperre Mar 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Internal changes
* Adding infer context to the unit conversion in of the training of ExtremeValues. (:pull:`1299`).
* Added `sphinxcontrib-svg2pdfconverter` for converting SVG graphics within documentation to PDF-compatible images. (:pull:`1296`).
* README badges for supported Python versions and repository health have been added. (:issue:`1304`, :pull:`1307`).
* CONTRIBUTING has been moved to the top level, license information clearly in README, use of `sphinx-autodoc-typehints` in documentation. (:issue:`1305`, :pull:`1308`).

0.40.0 (2023-01-13)
-------------------
Expand Down
12 changes: 10 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,21 @@ xclim is in active development and is being used in production by climate servic
* If you would like to contribute code or documentation (which is greatly appreciated!), check out the `Contributing Guidelines`_ before you begin!

.. _issue tracker: https://github.com/Ouranosinc/xclim/issues
.. _Contributing Guidelines: https://github.com/Ouranosinc/xclim/blob/master/.github/CONTRIBUTING.rst
.. _Contributing Guidelines: https://github.com/Ouranosinc/xclim/blob/master/CONTRIBUTING.rst

How to cite this library
------------------------
If you wish to cite xclim in a research publication, we kindly ask that you use the bibliographical reference information available through `Zenodo`_

.. _Zenodo: https://doi.org/10.5281/zenodo.2795043
.. _Zenodo: https://doi.org/10.5281/zenodo.2795043S

License
-------
This is free software: you can redistribute it and/or modify it under the terms of the `Apache License 2.0`_. A copy of this license is provided in the code repository (`LICENSE`_).


.. _Apache License 2.0: https://opensource.org/license/apache-2-0/
.. _LICENSE: https://github.com/Ouranosinc/xclim/blob/master/LICENSE

Credits
-------
Expand Down
5 changes: 5 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ The API of the statistical downscaling and bias adjustment module (sdba) is docu
The API of the ``cfchecks``, ``datachecks``, ``missing`` and ``dataflags`` modules are in :ref:`checks:Health Checks`.
Finally, the API of the translating tools is on the :ref:`internationalization:Internationalization` page.

.. contents:: Table of Contents
:depth: 1
:local:
:backlinks: none

Indicators
==========

Expand Down
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ def _indicator_table(module):
"autodoc_indicator",
"sphinxcontrib.bibtex",
"sphinxcontrib.cairosvgconverter",
"sphinx_autodoc_typehints",
"sphinx_codeautolink",
"sphinx_copybutton",
"sphinx_rtd_theme",
Expand Down
2 changes: 1 addition & 1 deletion docs/contributing.rst
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.. include:: ../.github/CONTRIBUTING.rst
.. include:: ../CONTRIBUTING.rst
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ dependencies:
- pytest-cov
- pytest-xdist>=3.2
- sphinx
- sphinx-autodoc-typehints
- sphinx-codeautolink
- sphinx-copybutton
- sphinx-rtd-theme>=1.0
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ dev = [
"netCDF4 >=1.4",
"pooch",
"sphinx",
"sphinx-autodoc-typehints",
"sphinx-codeautolink",
"sphinx-copybutton",
"sphinx-rtd-theme >=1.0",
Expand Down