This directory contains project documentation, including both hand-written guides and generated API documentation.
- assembly_instructions.md - Step-by-step assembly guide
- bom.md - Bill of materials (parts and hardware)
- api/ - Auto-generated API documentation from source files
- Generated by running
make docs - Uses openscad_docsgen to extract documentation from code comments
- Recreated each build, do not edit manually
- Generated by running
- Edit the scad files
- run
make docs - Commit changes to version control
make docsThis will scan all documented functions and modules in:
assemblies/*.scadhardware/*.scadparts/*.scadtools/*.scad
Use openscad_docsgen format for documenting functions and modules:
// Module: my_module
// Usage:
// my_module(size);
// Description:
// Creates a component with the specified size
// Arguments:
// size = The size in millimeters
// Example(3D): Standard size
// my_module(10);
module my_module(size) {
cube([size, size, size]);
}See: https://github.com/BelfrySCAD/openscad_docsgen
Edit bom.md
Add comments to your .scad files and run make docs