Closed AlDanial closed 4 years ago
I build my entire webpage from a single directory, and currently triangle (https://rufat.be/triangle/) is a sub-directory that gets built with the rest. If I were to merge your changes as they are now, that would break my own build process.
However, I recognize that there is value in allowing triangle doc to be built on its own. Could you keep all the .rst and .py in place without moving them to a source directory?
I was pleased to come across your triangle project today; until now I've been using the original C code and its command line-invoked programs
triangle
andshowme
in one of my Python projects. A direct Python interface is wonderful!It took a bit of work to go through your documentation though. It is 98% ready to work with sphinx, but not quite there. The proposed PR adds the missing elements, mainly
conf.py
andMakefile
, and restructures the contents ofdoc/
so that the*.rst
are belowdoc/source/
and generated HTML (after invokingmake
in thedoc/
directory) will go intodoc/build/html
. The result looks good, images are included, etc. I copieddoc/build/html
to my own web site, https://danial.org/trianglePR/html/index.html, so you can check out the end product if you're curious.One further refinement would be to make the HTML viewable through Github Pages, but one step at a time.