# Link an example notebook to online documentation

**URL:** <https://discourse.pymc.io/t/link-an-example-notebook-to-online-documentation/2990>\
**Category:** Questions\
**Tags:** doc\
**Created:** [March 25, 2019, 7:55pm UTC](https://discourse.pymc.io/t/link-an-example-notebook-to-online-documentation/2990 "2019-03-25T19:55:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmloyola](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/jmloyola/32/1530_2.png) [@jmloyola](https://discourse.pymc.io/u/jmloyola)\
**Post date:** [March 25, 2019, 7:55pm UTC](https://discourse.pymc.io/t/link-an-example-notebook-to-online-documentation/2990/1 "2019-03-25T19:55:06Z")

</div>

What should I do to link an example notebook to online documentation?

I created a [notebook](https://github.com/pymc-devs/pymc3/blob/master/docs/source/notebooks/data_container.ipynb) that shows the usage of a class in PyMC3 and I tried to link it to online documentation by changing this [file](https://github.com/pymc-devs/pymc3/blob/master/docs/source/notebooks/table_of_contents_tutorials.js). This didn’t work (the notebook doesn’t appear in the [Tutorials page](https://docs.pymc.io/nb_tutorials/index.html)).

Do I need to modify more files to make it work?

I realize that the notebooks are in `html` format in the online documentation, so maybe I need to compile the documentation first. Is this correct?

---

<div class="post-metadata">

**Author:** ![junpenglao](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/junpenglao/32/8_2.png) [@junpenglao](https://discourse.pymc.io/u/junpenglao)\
**Post date:** [March 25, 2019, 8:01pm UTC](https://discourse.pymc.io/t/link-an-example-notebook-to-online-documentation/2990/2 "2019-03-25T20:01:07Z")

</div>

I closed this as it is duplicated with [How to compile the documentation for the API?](https://discourse.pymc.io/t/how-to-compile-the-documentation-for-the-api/2988)

---

<div class="post-metadata">

**Author:** ![junpenglao](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/junpenglao/32/8_2.png) [@junpenglao](https://discourse.pymc.io/u/junpenglao)\
**Post date:** [March 25, 2019, 8:01pm UTC](https://discourse.pymc.io/t/link-an-example-notebook-to-online-documentation/2990/3 "2019-03-25T20:01:12Z")

</div>



---

<div class="post-metadata">

**Author:** ![junpenglao](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/junpenglao/32/8_2.png) [@junpenglao](https://discourse.pymc.io/u/junpenglao)\
**Post date:** [March 25, 2019, 8:17pm UTC](https://discourse.pymc.io/t/link-an-example-notebook-to-online-documentation/2990/4 "2019-03-25T20:17:51Z")

</div>



---

<div class="post-metadata">

**Author:** ![junpenglao](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/junpenglao/32/8_2.png) [@junpenglao](https://discourse.pymc.io/u/junpenglao)\
**Post date:** [March 25, 2019, 8:21pm UTC](https://discourse.pymc.io/t/link-an-example-notebook-to-online-documentation/2990/5 "2019-03-25T20:21:23Z")

</div>

To answer your question, submitting a PR to change that [file](https://github.com/pymc-devs/pymc3/blob/master/docs/source/notebooks/table_of_contents_tutorials.js) is correct. It is not appearing because the doc is only updated/push at each release now.
