-
Notifications
You must be signed in to change notification settings - Fork 29
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
📚 New docs theme & Add comments #74
Merged
Merged
Changes from 5 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
3b302e4
Use conda
andersy005 04b9dd4
Formatting only
andersy005 3c1f6e1
Use myst-nb/myst-parser
andersy005 36af4b6
Use sphinx-book-theme
andersy005 8b39c5d
Enable comments
andersy005 c061c78
Update docs
andersy005 b93324e
Fix typo
andersy005 c928307
Update main page
andersy005 bb7251a
Fix html_static_path warning
andersy005 58d368c
Fix _static issue
andersy005 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# POP-tools: Tools to support analysis of POP2-CESM model solutions with xarray | ||
|
||
| CI | [![GitHub Workflow Status][github-ci-badge]][github-ci-link] [![GitHub Workflow Status][github-lint-badge]][github-lint-link] [![Code Coverage Status][codecov-badge]][codecov-link] | | ||
| :---------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | | ||
| **Docs** | [![Documentation Status][rtd-badge]][rtd-link] | | ||
| **Package** | [![Conda][conda-badge]][conda-link] [![PyPI][pypi-badge]][pypi-link] | | ||
| **License** | [![License][license-badge]][repo-link] | | ||
|
||
## Installation | ||
|
||
pop-tools can be installed from PyPI with pip: | ||
|
||
```bash | ||
python -m pip install pop-tools | ||
``` | ||
|
||
pop-tools is also available from conda-forge for conda installations: | ||
|
||
```bash | ||
conda install -c conda-forge pop-tools | ||
``` | ||
|
||
See [documentation](https://pop-tools.readthedocs.io) for more information. | ||
|
||
[github-ci-badge]: https://img.shields.io/github/workflow/status/NCAR/pop-tools/CI?label=CI&logo=github&style=for-the-badge | ||
[github-lint-badge]: https://img.shields.io/github/workflow/status/NCAR/pop-tools/linting?label=linting&logo=github&style=for-the-badge | ||
[github-ci-link]: https://github.com/NCAR/pop-tools/actions?query=workflow%3ACI | ||
[github-lint-link]: https://github.com/NCAR/pop-tools/actions?query=workflow%3Alinting | ||
[codecov-badge]: https://img.shields.io/codecov/c/github/NCAR/pop-tools.svg?logo=codecov&style=for-the-badge | ||
[codecov-link]: https://codecov.io/gh/NCAR/pop-tools | ||
[rtd-badge]: https://img.shields.io/readthedocs/pop-tools/latest.svg?style=for-the-badge | ||
[rtd-link]: https://pop-tools.readthedocs.io/en/latest/?badge=latest | ||
[pypi-badge]: https://img.shields.io/pypi/v/pop-tools?logo=pypi&style=for-the-badge | ||
[pypi-link]: https://pypi.org/project/pop-tools | ||
[conda-badge]: https://img.shields.io/conda/vn/conda-forge/pop-tools?logo=anaconda&style=for-the-badge | ||
[conda-link]: https://anaconda.org/conda-forge/pop-tools | ||
[license-badge]: https://img.shields.io/github/license/NCAR/pop-tools?style=for-the-badge | ||
[repo-link]: https://github.com/NCAR/pop-tools |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* Reduce left and right margins */ | ||
|
||
.container, | ||
.container-lg, | ||
.container-md, | ||
.container-sm, | ||
.container-xl { | ||
max-width: 1600px !important; | ||
} | ||
|
||
/* Make sidebar sticky */ | ||
|
||
.bd-sidebar { | ||
position: sticky !important; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: pop-tools-docs | ||
channels: | ||
- conda-forge | ||
- nodefaults | ||
dependencies: | ||
- dask | ||
- fsspec | ||
- jupyterlab | ||
- matplotlib | ||
- myst-nb | ||
- netcdf4 | ||
- numba | ||
- pip | ||
- pooch | ||
- python=3.8 | ||
- sphinx-book-theme >= 0.0.38 | ||
- sphinx-copybutton | ||
- watermark | ||
- xarray | ||
- xgcm | ||
- zarr | ||
- pip: | ||
- sphinxext-opengraph | ||
- sphinx-comments | ||
- -r ../requirements.txt | ||
- -e .. |
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
```{include} ../../README.md | ||
|
||
``` | ||
|
||
## Feedback | ||
|
||
If you encounter any errors or problems with **pop-tools**, please open an issue at the GitHub [main repository](http://github.com/NCAR/pop-tools/issues). | ||
|
||
## Documentation Contents | ||
|
||
```{toctree} | ||
--- | ||
maxdepth: 2 | ||
caption: User Guide | ||
--- | ||
install.md | ||
examples | ||
``` | ||
|
||
```{toctree} | ||
--- | ||
maxdepth: 2 | ||
caption: Reference | ||
--- | ||
api.rst | ||
``` |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mnlevy1981, does POP have a logo we could use here? If so, could you point me to it when you get a moment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think there is one, but I've asked one of the LANL developers to be sure. I'll let you know if I hear anything back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!