Page MenuHome

Windows: Add support to compile python api docs from make file
ClosedPublic

Authored by Aaron Carlisle (Blendify) on Aug 5 2021, 10:34 PM.

Details

Summary

This adds support to compile the html python api docs from the command line by running make doc_py matching support between windows and unix.

This patch also makes it so the compiler is not needed if you set the blender_bin variable, this affects icon generation as well.

In the future, I want to move away from generating the build output in the build directory but that can come in a later change.

Diff Detail

Repository
rB Blender
Branch
windows_make_docpy
Build Status
Buildable 16270
Build 16270: arc lint + arc unit

Event Timeline

Aaron Carlisle (Blendify) requested review of this revision.Aug 5 2021, 10:34 PM
Aaron Carlisle (Blendify) created this revision.
build_files/windows/doc_py.cmd
33

"%SPHINX_BIN%" -b html %SPHINXOPTS% %O% %SOURCEDIR% %BUILDDIR%

build_files/windows/find_sphinx.cmd
14

That doesn't seem right

build_files/windows/show_help.cmd
36

echo - doc_py

missing space

  • make: Do not require deps when not necessary
  • Address review comments
This revision is now accepted and ready to land.Aug 6 2021, 6:51 PM
Aaron Carlisle (Blendify) retitled this revision from Windows: Add support to compile python apid docs from make file to Windows: Add support to compile python api docs from make file.Aug 6 2021, 7:52 PM
Aaron Carlisle (Blendify) edited the summary of this revision. (Show Details)