I have added a small script which format a Example python script for FreeCAD in the wiki way.
The script is located here:
http://free-cad.svn.sourceforge.net/vie ... iew=markup
And as an example I have used it to convert the drawing scripting example file:
http://free-cad.svn.sourceforge.net/vie ... iew=markup
to the docu:
https://sourceforge.net/apps/mediawiki/ ... #Scripting
The script makes mainly the indetion for code blocks and make python comments with a following space to
a normal wiki text....
That will help us to keep scripting docu and the Wiki more in sync.
I intend to make such example pages for all major components...
The examples will be part of the SVN repositories.
Help appreciated
Cheers Jürgen
Helper tool for documenting scripts in the Wiki
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Helper tool for documenting scripts in the Wiki
Stop whining - start coding!