Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      How AI further empowers value stream management

      June 27, 2025

      12 Top ReactJS Development Companies in 2025

      June 27, 2025

      Not sure where to go with AI? Here’s your roadmap.

      June 27, 2025

      This week in AI dev tools: A2A donated to Linux Foundation, OpenAI adds Deep Research to API, and more (June 27, 2025)

      June 27, 2025

      With Gears of War: Reloaded on the way, which Xbox 360 game would you like to see get rebuilt next? — Weekend discussion 💬

      June 28, 2025

      Capcom’s finally giving Street Fighter 6 players the outfits they’ve wanted — when all else fails, send in swimsuits

      June 28, 2025

      After 14 years, Monster Hunter Wilds is bringing back underwater combat alongside “Lagiacrus” and another familiar monster — the impossible has happened

      June 28, 2025

      OpenAI may prematurely declare AGI to cut ties with Microsoft — despite Sam Altman admitting today’s tech isn’t built for it

      June 28, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      How Code Feedback MCP Enhances AI-Generated Code Quality

      June 28, 2025
      Recent

      How Code Feedback MCP Enhances AI-Generated Code Quality

      June 28, 2025

      PRSS Site Creator – Create Blogs and Websites from Your Desktop

      June 28, 2025

      Say hello to ECMAScript 2025

      June 27, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      With Gears of War: Reloaded on the way, which Xbox 360 game would you like to see get rebuilt next? — Weekend discussion 💬

      June 28, 2025
      Recent

      With Gears of War: Reloaded on the way, which Xbox 360 game would you like to see get rebuilt next? — Weekend discussion 💬

      June 28, 2025

      Jasmine – web launcher and session management application

      June 28, 2025

      Schulrechner – calculator you know from school

      June 28, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»News & Updates»Documentation done right: A developer’s guide

    Documentation done right: A developer’s guide

    May 14, 2025

    With all the work involved in creating and maintaining a project, sometimes writing documentation can slip through the cracks. However, good docs are a huge asset to any project. Consider the benefits:

    • Better collaboration: Clear, consistent documentation ensures everyone’s on the same page, from your immediate team to outside stakeholders. Additionally, docs promote independent problem solving, saving core contributors the time and effort of answering every question.
    • Smoother onboarding: By providing ways to get started, explaining core concepts, and including tutorial-style content, good documentation allows new team members to ramp up quickly.
    • Increased adoption: The easier it is to understand, set up, and run your project, the more likely someone will use it.

    With these benefits in mind, let’s take a look at some important principles of documentation, then dive into how you can quickly create effective docs for your project.

    Key tenets of documentation

    There are three key principles you should follow as you document your project.

    Key tenets of documentation

    Use plain language that’s easy to understand. The goal is to make your documentation as accessible as possible. A good guideline is to ask yourself if there are any acronyms or technical terms in your documentation that some folks in your target audience won’t understand. If that’s the case, either swap them for simpler language, or make sure they’re defined in your document.

    Keep it concise

    Document only necessary information. Trying to cover every possible edge case will overwhelm your readers. Instead, write docs that help the vast majority of readers get started, understand core concepts, and use your project.

    Additionally, keep each document focused on a particular topic or task. If you find yourself including information that isn’t strictly necessary, move it into separate, smaller documents and link to them when it’s helpful.

    Keep it structured

    Consider the structure of each document as you write it to make sure it is easy to scan and understand:

    • Put the most important information first to help readers quickly understand if a document is relevant to them.
    • Use headings and a table of contents to tell your readers where to find specific information. We suggest using documentation templates with common headings to quickly and consistently create structured content.
    • Use text highlighting like boldface and formatting elements like bulleted lists to help readers scan content. Aim for 10% or less text highlighting to make sure emphasized text stands out.
    • Be consistent with your styling. For example, if you put important terminology in bold in one document, do the same in your other content.

    Organizing your documentation

    Just as there are principles to follow when writing individual documents, you should also follow a framework for organizing documents in your repo. 

    There are many approaches to organizing documentation in your repo, but one that we’ve used for several projects and recommend is the Diátaxis framework. This is a systematic approach to organizing all the documents relevant to your project. 

    Applying a systematic approach to documenting your repositories can make it easier for users to know where to go to find the information that they need. This reduces frustration and gets folks contributing to your project faster. 

    Diátaxis divides documents based on their purpose into four categories: 

    • Tutorials: Learning-oriented documents
    • How-to guides: Goal-oriented instructions for specific tasks
    • Explanation: Discussions providing understanding of the project
    • Reference: Technical specifications and information

    Each document in your repository should fit into one of these categories. This helps users quickly find the appropriate resource for their current situation, whether they need to learn a new concept, solve a specific problem, understand underlying principles, or look up technical details.

    This can also be a helpful guide to identify which documentation your repository is missing. Is there a tool your repository uses that doesn’t have a reference document? Are there enough tutorials for contributors to get started with your repository? Are there how-to guides to explain some of the common tasks that need to be accomplished within your repository? 

    Organizing your documentation according to this framework helps ensure you’re taking a holistic approach to building and maintaining key content for your project.

    Documenting your project

    Want to test out this framework and guidelines for yourself? Check out this example repository with a docs folder structure and documentation templates that you can copy into your own project.

    The post Documentation done right: A developer’s guide appeared first on The GitHub Blog.

    Source: Read More 

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleBlackbody is a thermogram viewer
    Next Article CVE-2025-47436 – Apache ORC Heap-based Buffer Overflow Vulnerability

    Related Posts

    News & Updates

    With Gears of War: Reloaded on the way, which Xbox 360 game would you like to see get rebuilt next? — Weekend discussion 💬

    June 28, 2025
    News & Updates

    Capcom’s finally giving Street Fighter 6 players the outfits they’ve wanted — when all else fails, send in swimsuits

    June 28, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    CVE-2025-22462 – Ivanti Neurons for ITSM Authentication Bypass Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-46433 – JetBrains TeamCity Path Traversal Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Google Chrome 0-Day Vulnerability Exploited by APT Hackers in the Wild

    Security

    Rilasciata Fedora Asahi Remix 42: la distribuzione GNU/Linux ottimizzata per Mac con chip Apple Silicon

    Linux

    Highlights

    FermiNet: Quantum physics and chemistry from first principles

    May 27, 2025

    Using deep learning to solve fundamental problems in computational quantum chemistry and explore how matter…

    CVE-2025-43925 – Unicom Focal Point Data Encryption Key Hardcoded Vulnerability

    June 3, 2025

    CVE-2025-6285 – PHPGurukul COVID19 Testing Management System PHP Cross-Site Scripting Vulnerability

    June 19, 2025

    Hiring Kit: Computer Hardware Engineer

    April 18, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.