Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Order the example sections manually (#1152)
Fix part of #1019 ✅ We can set an explicit order for the subsections (the categories of examples): ```python # list of examples in explicit order subsections_order = [ "../examples/getting_started", "../examples/model_evaluation", ] sphinx_gallery_conf = { # ... "subsection_order": ExplicitOrder(subsections_order), # sorting gallery subsections, # ... } ``` ❌ Inside a subsection, we can sort the examples by example title: ```python sphinx_gallery_conf = { # ... "within_subsection_order": "ExampleTitleSortKey", # ... } ``` but I can't set an explicit order myself for the examples in `getting_started` and in `model_evaluation`. This will be for another PR.
- Loading branch information