code documentation for the new client app #7613
cfm
started this conversation in
Development
Replies: 1 comment
-
|
+1 from me, I would suggest that we just go ahead and try it (step 3) and see how it works out, and then formalize it (steps 1 and 2) once we have a better sense of the utility and cost. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
One of my favorite things in the Python ecosystem is the convention of docstrings. Even without the use of a tool like Doxygen or Sphinx's
autodocto render external documentation with formatting and call/caller graphs, Python docstrings encourage a good habit: If you've encapsulated some code in a function, method, class, or module, then you should take the time to document it what it is, how it works, and how it should be used. Anecdotally, I've found that a codebase with thorough docstring documentation is kept documented as it evolves, including at the level of internal implementation details.I'd like to see us carry this habit over into the new SecureDrop client while its TypeScript/React codebase is still small and approachable. I'd support fully adopting something like TypeDoc, but to me the tooling is secondary to the habit and the convention. I suggest we:
securedrop-dev-docsand (b) insecuredrop-client's pull-request template; andBeta Was this translation helpful? Give feedback.
All reactions