Skip to content
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

API Reference lacks logical organization and is hardly readable #11

Closed
leofang opened this issue Oct 28, 2021 · 1 comment
Closed

API Reference lacks logical organization and is hardly readable #11

leofang opened this issue Oct 28, 2021 · 1 comment

Comments

@leofang
Copy link
Member

leofang commented Oct 28, 2021

I am doing some internal tests using CUDA Python, and I find the Python API Reference is hardly readable. Currently all APIs (functions, classes (=C structs), attributes, etc) are all dumped in the same page. Furthermore, the docs for all modules (cuda, cudart, nvrtc) are also coalesced in the same page, making the situation even worse. This is a screenshot of the gargantua page:
截圖 2021-10-27 下午11 19 52

What I'd expect:

  • Under the entry "CUDA Python API Reference" of the ToC on the left, we list the 3 modules as sub-entries
  • Under each module, we further list 3 (or more) sub-sub-entries: "Functions", "Classes", "Attributes" (maybe defines/typedefs/enums can all be combined as Attributes)
  • In each of the "Functions" sub-sub-entry, we organize the contents into sub-sub-sub-entries based on their purpose. For example, for the CUDA Runtime APIs we can follow how the parent page does it: https://docs.nvidia.com/cuda/cuda-runtime-api/modules.html#modules

What we'll achieve by doing so:

  • Match the way CUDA programmers search the CUDA documentations
  • Provide a better user-friendly, more logical organization for the docs
@leofang
Copy link
Member Author

leofang commented Jan 19, 2022

Closing this issue as it's resolved since CUDA Python 11.6.0 👍

@leofang leofang closed this as completed Jan 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant