Migrating a mkdocs.yml project in one upload
Zip the repository with mkdocs.yml at the root and upload it. Site name, description, language and the nav tree are read out, so your navigation survives without being rebuilt. What does not come across is anything a plugin or a theme override was doing.
Why this is the easy one
What is read out of mkdocs.yml
| Key | Becomes |
|---|---|
site_name | The site’s name |
site_description | The description, and the meta description |
theme.language or site_language | The site language |
nav | The navigation tree, with your titles and your order |
site_name: Acme Handbook
site_description: How to run and deploy Acme.
nav:
- Home: index.md
- Getting started:
- Install: getting-started/install.md
- First project: getting-started/first-project.md
- Guides:
- Deploying: guides/deploying.md
- Troubleshooting: guides/troubleshooting.md
- Reference: reference/cli.mdThe steps
1. Zip the project
2. Upload it
3. Compare the tree against your nav
4. Deal with what the plugins were doing
5. Publish
What does not come across
The five-minute check
Going back, if you want to
Questions
Does Docszero read my mkdocs.yml?
What happens to my MkDocs plugins?
Do I need to remove anything from the repo before zipping?
Is Docszero the same as MkDocs?
Can I go back to self-hosting MkDocs afterwards?
Try the free plan instead of reading about it
- Drag in a folder of Markdown, a zip, a Word document or a PDF
- Search, navigation and a 404 page are built for you
- Export the built site or the source on every plan, free included
Markdown to website, without a static site generator
You have a folder of .md files and you want it on the web. The usual answer is install a generator, pick a theme, write a config and wire up CI. Here is the version where you upload the folder.
Do you actually need a static site generator?
A static site generator is a good answer to a question a lot of teams have not asked yet. Here is what it actually buys you, what it costs to keep, and the three cases where the honest answer is that you do not need one.
Docszero vs MkDocs: the same site, without the pipeline
MkDocs is free and always will be. What costs is the hosting, the CI job and the afternoons. Docszero builds with Zensical, the Material for MkDocs team’s own successor, and publishes it for you.