Skip to content

Commit

Permalink
add advanced examples to rtd (#2413)
Browse files Browse the repository at this point in the history
* add advanced examples to rtd

* cleanup
  • Loading branch information
quaquel authored Oct 24, 2024
1 parent 0939a09 commit c63ed4c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
HERE = osp.abspath(osp.dirname(__file__))
sys.path.insert(0, os.path.abspath("."))
sys.path.insert(0, "../examples")
sys.path.insert(0, "../mesa")


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

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

0 comments on commit c63ed4c

Please sign in to comment.