Softwr

Web Development · head to head

Gatsby vs MkDocs

Gatsby logo

Gatsby

Web Development

Open-source React framework for building websites and apps

From
Free
Free plan
Yes
MkDocs logo

MkDocs

Documentation

Static site generator for project documentation in Markdown

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Gatsby lists react-based component development; only MkDocs lists plain Markdown.
  • Where Gatsby falls short: Gatsby Cloud hosting ended in August 2023 and was merged into Netlify.
  • Where MkDocs falls short: no built-in versioning, which Docusaurus provides and documentation teams eventually need.

How do Gatsby and MkDocs differ?

Gatsby and MkDocs differ on pricing model, platforms and category (Web Development against Documentation). Only the attributes on which Gatsby and MkDocs actually diverge.

Attributes where Gatsby and MkDocs differ
AttributeGatsbyMkDocs
Pricing modelOpen-sourceOpen source, no licence fee
PlatformsWeb, Windows, macOS, LinuxWeb, Linux, macOS, Windows
CategoryWeb DevelopmentDocumentation

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for Gatsby.

Which features does each one have?

They share no listed features; 8 appear only for Gatsby and 4 only for MkDocs. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Gatsby

  • React-based component development
  • GraphQL data layer
  • Plugin and theme ecosystem
  • Static site generation
  • Server-side rendering
  • Deferred Static Generation
  • Headless CMS integration
  • Cloud Functions support

Only in MkDocs

  • Plain Markdown
  • Single YAML config
  • Material theme
  • Live preview

What is each one used for?

Gatsby is most often brought in for marketing sites pulling content from a headless CMS; MkDocs for project documentation for teams that would rather not run a JavaScript toolchain. The jobs each tool is most often brought in to do.

Gatsby

  • Marketing sites pulling content from a headless CMSnot MkDocs
  • Blogs and documentation sites built in Reactnot MkDocs
  • Static sites with image optimisation pluginsnot MkDocs
  • Migrating existing Gatsby Cloud sites to Netlifynot MkDocs

MkDocs

  • Project documentation for teams that would rather not run a JavaScript toolchainnot Gatsby
  • Python projects keeping docs beside the codenot Gatsby
  • Documentation that must build fast in CI on every commitnot Gatsby

Where do Gatsby and MkDocs fall short?

Gatsby's most cited limit: Gatsby Cloud hosting ended in August 2023 and was merged into Netlify. MkDocs's: no built-in versioning, which Docusaurus provides and documentation teams eventually need. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Gatsby

  • Gatsby Cloud hosting ended in August 2023 and was merged into Netlify
  • The GitHub repository's releases section is empty, so release cadence is unclear
  • Requires React and GraphQL knowledge; there is no visual editor
  • Hosting, CMS and build services are paid separately
  • Official hosting guidance now centres on Netlify

MkDocs

  • No built-in versioning, which Docusaurus provides and documentation teams eventually need
  • Extending past the theme means writing Python plugins
  • Markdown only, so embedding interactive components is not the model

How much do Gatsby and MkDocs cost?

Gatsby is free to use; MkDocs is free to use. Plan by plan below, from each vendor's own pricing page.

Gatsby

Free

No published plan breakdown. See the Gatsby review.

MkDocs

Free
  • MkDocsFree
    • Full functionality
    • Commercial use permitted
    • Community support

Which should you pick?

Choose Gatsby if

  • You need react-based component development.
  • You want to start without paying.
  • You work on Web, Windows, macOS, Linux.
  • You also want graphql data layer.

Choose MkDocs if

  • You need plain markdown.
  • You want to start without paying.
  • You work on Web, Linux, macOS, Windows.
  • You also want single yaml config.

Questions people ask

Is Gatsby or MkDocs better?
It depends on the job. Gatsby fits marketing sites pulling content from a headless CMS; MkDocs fits project documentation for teams that would rather not run a JavaScript toolchain. Gatsby starts at Free and MkDocs at Free.
Which is cheaper, Gatsby or MkDocs?
Gatsby starts at Free and MkDocs at Free.
Does Gatsby or MkDocs run on more platforms?
Gatsby runs on Web, Windows, macOS, Linux. MkDocs runs on Web, Linux, macOS, Windows.
Can I use Gatsby for free?
Both have a free tier, so you can try either at no cost before committing.
What is Gatsby best used for?
Gatsby is most often used for marketing sites pulling content from a headless cms, blogs and documentation sites built in react, static sites with image optimisation plugins, migrating existing gatsby cloud sites to netlify. Of those, marketing sites pulling content from a headless cms and blogs and documentation sites built in react are not what MkDocs is typically brought in for.
What can Gatsby do that MkDocs cannot?
Gatsby covers React-based component development, GraphQL data layer, Plugin and theme ecosystem, Static site generation. MkDocs covers Plain Markdown, Single YAML config, Material theme, Live preview.

Answered from the vendors’ own pages

Gatsby: Is Gatsby free?

Yes. Gatsby is open source under the MIT License, and the project site lists no paid Gatsby plans. You pay separately for hosting and any CMS you connect.

Source
MkDocs: Is MkDocs free?

Yes, open source under the BSD licence. The Material theme has a free version and a paid Insiders edition.

Gatsby: What happened to Gatsby Cloud?

Netlify acquired Gatsby, Inc. in February 2023 and ended Gatsby Cloud in August 2023, folding it into Netlify. The Gatsby site offers migration paths to Netlify.

Source
MkDocs: MkDocs or Docusaurus?

MkDocs is simpler and faster to adopt, especially for Python teams. Docusaurus offers versioning, internationalisation and React components, which matter once documentation grows.

Gatsby: Does Gatsby support server-side rendering?

Yes. Wikipedia says version 4 added server-side rendering and Deferred Static Generation alongside static generation. The Gatsby site also mentions Cloud Functions.

Source
MkDocs: Does MkDocs support versioned docs?

Not natively. Plugins such as mike add it, where Docusaurus includes versioning in core.

Share

Related pages

Other head to heads