Skip to content

Commit

Permalink
move noodlenotes to external package (nodepad)
Browse files Browse the repository at this point in the history
  • Loading branch information
BradyAJohnston committed Dec 18, 2024
1 parent 66378f3 commit f1a1679
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 328 deletions.
13 changes: 10 additions & 3 deletions docs/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import pathlib

import molecularnodes as mn
from molecularnodes import noodlenotes
import nodepad

DOCS_FOLDER = pathlib.Path(__file__).resolve().parent

Expand Down Expand Up @@ -31,7 +31,14 @@
name = menu_item.backup
else:
name = menu_item.name
documenter = noodlenotes.MenuItemDocummenter(menu_item)
doc = nodepad.Documenter(menu_item.tree)
try:
doc.lookup_info(menu_item.to_dict())
except AttributeError as e:
print(e)

file.write(documenter.as_markdown())
if menu_item.description != "":
doc.description += "\n\n" + menu_item.description

file.write(doc.as_markdown())
file.write("\n\n")
12 changes: 7 additions & 5 deletions molecularnodes/blender_manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,14 @@ copyright =[

wheels = [
"./wheels/GridDataFormats-1.0.2-py3-none-any.whl",
"./wheels/MDAnalysis-2.7.0-cp311-cp311-macosx_10_9_x86_64.whl",
"./wheels/MDAnalysis-2.7.0-cp311-cp311-macosx_11_0_arm64.whl",
"./wheels/MDAnalysis-2.7.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"./wheels/MDAnalysis-2.7.0-cp311-cp311-win_amd64.whl",
"./wheels/MDAnalysis-2.8.0-cp311-cp311-macosx_10_9_x86_64.whl",
"./wheels/MDAnalysis-2.8.0-cp311-cp311-macosx_11_0_arm64.whl",
"./wheels/MDAnalysis-2.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"./wheels/MDAnalysis-2.8.0-cp311-cp311-win_amd64.whl",
"./wheels/biotite-0.41.2-cp311-cp311-macosx_10_9_x86_64.whl",
"./wheels/biotite-0.41.2-cp311-cp311-macosx_11_0_arm64.whl",
"./wheels/biotite-0.41.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"./wheels/biotite-0.41.2-cp311-cp311-win_amd64.whl",
"./wheels/colorama-0.4.6-py2.py3-none-any.whl",
"./wheels/contourpy-1.3.1-cp311-cp311-macosx_10_9_x86_64.whl",
"./wheels/contourpy-1.3.1-cp311-cp311-macosx_11_0_arm64.whl",
"./wheels/contourpy-1.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
Expand All @@ -56,6 +55,7 @@ wheels = [
"./wheels/matplotlib-3.10.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"./wheels/matplotlib-3.10.0-cp311-cp311-win_amd64.whl",
"./wheels/mda_xdrlib-0.2.0-py3-none-any.whl",
"./wheels/mdahole2-0.5.0-py3-none-any.whl",
"./wheels/mmtf_python-1.1.3-py2.py3-none-any.whl",
"./wheels/mrcfile-1.5.3-py2.py3-none-any.whl",
"./wheels/msgpack-1.1.0-cp311-cp311-macosx_10_9_x86_64.whl",
Expand All @@ -68,6 +68,7 @@ wheels = [
"./wheels/pandas-2.2.3-cp311-cp311-macosx_11_0_arm64.whl",
"./wheels/pandas-2.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"./wheels/pandas-2.2.3-cp311-cp311-win_amd64.whl",
"./wheels/pathsimanalysis-1.2.0-py3-none-any.whl",
"./wheels/pillow-11.0.0-cp311-cp311-macosx_10_10_x86_64.whl",
"./wheels/pillow-11.0.0-cp311-cp311-macosx_11_0_arm64.whl",
"./wheels/pillow-11.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
Expand All @@ -85,6 +86,7 @@ wheels = [
"./wheels/tqdm-4.67.1-py3-none-any.whl",
"./wheels/typing_extensions-4.12.2-py3-none-any.whl",
"./wheels/tzdata-2024.2-py2.py3-none-any.whl",
"./wheels/waterdynamics-1.2.0-py3-none-any.whl",
]

[permissions]
Expand Down
1 change: 0 additions & 1 deletion molecularnodes/noodlenotes/__init__.py

This file was deleted.

81 changes: 0 additions & 81 deletions molecularnodes/noodlenotes/documenter.py

This file was deleted.

217 changes: 0 additions & 217 deletions molecularnodes/noodlenotes/interface.py

This file was deleted.

15 changes: 0 additions & 15 deletions molecularnodes/noodlenotes/markdown.py

This file was deleted.

Loading

0 comments on commit f1a1679

Please sign in to comment.