Version: Next

Using Docusaurus 2 for personal sites

Docusaurus isn't really geared toward building personal sites like this, but it adapts pretty well. I started with the classic preset.


Each of these changes is made in docusaurus.config.js.

Remove the public edit link

If you run your site from a private repo, you may want to stop Docusaurus from appending "edit this page" links. To do this, remove or comment out the editURL entry in the docs config:

docs: {
// editUrl:
// '',

Custom docs folder

To change the docs folder name - e.g. from docs to notes - you can pass it to the docs plugin as a configuration variable:

docs: {
path: "notes",
routeBasePath: "notes",
Last updated on