Skip to content

Commit

Permalink
Add notebooks draft for laboratory python
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhal Zelenyy committed Sep 4, 2023
1 parent cca1e18 commit 2b35aa6
Show file tree
Hide file tree
Showing 23 changed files with 3,956 additions and 2 deletions.
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
sphinx
sphinx_rtd_theme
myst-parser
myst-parser
jupyterlite-sphinx
jupyterlite-pyodide-kernel
3 changes: 3 additions & 0 deletions source/_static/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.wy-nav-content {
max-width: none;
}
4 changes: 4 additions & 0 deletions source/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{% extends "!layout.html" %}
{% block extrahead %}
<link href="{{ pathto("_static/style.css", True) }}" rel="stylesheet" type="text/css">
{% endblock %}
8 changes: 7 additions & 1 deletion source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
extensions = [
'sphinx_rtd_theme',
'myst_parser',
'sphinx.ext.todo'
'sphinx.ext.todo',
'jupyterlite_sphinx'
]

templates_path = ['_templates']
Expand All @@ -33,6 +34,11 @@

todo_include_todos = True

myst_enable_extensions = [
"amsmath",
"dollarmath"
]

# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

Expand Down
1 change: 1 addition & 0 deletions source/laboratory_python.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
cards/installation/installation.md
cards/run/run.md
pages/general_python/scikit_py.md
pages/StudentEdition/notebooks.md
pages/TeacherEdition/introduction.md
```
Loading

0 comments on commit 2b35aa6

Please sign in to comment.