Termage

screenshot of Termage
mkdocs

Generate SVGs from any Python code, even in your documentation.

Overview

Termage is a powerful tool designed for Python developers who need to enhance their documentation with visually appealing and accurate representations of output. By leveraging the capabilities of PyTermGUI, Termage allows users to create real-time screenshots of Python code output, ensuring that documentation remains both up-to-date and informative. This tool streamlines the documentation process, making it easier to showcase code functionality within markdown files.

Setting up Termage is straightforward, especially with its installation through pip, which also brings in essential dependencies like PyTermGUI. Once integrated into your mkdocs setup, Termage transforms the way you document Python projects, bringing clarity and visual appeal to your technical content.

Features

  • Real Screenshots: Generate reproducible screenshots of Python output, making documentation visually accurate.
  • Seamless Integration: Easily integrates with mkdocs through a simple setup process via the mkdocs.yml file.
  • SVG Generation: Utilizes PyTermGUI to create high-quality SVGs for a polished presentation of code output.
  • Markdown Compatibility: Pre-processes markdown files to convert output into codefences format, enhancing readability.
  • Easy Installation: Quickly install Termage and its dependencies using pip, simplifying the setup for developers.
  • Up-to-Date Documentation: Ensures that your documentation reflects the latest changes and outputs from your code.
  • Python Focused: Specifically designed for Python projects, making it a tailored solution for developers in that ecosystem.
mkdocs
MkDocs

MkDocs is a fast, simple and downright gorgeous static site generator that's geared towards building project documentation. Documentation source files are written in Markdown, and configured with a single YAML configuration file.

documentation
Documentation

Documentation themes are built specifically for writing technical and product documentation. They are normally written and maintained in Markdown. The often include a navigation menu, search bar, clear headings, semantic document structure and clean typography.