-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs: RTD vs MkDocs #129
Comments
The MkDocs docs do look nice. My biggest reservation is that I haven't seen a system like intersphinx to link to other projects' documentation. As autodoc with signature typehints roll out, intersphinx becomes less optional. I second netlify and GH hosting over RTD. I recently had to rule out RTD because I needed to add an extra command to sphinx
|
Just to chime in on our infrastructure: The OpenFF toolkit is still on RTD. No bad experiences to speak of. We're using MyST so I've mostly escaped the tyranny of rST. (cc @Yoshanuikabundi who facilitated the transition) Our PRs now have docs-building tests, and we updated our developers instructions so building docs locally is less painful. If we start having trouble I'll probably try move over to GHA, just to keep more of our automation under one roof. |
I tried MkDocs for KinoML and ended up switching back to Sphinx just because of the API docstrings autogeneration. The Material for Sphinx theme port is okayish too. |
+1 - this has been one of the big sticking points for me as well.
But I think until mkdocstrings/pytkdocs#13 and mkdocstrings/mkdocstrings#115 are resolved I'd be hesitant to swap. |
I recently moved one of my repo's over to MkDocs. I found it quite the enjoyable experience and thought I would share. Example
RTD/Sphinx:
MkDocs/GitHub hosting:
The pros/cons does convolve the host/static site generator into a single list and Sphinx+GH hosting is perfectly possible. GitHub seems to be encouraging a all-in-one solution (actions, projects, wikis, website hosting, and I'm sure more to come) which leans a lot on a single solution. I find the the cognitive overhead associated with sticking with standard GHA/Markdown quite nice and much less "let me trawl through sphinx/RTD docs for a glimmer of hope" kinds of operations.
PS: I'm a pretty big fan of netlify for general JAMStack depending on the sophistication required.
The text was updated successfully, but these errors were encountered: