-
Notifications
You must be signed in to change notification settings - Fork 407
Add pybind11 docs #2657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add pybind11 docs #2657
Changes from 11 commits
4d19085
0c3dc85
0725131
8dc0f8e
9c02fd7
16a61d1
7597e31
57b928a
0ff87e1
54c9a5a
1fce313
1b75c91
fabfe2a
8c0f30b
16560b1
d4ac99b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,3 +23,6 @@ FULL_SIDEBAR = NO | |
|
|
||
| QUIET = YES | ||
| WARN_IF_UNDOCUMENTED = NO | ||
|
|
||
| GENERATE_XML = YES | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This runs very fast and will allow anyone to parse the XML docs as desired. |
||
| XML_OUTPUT = doxygen_xml | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -56,17 +56,25 @@ logging.level = "DEBUG" | |
| # where the package is. | ||
| wheel.packages = ["python/MaterialX"] | ||
|
|
||
| sdist.include = [ | ||
| "/documents", | ||
| ] | ||
|
|
||
| sdist.exclude = [ | ||
| "/build", | ||
| "/dist", | ||
| "/resources", | ||
| "/javascript", | ||
| "/documents", | ||
| "/.github", | ||
| "MANIFEST.in", | ||
| "/source/JsMaterialX", | ||
| ] | ||
|
|
||
| wheel.exclude = [ | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We don't want the html docs files for now in the package. If / when html docs are build for Python they can be included. |
||
| "/documents", | ||
| "documents/", | ||
| ] | ||
|
|
||
| [tool.scikit-build.metadata.version] | ||
| # https://scikit-build-core.readthedocs.io/en/latest/configuration.html#dynamic-metadata | ||
| provider = "scikit_build_core.metadata.regex" | ||
|
|
@@ -81,6 +89,8 @@ result = "{major}.{minor}.{build}" | |
| [tool.scikit-build.cmake.define] | ||
| MATERIALX_BUILD_SHARED_LIBS = 'OFF' # Be explicit | ||
| MATERIALX_BUILD_PYTHON = 'ON' | ||
| MATERIALX_BUILD_DOCS = 'ON' | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Auto build docs. Replaces all existing docs. |
||
| MATERIALX_PYTHON_FORCE_REPLACE_DOCS = 'ON' | ||
| MATERIALX_TEST_RENDER = 'OFF' | ||
| MATERIALX_WARNINGS_AS_ERRORS = 'ON' | ||
| MATERIALX_BUILD_TESTS = 'OFF' | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Option to allow replacement of docs at build level. Used for wheels and can be used in local or CI builds.