Jekyll Git-Wiki
Jekyll Page with Git-Wiki Theme🔗
âš Obsolete, we’re using MkDocs
-
clone skeleton repo
1
git clone https://github.com/Drassil/git-wiki-skeleton.git
-
chose
Gemfile
from folder.env-files
, e.g.Gemfile.gitlab
, and copy/symlink to base folder. Then add missing gems1 2 3
gem 'kramdown' gem 'kramdown-parser-gfm' gem 'webrick'
-
install gems with bundle
1 2
bundle config set --local path '.bundle' # set gem installation folder bundle install
-
serve website locally for editing
1
bundle exec jekyll serve
-
add note sources as Git submodules
1
git submodule add URL wiki/submoddir
-
if building fails due to unsupported file names or metadata (YAML frontmatter), fix them
-
after editing locally, copy the
_site
folder and serve as static website wherever you want. Alternatively build directly with1
bundle exec jekyll build
Jekyll Issues🔗
- doesn’t support Wiki-links
[[...]]
, needs to be translated - Jekyll dumps all HTML files in one directory instead of keeping the subdirectory structure. This breaks relative links.
- Something in my notes (when integrated as Git submodule) makes Jekyll fail to serve with a
Liquid
error on sorting. Potential causesdate
YAML key not in proper format (e.g.yyyy-mm-dd
):
cit/Disk_encryption
,lwp/AppArmor_vs_SELinux.md