moj-analytical-services / splink

Fast, accurate and scalable probabilistic data linkage with support for multiple SQL backends
https://moj-analytical-services.github.io/splink/
MIT License
1.38k stars 150 forks source link

Sphynx or MkDocs for documentation? #9

Closed RobinL closed 4 years ago

RobinL commented 4 years ago

see e.g. https://news.ycombinator.com/item?id=17717295

Leaning on side of Sphynx with docs written in markdown

mamonu commented 4 years ago

sphinx in my opinion too.

mamonu commented 4 years ago

ok have done a first draft. will create a pull request

mamonu commented 4 years ago

in order to do this i consulted the 3 following docs

https://www.sphinx-doc.org/en/master/index.html https://www.sphinx-doc.org/en/master/man/sphinx-apidoc.html

with the help of An idiot’s guide to Python documentation with Sphinx and ReadTheDocs

https://samnicholls.net/2016/06/15/how-to-sphinx-readthedocs/

TLDR the file to edit for configuring sphinx is conf.py in the docs\source directory

mamonu commented 4 years ago

added also !docs/* on .gitignore as otherwise the build part of the docs is not saved because of a previous build/ statement

mamonu commented 4 years ago

integrating markdown a bit better based on:

http://www.sphinx-doc.org/en/master/usage/markdown.html

and

https://stackoverflow.com/questions/2471804/using-sphinx-with-markdown-instead-of-rst

mamonu commented 4 years ago

This is a nice way to think about the documentation of sparklink: with autodoc the API will always be documented but it will be the reference part and we will need to think about the rest

doc1

RobinL commented 4 years ago

Closed by #22