Skip to content

Commit

Permalink
move noodlenotes to mn instead of docs
Browse files Browse the repository at this point in the history
  • Loading branch information
BradyAJohnston committed Nov 4, 2024
1 parent acc11a8 commit f6e773d
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions docs/generate.py
Original file line number Diff line number Diff line change
@@ -1,24 +1,13 @@
import bpy
import sys
import pathlib

try:
from bl_ext.user_default import molecularnodes as mn
except ImportError:
try:
from bl_ext.vscode_development import molecularnodes as mn
except ImportError:
import molecularnodes as mn
import molecularnodes as mn
from molecularnodes import noodlenotes

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

# import the scripts for building documentation
sys.path.insert(0, str(DOCS_FOLDER))
import noodlenotes


# load the data file which contains all of the nodes to build docs for
bpy.ops.wm.open_mainfile(filepath=mn.blender.nodes.MN_DATA_FILE)
bpy.ops.wm.open_mainfile(filepath=mn.utils.MN_DATA_FILE)


header = """---
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit f6e773d

Please sign in to comment.