Skip to content

Commit

Permalink
Merge pull request #6 from datamol-io/api
Browse files Browse the repository at this point in the history
Add API documentation
  • Loading branch information
hadim authored Nov 25, 2023
2 parents aa1aeea + c750cfd commit e876291
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 8 deletions.
3 changes: 3 additions & 0 deletions docs/api/plot.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `splito.plot`

::: splito.plot
11 changes: 11 additions & 0 deletions docs/api/simpd.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# `splito.simpd`

::: splito.simpd.SIMPDSplitter

---

::: splito.simpd.run_SIMPD

---

::: splito.simpd.DEFAULT_SIMPD_DESCRIPTORS
3 changes: 3 additions & 0 deletions docs/api/splito.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `splito`

::: splito
3 changes: 3 additions & 0 deletions docs/api/utils.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `splito.utils`

::: splito.utils
21 changes: 13 additions & 8 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,16 @@ strict: true
nav:
- Getting started: index.md
- Tutorials:
- The Basics: tutorials/The_Basics.ipynb
- Structure-based Splitters: tutorials/Structure_based_Splitters.ipynb
- MOOD Protocol: tutorials/MOOD_Protocol.ipynb
- MPO Splitters: tutorials/MPO_Splitters.ipynb
- Other Splitters: tutorials/Other_Splitters.ipynb
- The Basics: tutorials/The_Basics.ipynb
- Structure-based Splitters: tutorials/Structure_based_Splitters.ipynb
- MOOD Protocol: tutorials/MOOD_Protocol.ipynb
- MPO Splitters: tutorials/MPO_Splitters.ipynb
- Other Splitters: tutorials/Other_Splitters.ipynb
- API:
- splito: api/splito.md
- splito.utils: api/utils.md
- splito.simpd: api/simpd.md
- splito.plot: api/plot.md

theme:
name: material
Expand Down Expand Up @@ -62,8 +67,8 @@ markdown_extensions:
- pymdownx.tabbed:
alternate_style: true
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
Expand Down Expand Up @@ -91,6 +96,7 @@ plugins:
separate_signature: true
show_signature_annotations: true
line_length: 80

- mkdocs-jupyter:
execute: False

Expand All @@ -101,4 +107,3 @@ extra:
version:
# Multi versioning provider for mkdocs-material (used for the JS selector)
provider: mike

0 comments on commit e876291

Please sign in to comment.