Skip to main content

A processor to generate Markdown code documentation from OpenSCAD source comments.

Project description

This package generates wiki-ready GitHub flavored markdown documentation pages from in-line source code comments. This is similar to Doxygen or JavaDoc, but designed for use with OpenSCAD code. Example images can be generated automatically from short example scripts.

Documentation about how to add documentation comments to OpenSCAD code can be found at https://github.com/revarbat/openscad_docsgen/blob/main/WRITING_DOCS.md

Using openscad-docsgen

The simplest way to generate documentation is:

% openscad_docsgen *.scad

Which will read all of .scad files in the current directory, and writes out documentation to the ./docs/ dir. To write out to a different directory, use the -D argument:

% openscad_docsgen -D wikidir *.scad

To write out an alphabetical function/module index markdown file, use the -i flag:

% openscad_docsgen -i *.scad

To write out a Table of Contents markdown file, use the -t flag:

% openscad_docsgen -t *.scad

To write out a CheatSheet markdown file, use the -c flag:

% openscad_docsgen -c *.scad

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

openscad_docsgen-1.0.8-py2.py3-none-any.whl (13.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page