- changed milestone to 1.3
Restructure demos
The demos should be split into
demo/
documented/
womersley2d/
demo_womersley2d.py
README.rst
aneurysm/
demo_aneurysm.py
README.rst
mesh.xml.gz
undocumented/
something/
demo_foobar.py
To do this requires getting rid of demo_main.py, so that's the first step.
Comments (10)
-
reporter -
reporter -
assigned issue to
-
assigned issue to
-
reporter - edited description
-
reporter The file names should follow some convention. I like the dolfin style except it has non-importable demo file names like 'demo_stokes-iterative.py'. We need importable.
For a problem class FlowAroundCylinder, three alternatives, pick one:
demo/undocumented/FlowAroundCylinder/demo_FlowAroundCylinder.py
demo/undocumented/flow_around_cylinder/demo_flow_around_cylinder.py
demo/undocumented/flowaroundcylinder/demo_flowaroundcylinder.py
The second is easier to read, the last is easier to type.
-
I like the way it is today, actually. Don't see a reason for prepending demo to the filename. CamelCase foldername and lower case filename also works for me.
-
reporter I changed it to demo/undocumented/FlowAroundCylinder/FlowAroundCylinder.py etc.
-
Ok :)
So are we happy with this, then?
-
There's the README.rst you're suggesting. Isn't it enough to use docstrings in the py-files, and use sphinx to create pretty pretty documentation?
-
reporter That's absolutely fine.
-
- changed status to resolved
- Log in to comment