About this Blog
This blog (actually, the whole gtil
gtil-gitbook
repo) was inspired by think() from @zypeh and it is powered by vue-ghpages-blog Gitbook.
Deploy via Travis CI
References
Mainly from Auto-deploying built products to gh-pages with Travis
Unfortunately travis encrypt-file
doesn't generate the correct key under Windows machine (see https://docs.travis-ci.com/user/encrypting-files/#Caveat ).
GitHub API token can be used instead: Automatically Update Github Pages with Travis
travis encrypt GH_TOKEN=[the token you created before] --add
May also need: Generating a new SSH key and adding it to the ssh-agent
Installing Travis
Using Chocolatey to install Ruby
iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
Remember to run PowerShell as adminSet-ExecutionPolicy RemoteSigned -Scope Process
if PowerShell refuse to install
choco install ruby
gem install travis
sidenote: string with a colon followed by a space in .yml will fail the parser...
...
- git commit -m "chore(deploy): deploy from Tarvis CI"
...
RubyGems SSL Certificate Updartes
Refer to http://guides.rubygems.org/ssl-certificate-update/
Editor
Atom
Sublime Text 3? - Poor support for Chinese Language
Plugins for editing Markdown files
- markdown-writer
- Able to customize config for each project (docs: https://github.com/zhuochun/md-writer/wiki/Settings-for-individual-projects)!
- Ctrl + Shift + P > Markown Writer: Create Project Configs
- tool-bar-markdown-writer which depends on tool-bar
- markdown-preview