Skip to content

Docs: RTD vs MkDocs #129

@dgasmith

Description

@dgasmith

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:

  • Pros:
    • Standard in the ecosystem, but declining in popularity
    • Large suite of functionality like autodoc
    • RTD provides a fairly nice hosted solution for free (with ads)
  • Cons:
    • RST is fairly painful and a bit too "magic"
    • Sphinx ecosystem is a bit archaic and hard to navigate
    • Produced pages do not feel modern or engaging.

MkDocs/GitHub hosting:

  • Pros:
    • All markdown, pretty standard to edit
    • Very simple deploys.
    • Material UI-based theme feels quite modern (we based Envision off it as well).
    • Batteries included is fairly robust.
  • Cons:
    • Add-on/extension ecosystem is young (audoc in particular) requires a bit more manual work.
    • Much more "plain" javascript with a concrete idea of partials from JAMstack making it much more easily extensible.
  • Neutral:
    • Config is in YML like everything else from k8s to conda.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions