|
1 | 1 | # PyMC example gallery
|
2 | 2 |
|
3 |
| -This is a WIP website. |
| 3 | +**Welcome to the PyMC example gallery!** |
4 | 4 |
|
5 |
| -This homepage is temporarily empty while we format and categorize |
6 |
| -all example notebooks as posts. You can see the tags and |
7 |
| -categories on the left sidebar and reach the already updated notebooks |
8 |
| -from there. All notebooks are rendered in the website though, you can access them |
9 |
| -via the search bar. |
| 5 | +The PyMC example gallery is a collection of Jupyter notebooks |
| 6 | +about PyMC and its usage. These notebooks can be tutorials, |
| 7 | +case studies or in-depth explanations. |
| 8 | +Some notebooks were originally blog posts, others were adapted from books |
| 9 | +and some were written specifically for this example gallery. |
| 10 | +This homepage explains the organization of the website and provides |
| 11 | +some pointers on how to navigate it. |
| 12 | + |
| 13 | +The collection contains more than 90 notebooks. We are therefore unable |
| 14 | +to ensure notebooks are updated and re-executed at the same pace we |
| 15 | +publish PyMC releases. Consequently, PyMC has two documentation |
| 16 | +websites: the versioned docs and the example gallery |
| 17 | + |
| 18 | +## Versioned docs |
| 19 | +We publish the versioned docs directly at `docs.pymc.io`. The only additions |
| 20 | +to the url are the language and version of the documentation. |
| 21 | + |
| 22 | +The versioned docs are synced with PyMC releases and contain a handful of |
| 23 | +guides about core functionality and the API documentation among other things. |
| 24 | + |
| 25 | +## Example gallery |
| 26 | +We publish the example gallery as a sub-project of the versioned docs: `docs.pymc.io/projects/examples` |
| 27 | +This means that the building process, language and version of the |
| 28 | +example gallery are independent from the versioned docs. However, |
| 29 | +the {ref}`search bar in the versioned docs <pymc:search>` searches |
| 30 | +both the versioned docs and the example gallery at the same time |
| 31 | +(but not the other way around). |
| 32 | + |
| 33 | +We will update the notebooks in the example gallery regularly |
| 34 | +and publish the updates to the example gallery website with each commit. |
| 35 | +We recommend using the example gallery as an unversioned living |
| 36 | +resource, but we will also provide snapshots every few months for cases such as books |
| 37 | +that need links to a stable resource. |
| 38 | + |
| 39 | +You can access the snapshots from the version menu at the bottom right of the page. |
| 40 | +A version number in the `YYYY.0M.MICRO` format identifies the time the snapshot was published. |
| 41 | + |
| 42 | +--- |
| 43 | + |
| 44 | +Notebooks are treated as blog posts. The metadata of each notebook |
| 45 | +describes its topics and type of content via tags and categories |
| 46 | +and the last update date. We believe that tags and categories |
| 47 | +ease and improve navigation (as opposed to a fixed topic division/hierarchy). |
| 48 | +In addition, we also provide a list of recent updates and a search bar in the |
| 49 | +navigation bar at the top of the page. |
| 50 | + |
| 51 | +:::{caution} |
| 52 | +The website is still under construction. Thus, not all notebooks have been updated |
| 53 | +to include all the relevant metadata. Those notebooks can only be reached |
| 54 | +from the search bar. |
| 55 | +::: |
| 56 | + |
| 57 | +### Categories |
| 58 | +Notebooks have at most two categories, one indicating the level of the |
| 59 | +notebook and another indicating the type of content according to the |
| 60 | +[diataxis framework](https://diataxis.fr/). The left sidebar |
| 61 | +shows all 7 categories (3 levels + 4 types) at all times. You can click |
| 62 | +there to reach the page listing all the notebooks in that category. |
| 63 | +If a page has some categories in its metadata they are highlighted in green |
| 64 | +in the category list. |
| 65 | + |
| 66 | +### Tags |
| 67 | +Notebooks can have any number of tags. Each tag represents a specific topic |
| 68 | +of potential interest to readers or a pymc object used within that notebook. |
| 69 | + |
| 70 | +The left sidebar shows all tags at all times. Like categories, they can be clicked |
| 71 | +on to reach the page listing all notebooks that contain the tag. If a notebook |
| 72 | +has tags in its metadata they are listed on the right sidebar after the {fas}`tags` icon. |
10 | 73 |
|
11 | 74 | :::{toctree}
|
12 |
| -:maxdepth: 2 |
| 75 | +:maxdepth: 1 |
| 76 | +:hidden: |
| 77 | + |
13 | 78 | blog
|
14 | 79 | :::
|
0 commit comments