Skip to content

Commit bc6f267

Browse files
authored
Merge branch 'main' into cfxr_coord_disamb
2 parents db3c9dc + eb6da26 commit bc6f267

32 files changed

+3830
-175
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,6 @@ ENV/
107107

108108
# temp files
109109
*.swp
110+
111+
# other configs
112+
imgui.ini

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ci:
77

88
repos:
99
- repo: https://github.com/psf/black
10-
rev: 24.3.0
10+
rev: 24.4.2
1111
hooks:
1212
- id: black
1313
language_version: python3

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ recursive-include docs *.ipynb
1616
recursive-exclude * .ipynb_checkpoints/*
1717
recursive-exclude docs/_build *
1818
recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif
19+
recursive-include docs *.py
1920
recursive-include yt_xarray *.py

docs/conf.py

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"sphinx.ext.autosectionlabel",
3939
"nbsphinx",
4040
]
41-
41+
suppress_warnings = ["autosectionlabel.*"]
4242
# Add any paths that contain templates here, relative to this directory.
4343
templates_path = ["_templates"]
4444

@@ -53,7 +53,7 @@
5353

5454
# General information about the project.
5555
project = "yt_xarray"
56-
copyright = "2022, Chris Havlin"
56+
copyright = "2024, Chris Havlin"
5757
author = "Chris Havlin"
5858

5959
# The version info for the project you're documenting, acts as replacement
@@ -70,7 +70,9 @@
7070
#
7171
# This is also used if you do content translation via gettext catalogs.
7272
# Usually you set "language" from the command line for these cases.
73-
language = None
73+
language = "en"
74+
75+
toc_object_entries_show_parents = "hide"
7476

7577
# List of patterns, relative to source directory, that match files and
7678
# directories to ignore when looking for source files.
@@ -95,7 +97,14 @@
9597
# theme further. For a list of options available for each theme, see the
9698
# documentation.
9799
#
98-
# html_theme_options = {}
100+
html_theme_options = {
101+
"fixed_sidebar": True,
102+
"github_button": True,
103+
"github_user": "data-exp-lab",
104+
"github_repo": "yt_xarray",
105+
"github_count": False,
106+
"github_type": "no-text",
107+
}
99108

100109
# Add any paths that contain custom static files (such as style sheets) here,
101110
# relative to this directory. They are copied after the builtin static files,

docs/examples.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ Example Notebooks
1010
examples/example_004_xr_yt_cartopy
1111
examples/example_005_chunked_data
1212
examples/example_006_yt_method_access
13+
examples/example_007_interpolation
14+
examples/example_008_interpolation_with_refinement
15+
examples/example_009_custom_transformations
16+
examples/example_010_custom_interpolations
1317

1418
These notebooks demonstrate `yt_xarray` usage:
1519

@@ -19,3 +23,7 @@ These notebooks demonstrate `yt_xarray` usage:
1923
- Example 004: :doc:`examples/example_004_xr_yt_cartopy`
2024
- Example 005: :doc:`examples/example_005_chunked_data`
2125
- Example 006: :doc:`examples/example_006_yt_method_access`
26+
- Example 007: :doc:`examples/example_007_interpolation`
27+
- Example 008: :doc:`examples/example_008_interpolation_with_refinement`
28+
- Example 009: :doc:`examples/example_009_custom_transformations`
29+
- Example 010: :doc:`examples/example_010_custom_interpolations`

0 commit comments

Comments
 (0)