You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

madoc

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

madoc

Documentation generator from markdown files

1.2.5
Maintainers
1

Madoc

What is Madoc for ?

It is a terminal tool to automatically generate a single html documentation file from all the .md files found in the directory.

Cool stuff to join a clean and easy to read documentation to some project.

Installation

pip install madoc

Usage

Open a terminal in the directory where the .md files are, and just type:

madoc

done, you have your documentation in a single html file.

Know more options with madoc -h.

Changelog

  • 1.2.5: responsive design improved, possibility to prefix the files with '(XXX..)' to sort the files without appearing in the displayed names
  • 1.2.0: reworked without any JS dependencies (=readable offline), prettier template, base64 images conversion !
    • to be deprecated: the recursive option, will be replaced by something else (WIP...)
  • 1.1.1: responsive design
  • 1.1.0: Recursive build mode

Libraries used by Madoc

JS (used in recursive mode only)

  • Bulma (CSS framework)
  • Vue.js (JS framework)
  • Marked (JS library)

Python (already included in the pip setup)

  • Jinja2 (python library)
  • markdown
  • Pygments
  • requests

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts