|
111 | 111 | 'github_project': 'hvplot', |
112 | 112 | 'examples_dir': '.', |
113 | 113 | 'galleries': { |
114 | | - 'reference': { |
| 114 | + 'gallery': { |
115 | 115 | 'title': 'Gallery', |
116 | 116 | 'intro': ( |
117 | | - 'Find the list of supported libraries on `this page <../ref/data_libraries.html>`_.' |
| 117 | + 'Explore a curated set of example visualizations using hvPlot ' |
| 118 | + 'with different backends and datasets. For more examples using ' |
| 119 | + 'hvPlot and other HoloViz tools to solve real world problems, ' |
| 120 | + 'see the ' |
| 121 | + '`HoloViz Examples website <https://examples.holoviz.org>`_.' |
118 | 122 | ), |
119 | 123 | 'sections': [ |
120 | | - 'tabular', |
121 | | - 'geopandas', |
122 | | - 'xarray', |
| 124 | + { |
| 125 | + 'path': 'basic-charts', |
| 126 | + 'title': 'Basic Charts', |
| 127 | + }, |
| 128 | + 'categorical', |
| 129 | + 'multidimensional', |
| 130 | + 'statistical', |
| 131 | + { |
| 132 | + 'path': 'time-series', |
| 133 | + 'title': 'Time Series', |
| 134 | + }, |
| 135 | + 'geospatial', |
| 136 | + 'gridded', |
| 137 | + { |
| 138 | + 'path': 'big-data', |
| 139 | + 'title': 'Big Data', |
| 140 | + }, |
| 141 | + 'interactivity', |
| 142 | + 'annotations', |
123 | 143 | ], |
124 | 144 | 'skip_rst_notebook_directive': True, |
| 145 | + 'no_image_thumb': True, |
| 146 | + 'titles_from_files': True, |
| 147 | + 'card_title_below': True, |
125 | 148 | } |
126 | 149 | }, |
127 | 150 | 'thumbnail_url': 'https://assets.holoviz.org/hvplot/thumbnails', |
|
174 | 197 | # cell execution timeout in seconds (-1 to ignore, 30 by default) |
175 | 198 | nb_execution_timeout = 240 |
176 | 199 |
|
177 | | -if os.getenv('HVPLOT_REFERENCE_GALLERY') not in ('False', 'false', '0'): |
| 200 | +if os.getenv('HVPLOT_GALLERY') not in ('False', 'false', '0'): |
178 | 201 | rediraffe_redirects.update( |
179 | 202 | { |
| 203 | + # When the old reference gallery was removed |
| 204 | + 'reference/tabular/andrewscurves': 'ref/api/manual/hvplot.plotting.andrews_curves', |
| 205 | + 'reference/tabular/area': 'ref/api/manual/hvplot.hvPlot.area', |
| 206 | + 'reference/tabular/bar': 'ref/api/manual/hvplot.hvPlot.bar', |
| 207 | + 'reference/tabular/barh': 'ref/api/manual/hvplot.hvPlot.barh', |
| 208 | + 'reference/tabular/bivariate': 'ref/api/manual/hvplot.hvPlot.bivariate', |
| 209 | + 'reference/tabular/box': 'ref/api/manual/hvplot.hvPlot.box', |
| 210 | + 'reference/tabular/errorbars': 'ref/api/manual/hvplot.hvPlot.errorbars', |
| 211 | + 'reference/tabular/heatmap': 'ref/api/manual/hvplot.hvPlot.heatmap', |
| 212 | + 'reference/tabular/hexbin': 'ref/api/manual/hvplot.hvPlot.hexbin', |
| 213 | + 'reference/tabular/hist': 'ref/api/manual/hvplot.hvPlot.hist', |
| 214 | + 'reference/tabular/kde': 'ref/api/manual/hvplot.hvPlot.kde', |
| 215 | + 'reference/tabular/labels': 'ref/api/manual/hvplot.hvPlot.labels', |
| 216 | + 'reference/tabular/lagplot': 'ref/api/manual/hvplot.plotting.lag_plot', |
| 217 | + 'reference/tabular/line': 'ref/api/manual/hvplot.hvPlot.line', |
| 218 | + 'reference/tabular/ohlc': 'ref/api/manual/hvplot.hvPlot.ohlc', |
| 219 | + 'reference/tabular/parallelcoordinates': 'ref/api/manual/hvplot.plotting.parallel_coordinates', |
| 220 | + 'reference/tabular/scatter': 'ref/api/manual/hvplot.hvPlot.scatter', |
| 221 | + 'reference/tabular/scattermatrix': 'ref/api/manual/hvplot.plotting.scatter_matrix', |
| 222 | + 'reference/tabular/step': 'ref/api/manual/hvplot.hvPlot.step', |
| 223 | + 'reference/tabular/table': 'ref/api/manual/hvplot.hvPlot.table', |
| 224 | + 'reference/tabular/violin': 'ref/api/manual/hvplot.hvPlot.violin', |
| 225 | + 'reference/geopandas/points': 'ref/api/manual/hvplot.hvPlot.points', |
| 226 | + 'reference/geopandas/polygons': 'ref/api/manual/hvplot.hvPlot.polygons', |
| 227 | + 'reference/xarray/bar': 'ref/api/manual/hvplot.hvPlot.bar', |
| 228 | + 'reference/xarray/contour': 'ref/api/manual/hvplot.hvPlot.contour', |
| 229 | + 'reference/xarray/contourf': 'ref/api/manual/hvplot.hvPlot.contourf', |
| 230 | + 'reference/xarray/hist': 'ref/api/manual/hvplot.hvPlot.hist', |
| 231 | + 'reference/xarray/image': 'ref/api/manual/hvplot.hvPlot.image', |
| 232 | + 'reference/xarray/kde': 'ref/api/manual/hvplot.hvPlot.kde', |
| 233 | + 'reference/xarray/line': 'ref/api/manual/hvplot.hvPlot.line', |
| 234 | + 'reference/xarray/quadmesh': 'ref/api/manual/hvplot.hvPlot.quadmesh', |
| 235 | + 'reference/xarray/rgb': 'ref/api/manual/hvplot.hvPlot.rgb', |
| 236 | + 'reference/xarray/vectorfield': 'ref/api/manual/hvplot.hvPlot.vectorfield', |
| 237 | + 'reference/xarray/violin': 'ref/api/manual/hvplot.hvPlot.violin', |
180 | 238 | # When the pandas section was renamed tabular: |
181 | 239 | 'reference/pandas/andrewscurves': 'reference/tabular/andrewscurves', |
182 | 240 | 'reference/pandas/area': 'reference/tabular/area', |
|
204 | 262 | else: |
205 | 263 | if 'nbsite.gallery' in extensions: |
206 | 264 | extensions.remove('nbsite.gallery') |
207 | | - exclude_patterns.append('reference') |
208 | | - nb_execution_excludepatterns.append('reference/**/*.ipynb') |
| 265 | + exclude_patterns.append('gallery') |
| 266 | + nb_execution_excludepatterns.append('gallery/**/*.ipynb') |
209 | 267 |
|
210 | 268 | if os.getenv('HVPLOT_EXECUTE_NBS_USER_GUIDE') in ('False', 'false', '0'): |
211 | 269 | nb_execution_excludepatterns.append('user_guide/**/*.ipynb') |
|
0 commit comments