Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Rapid documentation tool that turns Markdown files into HTML, PDF, and static sites.
Docnado is a Python-based rapid documentation tool that renders Markdown files into HTML pages, PDF documents, and static sites. It runs as a Flask development server on localhost and can freeze content into a set of static HTML files. The tool accepts Markdown documents with optional metadata and produces navigable documentation with an auto-generated sidebar. It is distributed via PyPI under the name docnado.
Docnado is an open-source documentation generator that converts Markdown into multiple output formats. It takes a directory of Markdown files (ending in lowercase .md) and outputs them as styled HTML on a local server, as PDF files through the HTML server, or as a static HTML site. The tool is built on Flask and uses an adapted Markdown syntax that supports media embeds, tables, code highlighting, and file download blocks. It is maintained as a PyPI package and includes command-line utilities for checking link integrity and finding orphaned assets.
.md file can define metadata and select its own presentation template, allowing per-document styling.--find-broken-links option scans generated HTML for external broken links.--find-orphans option identifies media assets not referenced by any generated HTML.docnado --new copying sample style and docs into the working directory.DN_DOCS_DIR, DN_STYLE_DIR, DN_WKHTMLTOPDF, and DN_FLASK_DEBUG.--html and --pdf to integrate documentation generation into build pipelines.docnado --html.docnado --pdf (note that static resources are not pulled through in PDF mode).--find-orphans to locate unused images and --find-broken-links to catch dead external references in the generated site.Install with python -m pip install docnado --upgrade, create a docs folder with a home.md file, and run docnado to start a server on localhost:5000. Use command-line options to freeze the site to HTML, generate PDFs, limit navigation trees, or control host and port. Configuration is managed through environment variables that default to sensible locations like docs and style.
Run python -m pip install docnado --upgrade. Then create a docs directory with a Markdown file and execute docnado to start the local server.
Yes. Run docnado --pdf to generate a set of PDF files for each .md file via the HTML server. You need to set the DN_WKHTMLTOPDF environment variable or have the wkhtmltopdf_0.12.5.exe binary in the working directory.
Yes. The --find-broken-links option scans the generated HTML for external broken links and reports them. The --find-orphans option similarly finds media files not referenced by any generated HTML.
Run docnado --new to copy sample style templates and documentation into the working directory, then edit them. Each document can select its template via metadata at the top of the file.
Docnado is an open-source tool distributed on PyPI, so it is free to use and modify.
