Skip to content

Commit

Permalink
Set order of sample sub-galleries
Browse files Browse the repository at this point in the history
  • Loading branch information
speth committed Oct 2, 2023
1 parent ef9e8b8 commit d317d27
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

import sys, os, re
from pathlib import Path
from sphinx_gallery.sorting import ExplicitOrder

# 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 Down Expand Up @@ -67,6 +68,15 @@
'examples/fortran',
'examples/matlab_experimental',
],
'subsection_order': ExplicitOrder([
'../samples/python/thermo',
'../samples/python/kinetics',
'../samples/python/transport',
'../samples/python/reactors',
'../samples/python/onedim',
'../samples/python/surface_chemistry',
'../samples/python/multiphase',
]),
'reference_url': {
'cantera': None, # 'None' means the locally-documented module
}
Expand Down

0 comments on commit d317d27

Please sign in to comment.