Skip to content

Commit eecd580

Browse files
committed
toy-example in docs, myst_nb configured, logo
1 parent 6595383 commit eecd580

File tree

6 files changed

+135
-120
lines changed

6 files changed

+135
-120
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
**/.virtual_documents/
2+
graphics/logo.afdesign
23

34
# Temporary and binary files
45
*~
@@ -47,10 +48,14 @@ sdist/*
4748
docs/api/*
4849
docs/_rst/*
4950
docs/_build/*
51+
docs/jupyter_execute/*
5052
cover/*
5153
MANIFEST
5254

5355
# Per-project virtualenvs
5456
.venv*/
5557
.conda*/
5658
.python-version
59+
60+
# MyST build outputs
61+
_build

docs/conf.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,16 @@
7373
"sphinx.ext.mathjax",
7474
"sphinx.ext.napoleon",
7575
"nbsphinx",
76-
"sphinx_mdinclude"
76+
"sphinx_mdinclude",
77+
"myst_nb"
78+
]
79+
80+
# myst_nb config
81+
nb_execution_mode = "off"
82+
myst_enable_extensions = [
83+
"amsmath", # For math environments like align
84+
"dollarmath", # For dollar-based math (e.g., $...$)
85+
"colon_fence", # For admonitions like :::note
7786
]
7887

7988
# Add any paths that contain templates here, relative to this directory.
@@ -124,7 +133,7 @@
124133

125134
# List of patterns, relative to source directory, that match files and
126135
# directories to ignore when looking for source files.
127-
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", ".venv"]
136+
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", ".venv", ".virtual_documents/*"]
128137

129138
# The reST default role (used for this markup: `text`) to use for all documents.
130139
# default_role = None

docs/readme.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
.. _readme:
2-
.. include:: ../README.rst
2+
.. include:: ../readme.md

docs/toy-example.ipynb

Lines changed: 113 additions & 117 deletions
Large diffs are not rendered by default.

graphics/logo.png

70.1 KB
Loading

readme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# StratAge
2+
3+
:::{figure} graphics/logo.png
4+
:align: left
5+
:width: 30%

0 commit comments

Comments
 (0)