diff options
author | Campbell Barton <campbell@blender.org> | 2022-05-31 07:07:14 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-05-31 07:19:06 +0300 |
commit | 1c6b66c9cf80b3c9b4542b27948ae232f930a211 (patch) | |
tree | f517a723e7935f486cbd683fc3756dc1d6338ff8 /doc/python_api/rst | |
parent | 94444aaadf238ab2de4226d6b1b66284d479a931 (diff) |
PyDoc: replace in-lined enum references with links where possible
Avoid in-lining large enums such as icons and event types, linking
to them instead.
This mitigates T76453, where long enums took a lot of space in the docs,
this was a problem with `UILayout` where each icon argument would list
all icons. [0] worked around the issue using CSS to scroll the list.
However this has the draw-back where some items are clipped in a way
that's not obvious, see: T87008.
The reason this isn't a complete solution is that Python defined enums
aren't written into their own pages which can be linked to, although
currently there are no large Python enums included in the API docs.
All in-lined enums are now under 20 items.
[0]: 1e8f2665916c049748a3985a2fce736701925095
Diffstat (limited to 'doc/python_api/rst')
0 files changed, 0 insertions, 0 deletions