Go to the website for detailed information and demo.
You need Ruby and gem before starting, then:
# install bundler
gem install bundler
# clone the project
git clone https://github.com/aksakalli/jekyll-doc-theme.git
cd jekyll-doc-theme
# run jekyll with dependencies
bundle exec jekyll serve
It could be that the bundler version is not the right one :
look at the "BUNDLE WITH' and version of bundler in the Gemfile.lock
file:
BUNDLED WITH
2.0.1
and in that case use :
gem install bundler -v '2.0.1'
Alternatively, you can deploy it using the multi-stage Dockerfile that serves files from Nginx for better performance in production.
Build the image for your site's JEKYLL_BASEURL
:
docker build --build-arg JEKYLL_BASEURL="/your-base/url" -t jekyll-doc-theme .
(or leave it empty for root: JEKYLL_BASEURL=""
) and serve it:
docker run -p 8080:80 jekyll-doc-theme
Released under the MIT license.