Jekyll Git-Wiki
Jekyll Page with Git-Wiki Theme🔗
âš Obsolete, we’re using MkDocs
-
clone skeleton repo
1git clone https://github.com/Drassil/git-wiki-skeleton.git -
chose
Gemfilefrom 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
1bundle exec jekyll serve -
add note sources as Git submodules
1git submodule add URL wiki/submoddir -
if building fails due to unsupported file names or metadata (YAML frontmatter), fix them
-
after editing locally, copy the
_sitefolder and serve as static website wherever you want. Alternatively build directly with1bundle 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
Liquiderror on sorting. Potential causesdateYAML key not in proper format (e.g.yyyy-mm-dd):
cit/Disk_encryption,lwp/AppArmor_vs_SELinux.md