Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-30Docs: Capitalize first word of sentenceAaron Carlisle
2021-05-29PyDoc: Use em dash instead of comma for enum itemsAaron Carlisle
2021-05-17Merge branch 'blender-v2.93-release'Campbell Barton
2021-05-17Fix PyAPI doc generation error in 43369ca80e62aa80b951823d1c78abef58852014Campbell Barton
Files without doc-strings were not included.
2021-05-12PyAPI: remove context.active_baseCampbell Barton
All other access to the Base structure from Python was removed, it seems this was left in by accident. Ref T85675
2021-03-31PyDoc: quiet warning with literalinclude including blank linesCampbell Barton
Files that only contain a doc-string still included the last blank line, since this normally contains code examples. There are some cases where only a docstring exists which made sphinx report warnings.
2021-03-31PyDoc: fix indentation with multi-line property descriptionsCampbell Barton
New lines were written without indentation, causing invalid RST to be generated.
2021-03-01GPU Python: Implement gpu.texture.from_imageGermano Cavalcante
It can be useful to replace `image.bindcode` and `image.gl_load`. Used for example in https://docs.blender.org/api/current/gpu.html#d-image Reviewed By: brecht Differential Revision: https://developer.blender.org/D10458
2021-02-26Cleanup: commented/out of date rpdb2 importAaron Carlisle
2021-02-25PyAPI Docs: Add 'gpu.state' moduleGermano Cavalcante
Also exclude `gpu.shader` from quick tests.
2021-02-25PyAPI: expose imbuf.types.ImBuf, include in API docsCampbell Barton
Without this, the ImBuf type wasn't part of documentation.
2021-02-19Merge branch 'blender-v2.92-release'Aaron Carlisle
2021-02-19API Docs: Fix generation failing with unused context membersAaron Carlisle
Instead of raising an expection a warnign is generated instead. This fixes the issue where `['hair', 'pointcloud']` are disabled for release builds. In the future a better solution would be to generate the context map dynamically but this would require refactoring of the API: D9988
2021-02-19PyAPI Docs: Fix deprecation warning with new theme versionAaron Carlisle
2021-02-19Instead of raising an expection a warnign is generated instead.Aaron Carlisle
This fixes the issue where `['hair', 'pointcloud']` are disabled for release builds. In the future a better solution would be to generate the context map dynamically but this would require refactoring of the API: D9988 Fixes T80364 Differential revision: https://developer.blender.org/D10468
2020-12-08PyDoc: avoid blank lines at the beginning of code-examplesCampbell Barton
2020-11-20Fix T82493: PyDoc generation throws exception on exitCampbell Barton
Since add-ons now unregister on exit (as of fa566157a5c351775d082b05b180c630665b4afc) clearing functions in `bpy.app.handlers` caused an error on exit. Resolve by restoring handlers before exiting.
2020-10-16Correct last commitCampbell Barton
2020-10-16PyDoc: update to account for new context memberCampbell Barton
2020-10-12Pydoc: Fix bpy.utils submodule showing in main toctreeAaron Carlisle
2020-10-12Pydoc: Cleanup: Rename functionAaron Carlisle
The new name makes more sense as the file is called index and we are not writing the contents of all rst files
2020-10-11Pydoc: Add index and genindex to main indexAaron Carlisle
2020-10-11Pydoc: Add submodule heading to submodule listsAaron Carlisle
2020-10-09PyDoc: resolve duplicate module warningsCampbell Barton
Remove submodule listings from the module docstring, as this information already exists in the generator.
2020-10-08PyDoc: fix most of the sphinx-build warningsAaron Carlisle
Use `.. currentmodule::` instead of `.. module::` for `bpy.types` and `bpy.ops`. This change fixes most of the errors. Ref D9139
2020-10-08PyDoc: support building without sphinx_rtd_themeCampbell Barton
This is no longer bundled with sphinx, support building without it.
2020-10-08PyDoc: Render in text class name using class link syntaxAaron Carlisle
2020-10-07PyDoc: Fix sphinx warnign from missing newlineAaron Carlisle
2020-10-07PyDoc: Remove workaround for slow sphinx buildsAaron Carlisle
Tesing with newer versions of sphinx to directory `sphinx-build` is executed has no affect on the build time. Testing even gave a 2-3% speed boost.
2020-10-05API Doc Gen: Do not ignore objects fileAaron Carlisle
This is used by the Blender manual or other sphinx website that would like to link to Blender's API documentation.
2020-10-02Cleanup: pep8 (indentation, spacing, long lines)Campbell Barton
2020-10-02Cleanup: pep8, blank linesCampbell Barton
2020-09-29API Docs: Minor text improvementsAaron Carlisle
2020-09-25API Docs: Fix xref urlsMax Schlecht
Fully revert D7913 "Fix T77276: Generating Python API docs raises many warnings" {D7913} broke xrefs/links to other types and permalinks in the docs. This makes the python api docs for 2.90 and 2.91 completely unusable. It got partially reverted in commit e893430a6306ded059270e7df9d78180cdc0d9e3. That didn't fix those two issues though, so it should be fully reverted. As you can see here, i'm not able to click `bpy_struct.id_data`, because no <a> tag got generated in the html. {F8889934} Here you can see a working, but wrong permalink, generated by clicking the little chain. (It should be `bpy.types.MeshVertices`, not `bpy.types.MeshVertices.MeshVertices`) {F8889938} Reviewed By: Blendify Differential Revision: https://developer.blender.org/D8913
2020-07-27Partly revert "Fix T77276: Generating Python API docs raises many warnings"Aaron Carlisle
This commit reverts the "noindex" part of the original commit. using noindex made it imposible to link to a specific property. The original warnings do not pose an issue so until a proper solution is found I am reverting this commit. This reverts commit 953c232db31f1a76f99ceb43119681ce0df1ab17
2020-07-22Docs: include 'bl_math' moduleCampbell Barton
2020-06-24API Docs: Small edits to recent commitAaron Carlisle
- Revert string formatting change - Add missing text edit
2020-06-23Cleanup: style, raw multi-line string sphinx updaterCampbell Barton
2020-06-23Docs: quiet deprecation warning, add missing context membersCampbell Barton
2020-06-18Fix doc generation for enum & attr's with multi-line descriptionsCampbell Barton
2020-06-04Fix T77276: Generating Python API docs raises many warningsAaron Carlisle
2020-05-29Merge branch 'blender-v2.83-release'Brecht Van Lommel
2020-05-29Blender: change bugfix release versioning from a/b/c to .1/.2/.3Brecht Van Lommel
The file subversion is no longer used in the Python API or user interface, and is now internal to Blender. User interface, Python API and file I/O metadata now use more consistent formatting for version numbers. Official releases use "2.83.0", "2.83.1", and releases under development use "2.90.0 Alpha", "2.90.0 Beta". Some Python add-ons may need to lower the Blender version in bl_info to (2, 83, 0) or (2, 90, 0) if they used a subversion number higher than 0. https://wiki.blender.org/wiki/Reference/Release_Notes/2.83/Python_API#Compatibility This change is in preparation of LTS releases, and also brings us more in line with semantic versioning. Fixes T76058. Differential Revision: https://developer.blender.org/D7748
2020-05-12Merge branch 'blender-v2.83-release'Campbell Barton
2020-05-12API Docs: Fix broken url markupAaron Carlisle
2020-05-11Cleanup: reference 'bpy.types.bpy_struct' directlyCampbell Barton
Previously there wasn't a way to access this directly from bpy.types.
2020-05-11Docs: list inherited C/Python API functionsCampbell Barton
2020-05-11Fix duplicate property references in generated API docsCampbell Barton
2020-05-11Fix building docs with sphinx 3.xCampbell Barton
2020-04-06usual PY API doc gen fix after adding a new member to Context...Bastien Montagne