Skip to content

Commit

Permalink
extend examples (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau authored Nov 1, 2023
2 parents 847712a + 46964bd commit 36a23b8
Showing 1 changed file with 58 additions and 2 deletions.
60 changes: 58 additions & 2 deletions papyri/examples.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
""""
Examples Modules
----------------
Examples Modules Heading 1
==========================
This module contains examples, none of the functions, classes or other attribute
should have any effects when called.
Expand Down Expand Up @@ -37,6 +37,62 @@
Definition 2, paragraph 2.
.. note::
An admonition note !
This is a link to `Jupyter website <jupyter.org>`__
Code (title 2)
--------------
.. code::
from package import module
module.call("string")
Math
----
.. math::
\\pi = 3.14159
"""

"""
term
: definition
## Math
## Figures
```{figure} https://via.placeholder.com/150
:width: 100px
:align: center
Figure caption
```
## Tables
```{list-table}
:header-rows: 1
:align: center
* - Header 1
- Header 2
* - Item 1 a
- Item 2 a
* - Item 1 b
- Item 2 b
```
"""

from typing import Optional, Union
Expand Down

0 comments on commit 36a23b8

Please sign in to comment.