miller/docs
2020-09-27 12:06:32 -04:00
..
_static neaten 2020-09-27 09:32:30 -04:00
data file-format.rst, data/ dir, pix/ dir 2020-09-27 11:29:50 -04:00
pix file-format.rst, data/ dir, pix/ dir 2020-09-27 11:29:50 -04:00
.vimrc file-format.rst, data/ dir, pix/ dir 2020-09-27 11:29:50 -04:00
10-1.sh sphinx experiments 2020-09-27 00:39:55 -04:00
10-2.sh sphinx experiments 2020-09-27 00:39:55 -04:00
10min.rst neaten genrst 2020-09-27 10:43:28 -04:00
10min.rst.in neaten genrst 2020-09-27 10:43:28 -04:00
about.rst neaten 2020-09-27 09:32:30 -04:00
about.rst.in neaten 2020-09-27 09:32:30 -04:00
build.rst skeleton 2020-09-27 12:06:32 -04:00
build.rst.in skeleton 2020-09-27 12:06:32 -04:00
circle.csv sphinx experiments 2020-09-27 00:39:55 -04:00
conf.py neaten genrst 2020-09-27 10:43:28 -04:00
contact.rst skeleton 2020-09-27 12:06:32 -04:00
contact.rst.in skeleton 2020-09-27 12:06:32 -04:00
cookbook.rst skeleton 2020-09-27 12:06:32 -04:00
cookbook.rst.in skeleton 2020-09-27 12:06:32 -04:00
cookbook2.rst skeleton 2020-09-27 12:06:32 -04:00
cookbook2.rst.in skeleton 2020-09-27 12:06:32 -04:00
cookbook3.rst skeleton 2020-09-27 12:06:32 -04:00
cookbook3.rst.in skeleton 2020-09-27 12:06:32 -04:00
customization.rst skeleton 2020-09-27 12:06:32 -04:00
customization.rst.in skeleton 2020-09-27 12:06:32 -04:00
data-examples.rst skeleton 2020-09-27 12:06:32 -04:00
data-examples.rst.in skeleton 2020-09-27 12:06:32 -04:00
data-sharing.rst skeleton 2020-09-27 12:06:32 -04:00
data-sharing.rst.in skeleton 2020-09-27 12:06:32 -04:00
doc-status.rst neaten 2020-09-27 09:32:30 -04:00
doc-status.rst.in neaten 2020-09-27 09:32:30 -04:00
etymology.rst skeleton 2020-09-27 12:06:32 -04:00
etymology.rst.in skeleton 2020-09-27 12:06:32 -04:00
example.csv sphinx experiments 2020-09-27 00:39:55 -04:00
faq.rst neaten 2020-09-27 09:32:30 -04:00
faq.rst.in neaten 2020-09-27 09:32:30 -04:00
feature-comparison.rst skeleton 2020-09-27 12:06:32 -04:00
feature-comparison.rst.in skeleton 2020-09-27 12:06:32 -04:00
file-formats.rst neaten 2020-09-27 11:41:50 -04:00
file-formats.rst.in neaten 2020-09-27 11:41:50 -04:00
genrst neaten 2020-09-27 11:41:50 -04:00
h2rfoo file-format.rst, data/ dir, pix/ dir 2020-09-27 11:29:50 -04:00
index.rst skeleton 2020-09-27 12:06:32 -04:00
internationalization.rst skeleton 2020-09-27 12:06:32 -04:00
internationalization.rst.in skeleton 2020-09-27 12:06:32 -04:00
log.txt sphinx experiments 2020-09-27 00:39:55 -04:00
make.bat sphinx experiments 2020-09-27 00:39:55 -04:00
manpage.rst skeleton 2020-09-27 12:06:32 -04:00
manpage.rst.in skeleton 2020-09-27 12:06:32 -04:00
originality.rst skeleton 2020-09-27 12:06:32 -04:00
originality.rst.in skeleton 2020-09-27 12:06:32 -04:00
performance.rst skeleton 2020-09-27 12:06:32 -04:00
performance.rst.in skeleton 2020-09-27 12:06:32 -04:00
poki neaten 2020-09-27 11:41:50 -04:00
README.md skeleton 2020-09-27 12:06:32 -04:00
record-heterogeneity.rst skeleton 2020-09-27 12:06:32 -04:00
record-heterogeneity.rst.in skeleton 2020-09-27 12:06:32 -04:00
reference-dsl.rst skeleton 2020-09-27 12:06:32 -04:00
reference-dsl.rst.in skeleton 2020-09-27 12:06:32 -04:00
reference-verbs.rst skeleton 2020-09-27 12:06:32 -04:00
reference-verbs.rst.in skeleton 2020-09-27 12:06:32 -04:00
reference.rst skeleton 2020-09-27 12:06:32 -04:00
reference.rst.in skeleton 2020-09-27 12:06:32 -04:00
release-docs.rst skeleton 2020-09-27 12:06:32 -04:00
release-docs.rst.in skeleton 2020-09-27 12:06:32 -04:00
square.csv sphinx experiments 2020-09-27 00:39:55 -04:00
triangle.csv sphinx experiments 2020-09-27 00:39:55 -04:00
why.rst skeleton 2020-09-27 12:06:32 -04:00
why.rst.in skeleton 2020-09-27 12:06:32 -04:00
whyc-details.rst skeleton 2020-09-27 12:06:32 -04:00
whyc-details.rst.in skeleton 2020-09-27 12:06:32 -04:00
whyc.rst skeleton 2020-09-27 12:06:32 -04:00
whyc.rst.in skeleton 2020-09-27 12:06:32 -04:00

Miller Sphinx docs

Why use Sphinx

  • Connects to readthedocs.com so people can get their docmods onto the web instead of the self-hosted https://johnkerl.org/miller/doc. Thanks to @pabloab for the great advice!
  • More standard look and feel -- lots of people use readthedocs for other things so this should feel familiar
  • We get a Search feature for free

Contributing

Notes

  • CSS:
    • I used the Sphinx Classic theme which I like a lot except the colors -- it's a blue scheme and Miller has never been blue.
    • Files are in docs/_static/*.css where I marked my mods with /* CHANGE ME */.
    • If you modify the CSS you must run make clean html (not just make html) then reload in your browser.
  • Live code:
    • I didn't find a way to include non-Python live-code examples within Sphinx so I adapted the pre-Sphinx Miller-doc strategy which is to have a generator script read a template file (here, foo.rst.in), run the marked lines, and generate the output file (foo.rst).
    • Edit the *.rst.in files, not *.rst directly.
    • Within the *.rst.in files are lines like POKI_RUN_COMMAND. These will be run, and their output included, by make html which calls the genrst script for you.
  • readthedocs:

To do

  • Port various content from ../doc.
  • Let's all discuss if/how we want the v2 docs to be structured better than the v1 docs.