| Post Reply | RetroFed Forum Forum Index » Open Source |
| Author | Message | ||
|---|---|---|---|
|
marmelab
lemmy.ml
marmelab@lemmy.ml Joined: 2026-03-26 |
When I first started working on open source projects, I really struggled with documentation. But after a lot of trial and error, I learned a lot about writing clear and helpful docs. Working on several open source projects has also taught me just how essential good documentation is to the success of a project. So, I'd like to share with you some of the tips that have helped me improve (hoping that they will save you the same headaches I've experienced ): 1️⃣ Guide first 2️⃣ Show, don’t tell 3️⃣ More code than text 4️⃣ Use plausible data 5️⃣ Examples as stories 6️⃣ The reference follows the guide 7️⃣ Pages can be scanned quickly 8️⃣ Features have several names 9️⃣ Document features multiple times 🔟 Overview sections 1️⃣1️⃣ Beginner mode 1️⃣2️⃣ Eat your own dog food Here's a doc example where I've tried to implement these best practices. Feel free to share your tips for writing good documentation, so that we can collectively help other open source projects!-- |
||
| 30 Original | |||
|
hoppolito
mander.xyz
hoppolito@mander.xyz Joined: 2024-11-23 |
While the above is a little more focused on front-end/web projects I think one thing to keep in mind generally is also to meet the user where they are, or rather where they expect. I know that many projects today (especially when first getting set up) focus on a presentable readme but in many cases there are tools to automatically adapt this markdown text to the generally preferred documentation style and location. Don't have to focus on perfection first but just having a pipeline set up which can then be iterated on over time. For a more advanced approach I think you can get a lot out of understanding the principles of the Diataxis framework - but this is also larger up-front effort. |
||
| 4 | |||
|
moonpiedumplings
programming.dev
moonpiedumplings@programming.dev Joined: 2023-08-10 |
https://documentation.divio.com/ Documentation about documentation, hehehe |
||
| 1 | |||
| Post Reply |
Back to top |