Docs: Fixes and improvements in API documentation

Fixes several notable mistakes and missing information
regarding the API documentation (*.rst).

This will allow API stub generators like bpystubgen or
fake-bpy-module to produce more accurate result.

Differential Revision: https://developer.blender.org/D12639
This commit is contained in:
Xavier Cho
2021-10-22 18:27:03 -04:00
committed by Aaron Carlisle
parent 1d9e2dc954
commit 62d64bec2a
6 changed files with 62 additions and 22 deletions

View File

@@ -562,7 +562,7 @@ PyDoc_STRVAR(M_Noise_turbulence_vector_doc,
" :type octaves: int\n"
" :arg hard: Specifies whether returned turbulence is hard (sharp transitions) or "
"soft (smooth transitions).\n"
" :type hard: :boolean\n" BPY_NOISE_BASIS_ENUM_DOC
" :type hard: boolean\n" BPY_NOISE_BASIS_ENUM_DOC
" :arg amplitude_scale: The amplitude scaling factor.\n"
" :type amplitude_scale: float\n"
" :arg frequency_scale: The frequency scaling factor\n"