Skip to content

Commit 590e1b4

Browse files
authored
Merge pull request #314 from kayjan/feature/mkdoc-jupyter
Mkdocs with jupyter notebook
2 parents b039e31 + ee567e1 commit 590e1b4

File tree

4 files changed

+19
-7
lines changed

4 files changed

+19
-7
lines changed

CHANGELOG.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
9+
## [0.22.1] - 2024-11-03
810
### Added:
9-
- (WIP) Misc: Documentation to rely on jupyter notebook.
11+
- Misc: Documentation to rely on jupyter notebook.
1012
### Changed:
1113
- Tree Export: Exporting to dot allow node_attr and edge_attr to modify node before retrieving node name.
1214
- Misc: All code reference to node_name (immutable) instead of name (mutable).
@@ -677,7 +679,8 @@ ignore null attribute columns.
677679
- Utility Iterator: Tree traversal methods.
678680
- Workflow To Do App: Tree use case with to-do list implementation.
679681

680-
[Unreleased]: https://github.com/kayjan/bigtree/compare/0.22.0...HEAD
682+
[Unreleased]: https://github.com/kayjan/bigtree/compare/0.22.1...HEAD
683+
[0.22.1]: https://github.com/kayjan/bigtree/compare/0.22.0...0.22.1
681684
[0.22.0]: https://github.com/kayjan/bigtree/compare/0.21.3...0.22.0
682685
[0.21.3]: https://github.com/kayjan/bigtree/compare/0.21.2...0.21.3
683686
[0.21.2]: https://github.com/kayjan/bigtree/compare/0.21.1...0.21.2

bigtree/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.22.0"
1+
__version__ = "0.22.1"
22

33
from bigtree.binarytree.construct import list_to_binarytree
44
from bigtree.dag.construct import dataframe_to_dag, dict_to_dag, list_to_dag

docs/gettingstarted/demo/workflow.ipynb docs/gettingstarted/demo/Workflow Demonstration.ipynb

+11-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,11 @@
5252
"\n",
5353
"app = AppToDo(\"To Do App\")\n",
5454
"app.add_item(item_name=\"Homework 1\", list_name=\"School\")\n",
55-
"app.add_item(item_name=[\"Milk\", \"Bread\"], list_name=\"Groceries\", description=\"Urgent\")\n",
55+
"app.add_item(\n",
56+
" item_name=[\"Milk\", \"Bread\"],\n",
57+
" list_name=\"Groceries\",\n",
58+
" description=\"Urgent\",\n",
59+
")\n",
5660
"app.add_item(item_name=\"Cook\")\n",
5761
"app.show()"
5862
]
@@ -103,7 +107,12 @@
103107
"\n",
104108
"calendar = Calendar(\"My Calendar\")\n",
105109
"calendar.add_event(\"Gym\", \"2023-01-01 18:00\")\n",
106-
"calendar.add_event(\"Dinner\", \"2023-01-01\", date_format=\"%Y-%m-%d\", budget=20)\n",
110+
"calendar.add_event(\n",
111+
" \"Dinner\",\n",
112+
" \"2023-01-01\",\n",
113+
" date_format=\"%Y-%m-%d\",\n",
114+
" budget=20,\n",
115+
")\n",
107116
"calendar.add_event(\"Gym\", \"2023-01-02 18:00\")\n",
108117
"calendar.show()"
109118
]

mkdocs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ nav:
2323
- gettingstarted/demo/tree.md
2424
- gettingstarted/demo/binarytree.md
2525
- gettingstarted/demo/dag.md
26-
- gettingstarted/demo/workflow.md
26+
- gettingstarted/demo/Workflow Demonstration.ipynb
2727
- Resources:
2828
- gettingstarted/resources/articles.md
2929
- gettingstarted/resources/glossary.md
@@ -94,7 +94,7 @@ theme:
9494
plugins:
9595
- glightbox # expand images
9696
- mkdocs-jupyter:
97-
include_source: True
97+
ignore_h1_titles: True
9898
- search
9999
- social:
100100
cards_layout_options:

0 commit comments

Comments
 (0)