|
22 | 22 |
|
23 | 23 | import cf |
24 | 24 |
|
| 25 | + |
25 | 26 | print("\ncf environment:") |
26 | 27 | print("-----------------") |
27 | 28 | cf.environment() |
@@ -78,7 +79,7 @@ def _get_date(): |
78 | 79 | # -- General configuration ---------------------------------------------------- |
79 | 80 |
|
80 | 81 | # If your documentation needs a minimal Sphinx version, state it here. |
81 | | -needs_sphinx = "2.3.1" |
| 82 | +needs_sphinx = "7.0.0" |
82 | 83 |
|
83 | 84 | # rst_prolog = """ |
84 | 85 | # .. |CF| replace:: """+_get_cf_version()+""" |
@@ -113,10 +114,11 @@ def _get_date(): |
113 | 114 | tokenizer_lang = "en_GB" |
114 | 115 | spelling_word_list_filename = "spelling_false_positives.txt" |
115 | 116 |
|
116 | | -# Boolean indicating whether to scan all found documents for |
117 | | -# autosummary directives, and to generate stub pages for each |
118 | | -# (http://sphinx-doc.org/latest/ext/autosummary.html) |
119 | | -autosummary_generate = True |
| 117 | +# SLB, DH NOTE: we don't want to generate these stubs as they use templates |
| 118 | +# from _templates/autosummary which override our custom sub-section lists |
| 119 | +# in our class/*.rst reference files, which we want to use directly! So this |
| 120 | +# flag setting is crucial. |
| 121 | +autosummary_generate = False |
120 | 122 |
|
121 | 123 | # Both the class’ and the __init__ method’s docstring are concatenated |
122 | 124 | # and inserted. |
@@ -157,7 +159,7 @@ def _get_date(): |
157 | 159 | "matplotlib": ("https://matplotlib.org/stable/", None), |
158 | 160 | # REVIEW: h5: new intersphinx mapping |
159 | 161 | "h5netcdf": ("https://h5netcdf.org", None), |
160 | | - "zarr": ("https://zarr.readthedocs.io", None), |
| 162 | + "zarr": ("https://zarr.readthedocs.io/en/stable/", None), |
161 | 163 | } |
162 | 164 |
|
163 | 165 | # This extension is meant to help with the common pattern of having |
|
0 commit comments