Documentation Generation

Configuring MkDocs

< >

3. Writing Documentation

Writing documentation in Markdown is straightforward. This section will cover how to effectively use Markdown to create well-structured documentation.

Practical Exercise

  1. Write Documentation in Markdown:

    • Edit the index.md file to include project details and instructions. For example:
      # Welcome to My Project
      
      This is the documentation for my project. Here you will find instructions on how to use and contribute to the project.
      
  2. Explore Markdown Syntax:

    • Familiarize yourself with Markdown syntax by adding headings, lists, links, and images to your index.md and about.md files.
  3. Preview Your Documentation:

    • Use the mkdocs serve command again to preview your updated documentation in the browser.