Description
Evolving the documentation incrementally in the way we have been doing in the past few merges seems to be causing challenges to progressing on overall development (e.g., I'd like to release a new patch version to support several users but I do not want to release the documentation in a mid-revision state). This is my fault, and I take full responsibility. I had thought the doc change requests were relatively minor, but as the discussion has progressed, I see that it is more complicated in several ways.
I'd like to move documentation aside from the main development, creating a new branch dedicated to a comprehensive documentation overhaul that would then be merge altogether into a new minor release (rather than as patches as we have been doing).
Here are some things that we should discuss and work on to come to a useful set of docs:
- Who is the audience of the RTD docs?
- My suggestion is the end user. We could provide more docs for developers, but I believe this is a lower priority right now. And I do not want to conflate the two in a single set of docs.
- How do we want to document a class?
- My suggestion is to follow conventions used by other (major) Python packages that users of
pyttb
might use -- e.g.,numpy
,scipy
,pandas
. - This includes some standardization of the class doc format, too.
- This includes determining which methods to include -- e.g., dunder (
__foo__
), internal (_bar
), and helper functions included in module files but not specified as methods of the main class defined in that module file.
- What are the entry points we expect for documentation?
- readthedocs.io
help(pyttb)
- Reading through the source code
- What should the interplay between the docs and the tutorial be?
- Are there different audiences for these?
- How should we align content/examples/tests?