Tcl/Tk Documentation and Website

Tool descriptions and instructions
Login

Tool descriptions and instructions

man2markdown.tcl

Command

tclsh man2markdown.tcl version

example:

tclsh man2markdown.tcl 9.0

Input

./nroff/tcl+version

./nroff/tk+version

Output

./markdown-output
├── tcl9.0
│   ├── API
│   ├── Commands
│   └── User
└── tk9.0
    ├── API
    ├── Commands
    └── User

Script Execution Steps

Man to AST:

AST to Markdown:

Markdown file creation:

Docs Maker

tclsh make_docs.tcl