Skip to content

Commit

Permalink
fix plugin docs
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardFrangenberg committed Oct 21, 2023
1 parent 8c5f61c commit 89db909
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Expand Up @@ -22,7 +22,7 @@ jobs:
env:
PRISM_NO_LIBS: "1"
run: |
sphinx-apidoc --no-toc --module-first -o doc/autodoc/core Prism/Scripts/ Prism/Scripts//UserInterfacesPrism
sphinx-apidoc --no-toc --module-first -o doc/autodoc/core Prism/Scripts/ Prism/Scripts//UserInterfacesPrism Prism/Scripts/OSX_Post-Install* Prism/Scripts/OSX_Pre-Install*
sphinx-apidoc --no-toc --module-first -o doc/autodoc/plugins/3dsMax Prism/Plugins/Apps/3dsMax/Scripts Prism/Plugins/Apps/3dsMax/Scripts/*_init* Prism/Plugins/Apps/3dsMax/Scripts/*_Variables*
sphinx-apidoc --no-toc --module-first -o doc/autodoc/plugins/Blender Prism/Plugins/Apps/Blender/Scripts Prism/Plugins/Apps/Blender/Scripts/*_init* Prism/Plugins/Apps/Blender/Scripts/*_Variables*
sphinx-apidoc --no-toc --module-first -o doc/autodoc/plugins/Houdini Prism/Plugins/Apps/Houdini/Scripts Prism/Plugins/Apps/Houdini/Scripts/*_init* Prism/Plugins/Apps/Houdini/Scripts/*_Variables*
Expand Down
24 changes: 24 additions & 0 deletions doc/conf.py
Expand Up @@ -30,6 +30,30 @@
scriptPath = os.path.join(os.path.dirname(os.path.dirname(__file__)), "Prism", "Scripts")
sys.path.insert(0, scriptPath)

scriptPath = os.path.join(os.path.dirname(os.path.dirname(__file__)), "Prism", "Plugins", "Apps", "3dsMax", "Scripts")
sys.path.insert(0, scriptPath)

scriptPath = os.path.join(os.path.dirname(os.path.dirname(__file__)), "Prism", "Plugins", "Apps", "Blender", "Scripts")
sys.path.insert(0, scriptPath)

scriptPath = os.path.join(os.path.dirname(os.path.dirname(__file__)), "Prism", "Plugins", "Apps", "Houdini", "Scripts")
sys.path.insert(0, scriptPath)

scriptPath = os.path.join(os.path.dirname(os.path.dirname(__file__)), "Prism", "Plugins", "Apps", "Maya", "Scripts")
sys.path.insert(0, scriptPath)

scriptPath = os.path.join(os.path.dirname(os.path.dirname(__file__)), "Prism", "Plugins", "Apps", "Nuke", "Scripts")
sys.path.insert(0, scriptPath)

scriptPath = os.path.join(os.path.dirname(os.path.dirname(__file__)), "Prism", "Plugins", "Apps", "Photoshop", "Scripts")
sys.path.insert(0, scriptPath)

scriptPath = os.path.join(os.path.dirname(os.path.dirname(__file__)), "Prism", "Plugins", "Apps", "Standalone", "Scripts")
sys.path.insert(0, scriptPath)

scriptPath = os.path.join(os.path.dirname(os.path.dirname(__file__)), "Prism", "Plugins", "RenderfarmManagers", "Deadline", "Scripts")
sys.path.insert(0, scriptPath)

autodoc_default_flags = ['members']

html_theme = 'sphinx_book_theme'
Expand Down

0 comments on commit 89db909

Please sign in to comment.