Skip to content

Commit c63ed4c

Browse files
authored
add advanced examples to rtd (#2413)
* add advanced examples to rtd * cleanup
1 parent 0939a09 commit c63ed4c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

docs/conf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
# documentation root, use os.path.abspath to make it absolute, like shown here.
2626
HERE = osp.abspath(osp.dirname(__file__))
2727
sys.path.insert(0, os.path.abspath("."))
28-
sys.path.insert(0, "../examples")
2928
sys.path.insert(0, "../mesa")
3029

3130

@@ -318,7 +317,7 @@ def setup_examples_pages():
318317
# check what examples exist
319318
examples_folder = osp.abspath(osp.join(HERE, "..", "mesa", "examples"))
320319
basic_examples = [f.path for f in os.scandir(osp.join(examples_folder, "basic")) if f.is_dir() and not f.name.startswith("__") ]
321-
advanced_examples = [] # fixme [f.path for f in os.scandir(osp.join(examples_folder, "advanced")) if f.is_dir()]
320+
advanced_examples = [f.path for f in os.scandir(osp.join(examples_folder, "advanced")) if f.is_dir() and not f.name.startswith("__")]
322321
examples = basic_examples + advanced_examples
323322

324323
with open(os.path.join(HERE, "example_template.txt")) as fh:
File renamed without changes.

0 commit comments

Comments
 (0)