[vtkusers] [vtk-developers] Request for Feedback: VTK Textbook Strawman
Bill Lorensen
bill.lorensen at gmail.com
Fri Mar 30 13:24:50 EDT 2018
I also process the markdown and insert code, images, doxygen links to all
mentions of vtk classes. So I guess markdown is extensible with my own
python code.
On Fri, Mar 30, 2018, 10:21 AM Bill Lorensen <bill.lorensen at gmail.com>
wrote:
> We also do the testing every night. Since I already have the
> infrastructure in place I hope to keep using mkdocs with the material look
> and feel.
>
> On Fri, Mar 30, 2018, 9:55 AM David Thompson <david.thompson at kitware.com>
> wrote:
>
>> > pandoc is not perfect, but I did use it to convert the book's pdf to
>> > markdown doc, docx and txt.
>>
>> I believe pandoc also deals with restructured text (rst), which is
>> similar to markdown. It is what https://readthedocs.org/ uses (via the
>> python Sphinx tool). We use it for some other projects at Kitware (SMTK and
>> CMB) and it works well. Unlike markdown, it is extensible (you can write
>> python code to inject HTML/JS/LaTeX etc. into the output).
>>
>> It also has some hooks to include portions of external files. We use this
>> to directly include source code (that gets tested!) into the documentation.
>> I am working toward using image tests as part of the documentation. Of
>> course, it's not perfect (there's no guarantee all the documentation makes
>> sense anymore if you change the source). I also want to use it to inject
>> interactive vtk-js content into the online version of the docs (and a
>> screenshot into the offline version), which is possible via an extension if
>> not directly.
>>
>> David
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180330/8319d406/attachment.html>
More information about the vtkusers
mailing list