Open josephsl opened 3 years ago
We'll need to convert the doc strings to the proper annotation style before sphinx docs are really usable enough to go on readthedocs.
Hi,
About Sphinx annotations: agreed - I think that's the most important thing to do once #11972 is merged into master. Doing so will allow folks to send in annotation pull requests.
Thanks.
cc: @seanbudd, @gerald-hartig for triaging, I think it is now much easier to get to the source code docs right?
@Adriani90 - no this is still blocked by #12971
Hi,
This issue stems from a discussion on NVDA Add-ons list: https://nvda-addons.groups.io/g/nvda-addons/topic/please_do_not_attack_this/79175349?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,79175349
Is your feature request related to a problem? Please describe.
While NVDA's source code is extensive and is a handy reference for add-on authors, a constant criticism is discoverability: although a developer guide and an add-ons guide exists, source code docs is hard to find. This is made complicated by the statement in the NVDA source code readme that declares that dev docs cannot be built in current (Python 3) NVDA releases when in fact it is possible to do so via Sphinx (a companion issue will follow that has to do with inability to build dev docs locally).
As the linked discussion notes, add-on guide, and in some cases, NVDA's own developer guide are inadequate to give add-on developers and outside researchers a chance to read through NVDA's internals. Although the discussion does touch on add-on review process, the bigger issue is lack of documentation.
Describe the solution you'd like
Host NVDA's source code docs on online documentation publishing services. one of these is Read The Docs (readthedocs.org) which hosts dev docs for a variety of open-source projects.
Publishing dev docs on a service such as Read The Docs brings the following advantages:
Drawbacks include:
Describe alternatives you've considered
Let people build dev docs locally (next issue), or perhaps enhance the dev guide by providing module overviews and more examples.
Additional context
As noted above, investments must be made to train contributors on how to write effective technical documentation (not just source code, but writings that describe what and how NVDA does things).
Thanks.