/sphinx-markdown-docs

An example of how to use Sphinx to create an awesome documentation site.

MIT LicenseMIT

sphinx-markdown-docs

An example of how to use Sphinx to create a beautiful documentation site with markdown.

⭐ Features

  • Write documentation in markdown
  • Automatically rebuild the site in local development when files is saved
  • Table of contents with sub-header anchor links
  • Auto-generated search functionality
  • Easy to serve the docs on ReadTheDocs

🔧 How to install

👟 How to use

  • poetry run sphinx-autobuild -W -b dirhtml docs/source docs/build
  • Go to http://localhost:8000
  • Edit/add markdown files in docs/source/ directory
  • Update the toctree in docs/source/index.md

🏗️ Build documentation

  • poetry run sphinx-build -W -b dirhtml docs/source docs/build

Acknowledgements

  • Sphinx: awesomely powerful documentation tooling
  • MyST: markdown parser for Sphinx
  • furo: beautiful theme built by pradyunsg
  • sphinx-autobuild: automatically re-generates documentation when the markdown is updated
  • poetry: sane Python dependency management

Related projects

  • mkdocs: fast, simple and downright gorgeous static site generator that's geared towards building project documentation.
  • mdBook: Create book from markdown files. Like Gitbook but implemented in Rust.
  • Docusaurus: Easy to maintain open source documentation websites.
  • Retype: an ✨ ultra-high-performance ✨ generator that builds a website based on simple text files.