Skip to content

Commit

Permalink
Add a submodule of DemARK and include a notebook in the doc build for it
Browse files Browse the repository at this point in the history
  • Loading branch information
ericholscher committed Aug 8, 2019
1 parent 1716665 commit d9136e9
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "Documentation/submodules/DemARK"]
path = Documentation/submodules/DemARK
url = https://github.com/econ-ark/DemARK
2 changes: 1 addition & 1 deletion Documentation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Welcome to HARK's documentation!
:caption: Notebooks

notebooks/Gentle-Intro-To-HARK
notebooks/DCT-Copula-Illustration
submodules/DemARK/notebooks/KinkedRconsumerType

.. toctree::
:maxdepth: 2
Expand Down
12 changes: 12 additions & 0 deletions Documentation/notebooks/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Adding a notebook
-----------------

You can add a notebook here to be included in the docs by creating a symlink to an existing notebook.
This lets you keep them in the original place,
but also include them in your docs here.

This would be done with a command like this::

ln -s ../../Examples/Gentle-Intro-To-HARK.ipynb .

That would create a symlink here to the ``Examples/Gentle-Intro-To-HARK.ipynb`` notebook.
1 change: 1 addition & 0 deletions Documentation/submodules/DemARK
Submodule DemARK added at ad40b2

0 comments on commit d9136e9

Please sign in to comment.