Skip to content

Add user stories #81

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

Merged
merged 16 commits into from
Mar 23, 2022
Merged
4 changes: 4 additions & 0 deletions ci/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ dependencies:
- numpydoc
- numpy_groupies
- toolz
- matplotlib-base
- myst-parser
- myst-nb
- sphinx
- furo
- ipykernel
- jupyter
- pip:
- git+https://github.com/dcherian/flox
12 changes: 12 additions & 0 deletions docs/source/_static/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.xr-wrap {
font-size: 0.85em;
margin-left: 1.25em;
padding-left: 1.25em;
border-left: thin var(--color-foreground-muted) solid;
}
.xr-array-wrap, .xr-var-data, .xr-var-preview {
font-size: 0.9em;
}
.gp {
color: darkorange;
}
2 changes: 1 addition & 1 deletion docs/source/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ Aggregation Objects
:toctree: generated/

aggregations.Aggregation
aggregations.sum
aggregations.sum_
aggregations.nansum
10 changes: 7 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
import sys

import flox
import flox.aggregations
import flox.visualize
import flox.xarray

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
Expand All @@ -29,14 +32,14 @@

# -- General configuration -----------------------------------------------------
extensions = [
"myst_parser",
"sphinx.ext.autodoc",
"sphinx.ext.viewcode",
"sphinx.ext.autosummary",
"sphinx.ext.intersphinx",
"sphinx.ext.extlinks",
"numpydoc",
"sphinx.ext.napoleon",
"myst_nb",
]

extlinks = {
Expand All @@ -45,7 +48,7 @@
}

templates_path = ["_templates"]
source_suffix = [".rst", ".md"]
source_suffix = [".rst"]
master_doc = "index"
language = "en"

Expand Down Expand Up @@ -117,7 +120,8 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
# html_static_path = ["_static"]
html_static_path = ["_static"]
html_css_files = ["style.css"]

# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
Expand Down
1 change: 1 addition & 0 deletions docs/source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ It was motivated by many discussions in the [Pangeo](https://pangeo.io) communit
implementation.md
custom.md
api.rst
user-stories.md
```
8 changes: 8 additions & 0 deletions docs/source/user-stories.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# User Stories

```{eval-rst}
.. toctree::
:maxdepth: 1

user-stories/climatology.ipynb
```
Loading