Quickstart
NOTE: it's possible to publish Dendron on any platform that can host static sites. This guide covers publishing to Github Pages
Pre-requisites
- Create an account on github
- Follow the instructions here to create a repository named
{username}.github.io
where{username}
is your username on Github - Setup a github repo with github pages enabled
- when selecting the source, make sure to pick
master branch/docs folder
- when selecting the source, make sure to pick
- Create an initial commit and push your vault to your github page
Guide
- Depending on what notes you want to publish, you will want to update your
dendron.yml
file. By default, everything will be published - Update the contents of
_config.yml
inside yourdocs
folder to specify site wide configuration like logo and title.- NOTE: this is located relative to
dendron.rootDir
- if you do not have a
docs
folder, you can runDev:Dendron: Doctor
to create one
- NOTE: this is located relative to
- When you are ready to publish, run the
> Dendron: Build Pod
command to prepare your site for publication. This builds your notes into thesiteRootDir
directory which defaults todocs
.Build Pod
does the following when it builds your site:- copies over the notes specified in
dendron.yml
- creates a copy of your notes with the ids in place of the file names
- updates all
wiki-links
tomarkdown-links
so Jekyll can process it, preserving titles if there are any
- copies over the notes specified in
- Commit your changes.
- Push your repository using
> Git: Push