← Back to team overview

fenics team mailing list archive

Re: doc in source

 

On 05/23/2011 03:26 PM, Garth N. Wells wrote:
I think we need figure out quickly how to build the doc now that it's
been moved into the source tree (at least for DOLFIN). Has anyone given
this some thought?

Some :-)

Is the idea to add a root file to dolfin/doc, and
just use paths relative to this to include demo doc, programmer ref,
etc?

I put the demo doc (.rst) together with the demos (common text in
common dir, cpp/python specific .rst in cpp/python dirs). This makes
it natural to update the doc when updating the demo code, and seemed
like the most intuitive to me.

Next planned step is to move the programmer's-reference-generating
scripts from fenics-doc, and let these generate the .rst-files under
for instance dolfin/doc.

Should the doc be built in the CMake 'build' dir?

Is "the doc" the .rst or the .html?

The next question is then how best to pull the docs together for the
web page.

My initial suggestion would be

1. Copy .rst from dolfin/doc and dolfin/demos
2. Generate small layer of .rst's integrating these with web page
3. Build.

--
Marie


Follow ups

References