Jekyll¶
- Jekyll is a blog-aware static site generator in Ruby
- Jekyll 中文网
- github上利用jekyll搭建自己的blog的操作顺序?
Jekyll Themes¶
Install & Config on Ubuntu¶
-
Install all prerequisites (https://jekyllrb.com/docs/installation/ubuntu/)
-
Ruby 国内镜像源 (https://blog.hyperzsb.tech/ruby-mirror-source/)
-
Install the jekyll and bundler gems
-
generate or update Gemfile.lock
-
run in your project dir:
HOW TO RELEASE¶
Preparation¶
-
assets/css/main.scss
use configurable skin -
update
CHANGELOG.md
-
update version (
jekyll-text-theme.gemspec
,package.json
,_includes/scripts/variables.html
)
Publishing¶
- run
npm run gem-build
to build gem - run
npm run gem-push
to publish gem to rubygems.org - run
git add . && git commit -m "release: vx.x.x"
to make a release commit - run
git tag vx.x.x
to add a tag - run
git push && git push origin vx.x.x
to push - edit release on github.com