Skip to content

Commit

Permalink
move examples and fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
alanlujan91 committed Nov 20, 2024
1 parent f801de7 commit 61c597d
Show file tree
Hide file tree
Showing 77 changed files with 4 additions and 34 deletions.
7 changes: 1 addition & 6 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,7 @@
]

source_suffix = [".rst", ".md"]
# Makes sure that only the file we want documented get documented
include_patterns = ["**", "index.rst"]
# Adds example notebooks
with open(os.path.join(dir, "example_notebooks", "Include_list.txt"), "r") as file:
include_patterns += file.readlines()
include_patterns = [i.replace("\n", "") for i in include_patterns]

# Prevents sphinx from getting confused
exclude_patterns = [
"_build",
Expand Down
14 changes: 0 additions & 14 deletions docs/example_notebooks/Include_list.txt

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
17 changes: 3 additions & 14 deletions docs/overview/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,11 @@ Overview
.. nbgallery::
:caption: Examples
:glob:
:maxdepth: 1

../../examples/Gentle-Intro/Gentle-Intro-To-HARK.ipynb
../../examples/LifecycleModel/Cycles_tutorial.ipynb
../../examples/ConsIndShockModel/PerfForesightConsumerType.ipynb
../../examples/ConsIndShockModel/IndShockConsumerType.ipynb
../../examples/ConsIndShockModel/KinkedRconsumerType.ipynb
../../examples/ConsPortfolioModel/example_ConsPortfolioModel.ipynb
../../examples/GenIncProcessModel/GenIncProcessModel.ipynb
../../examples/LifecycleModel/LifecycleModel.ipynb
../../examples/HowWeSolveIndShockConsumerType/HowWeSolveIndShockConsumerType.ipynb
../../examples/Journeys/Journey-PhD.ipynb
../../examples/ConsNewKeynesianModel/Transition_Matrix_Example.ipynb
../../examples/ConsNewKeynesianModel/Jacobian_Example.ipynb
../../examples/ConsNewKeynesianModel/KS-HARK-presentation.ipynb
../../examples/ConsNewKeynesianModel/SSJ_example.ipynb
../examples/*/*
../examples/*/*/*

.. toctree::
:hidden:
Expand Down

0 comments on commit 61c597d

Please sign in to comment.