You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This relates to #82. Documentation on nion is difficult to navigate, and often results in users old and new being forced to read the source code of nion. Here is a plan to solve this by streamlining the docs.
At the center of this refresh is a single Markdown file that is designated the Walkthrough. The Walkthrough is what the README file should link to at the end of the "In a nutshell" section. It should:
better reflect the journey of someone new to nion
serve as a much more cohesive index to various topic for existing users of nion
In essence, it's a fancier version of the index to the ./docs directory.
Note: all links to the repo are pinned to the SHA-1 95ffcdc, which is master at the time of writing.
Overview
Rename Getting Started to "Setup and Configuration". This doc is not a required read for someone working on a codebase that already uses nion.
Create the Usage file. It will illustrate the three forms of nion: hook, HOC, and decorator. See Usage docs #110 for work in progress.
Create the Walkthough file. Its tentative name is index.md and its tentative H1 heading is "Getting Started on nion".
H2: "New to nion?"
Check out Usage, Declarations, Examples, Core (shallow)
H2: "Hello, old-timer"
Check out Glossary, Core (deep), and other in-depth stuff
Rewrite existing examples to use the plain HOC syntax instead of decorators
Produce hooks-equivalent examples
Merge How nion works into nion core and rename to "Internals". Both pages document nion internals; they differ by how deep of a dive they take the reader. Divide the page by section to delineate shallow snorkeling from deep dive.
When #107 merges, we will effectively have a single source of authority for API usage. This paves the way for using an automated tool to generate documentation from code, e.g. extracting JSDoc blocks into neat pages. This would let us semi-automate the Glossary and Declaration docs so that they match the type definitions exactly.
Ordering
The order of the steps outlined in Overview is merely a suggestion. Furthermore, the Walkthrough itself should be continuously updated as various pages are merged, rewritten, and reorganized.
Feedback
None of this is set in stone; comments are always welcome.
The text was updated successfully, but these errors were encountered:
This relates to #82. Documentation on nion is difficult to navigate, and often results in users old and new being forced to read the source code of nion. Here is a plan to solve this by streamlining the docs.
At the center of this refresh is a single Markdown file that is designated the Walkthrough. The Walkthrough is what the
README
file should link to at the end of the "In a nutshell" section. It should:In essence, it's a fancier version of the index to the
./docs
directory.Note: all links to the repo are pinned to the SHA-1 95ffcdc, which is
master
at the time of writing.Overview
Rename Getting Started to "Setup and Configuration". This doc is not a required read for someone working on a codebase that already uses nion.
Create the Usage file. It will illustrate the three forms of nion: hook, HOC, and decorator. See Usage docs #110 for work in progress.
Create the Walkthough file. Its tentative name is
index.md
and its tentative H1 heading is "Getting Started on nion".Merge nion api into Declarations.
Create a hooks version of Examples.
Merge How nion works into nion core and rename to "Internals". Both pages document nion internals; they differ by how deep of a dive they take the reader. Divide the page by section to delineate shallow snorkeling from deep dive.
Ensure Glossary is up-to-date
Docgen stretch
When #107 merges, we will effectively have a single source of authority for API usage. This paves the way for using an automated tool to generate documentation from code, e.g. extracting JSDoc blocks into neat pages. This would let us semi-automate the Glossary and Declaration docs so that they match the type definitions exactly.
Ordering
The order of the steps outlined in Overview is merely a suggestion. Furthermore, the Walkthrough itself should be continuously updated as various pages are merged, rewritten, and reorganized.
Feedback
None of this is set in stone; comments are always welcome.
The text was updated successfully, but these errors were encountered: