Too long icon lists in the Python API documentation #84320
Labels
No Label
Meta
Good First Issue
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Eevee & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds, Tests & Devices
Module
Python API
Module
Rendering & Cycles
Module
Sculpt, Paint & Texture
Module
User Interface
Module
VFX & Video
Priority
High
Priority
Low
Priority
Normal
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Information from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-manual#84320
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://docs.blender.org/api/current/bpy.types.UILayout.html
The icon lists take too much space on this page, making it difficult to navigate.
They repeat 12 times and take:
I have to use this javascript before I can look something up. The Icon Viewer is the way to look for icons.
for (let paragraph of paragraphs) {
var result = paragraph.innerHTML.search("TRACKING_CLEAR_FORWARDS'");
if (result != -1){
paragraph.remove();
}
}
Added subscriber: @unwave
Added subscriber: @rjg
@unwave The API docs are meant to document possible parameter choices. While the way it currently displays the information may not be ideal, it certainly shouldn't be removed.
Closed as duplicate of #76453
I would suggest making them collapsible if it is a principle, as a limitation of auto-generated documentation. But for me, it is better to write that the parameter takes an icon sting id and add a link to a page with all the icons with the images of them, like this . Those name lists are practically useless and lower readability of other possible parameter choices. I think icons should be an exception.
Also, the documentation lacks a widget gallery.
Like these:
https://doc.qt.io/qt-5/gallery.html
Even a dirty one will benefit it a lot. A GUI documentation needs imagery, thus demands to be built differently than just a text.
Added subscriber: @Blendify
I agree with your suggestions, but that decision has to be made by @Blendify