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

Strategies to write documentation #25

Open
Rekyt opened this issue Mar 23, 2021 · 7 comments
Open

Strategies to write documentation #25

Rekyt opened this issue Mar 23, 2021 · 7 comments
Labels

Comments

@Rekyt
Copy link

Rekyt commented Mar 23, 2021

Topic

Documentation in R comes in many forms: documentation of functions, packages READMEs, vignettes, even entire manuals (i.e., for drake, taxize, or rmarkdown). To increase the reach of packages documentation is paramount. rOpenSci provides recommendations on what should be comprised by the documentation. However, when (during package development, at the start) and how (how should it be framed? should we prefer a use-case, a manual, or a reference? To whom are we writing the documentation for?) to write documentation hasn't been discussed in our community.

In addition to tools that are becoming standard among R package developers like roxygen2 or pkgdown several other R tools that can help write documentation could be discussed:

  • Rdpack to easily add references to documentation,
  • sinew to automate even more writing documentation,
  • roxytext to use documentation as a test case.

Different strategies to write documentation could also be discussed. Don't Repeat Yourself (DRY) when writing documentation, but sometimes Do Repeat Yourself so that the user can always figure out where to go. Can we adapt the "Documentation-first" strategy (also named Documentation-Driven Design) when it comes to R packages?

Who is the audience?

All R package developers and potential contributors. Writing documentation is one of the non-technical contribution that a user can provide to a project, as such this community call can address to anybody who's willing to contribute.

Why is this important?

Because rOpenSci enforces great standards in documentation. Explicit discussion on strategies to write documentation could also greatly benefit onboarding packages developers.

What should be covered?

  1. Distinction between different types of documentation (function documentation, package documentation, README, vignettes, Use-case, manuals, blogpost) and how they can be viewed by typical users of the package (i.e, where does the journey of user begins in the documentation).
  2. Strategies to write documentation. How should documentation be structured? Where can it be repeated? How to maintain documentation updated with an evolving package?
  3. Tools to help write documentation.

Suggested speakers or contributors

Folks that have written extensive documentation packages (such as @wlandau, or @maelle who can share her experience writing a whole book on http-testing).
People from ReadTheDocs?

Resources you would recommend to the audience

@Rekyt Rekyt added the 0/idea label Mar 23, 2021
@maelle
Copy link

maelle commented Mar 23, 2021

Other potentially relevant resources

@stefaniebutland
Copy link
Contributor

Beautifully laid out idea @Rekyt. Thank you! I'm working on others now but this is def a good candidate rOpenSci Community Call.

@stefaniebutland
Copy link
Contributor

Resource

h/t @choldgraf (Project Jupyter) who is gauging interest in a virtual workshop on documentation for people in the NumFOCUS community (NumFOCUS is rOpenSci's fiscal sponsor).

@maelle
Copy link

maelle commented Mar 25, 2021

@stefaniebutland same link as the first I listed... but with a much more informative presentation 😁

@stefaniebutland
Copy link
Contributor

🤦🏼‍♀️ 🙌🏼 🤦🏼‍♀️

@maelle
Copy link

maelle commented Mar 25, 2021

No, it's good to have a better explanation of the link!!

@stefaniebutland
Copy link
Contributor

New home for Diátaxis Framework https://diataxis.fr/ by Daniele Procida

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants