chirpy-starter/README.md

54 lines
2.1 KiB
Markdown
Raw Normal View History

2021-07-22 00:33:34 +10:00
# Chirpy Starter [![Gem Version](https://img.shields.io/gem/v/jekyll-theme-chirpy)](https://rubygems.org/gems/jekyll-theme-chirpy) [![GitHub license](https://img.shields.io/github/license/cotes2020/chirpy-starter.svg?color=blue)][mit]
2021-01-26 07:13:40 +10:00
2021-02-06 00:42:29 +10:00
2021-01-26 07:13:40 +10:00
The startup template for [**Jekyll Theme Chirpy**][chirpy].
2021-04-30 16:08:12 +10:00
When installing the **Chirpy** theme through [RubyGems][gem], Jekyll can only read files in the folders `_includes`, `_layout`, `_sass` and `assets`, as well as a small part of options of the `_config.yml` file from the theme's gem. (You can find the gem files by using the command `bundle info --path jekyll-theme-chirpy`). To fully use all the features of **Chirpy**, you need to copy the other critical files/directories from the theme's gem to your Jekyll site.
2021-06-24 01:26:23 +10:00
The critical files/directories to run or build the **Chirpy** theme are as follows:
2021-01-26 07:13:40 +10:00
```shell
2021-04-30 16:08:12 +10:00
.
├── _data
├── _plugins
├── _tabs
├── _config.yml
2021-04-30 16:08:12 +10:00
└── index.html
2021-01-26 07:13:40 +10:00
```
2021-04-30 16:08:12 +10:00
So we've extracted all the **Chirpy** gem necessary content here to help you get started quickly.
2021-02-06 00:42:29 +10:00
2021-01-26 07:13:40 +10:00
## Installation
[Use this template][usetemplate] to generate a new repository, and then execute:
[usetemplate]: https://github.com/cotes2020/chirpy-starter/generate
```
$ bundle
```
## Usage
2021-07-22 00:33:34 +10:00
Please see the [theme's docs](https://github.com/cotes2020/jekyll-theme-chirpy#usage).
2021-01-26 07:13:40 +10:00
2021-07-22 00:33:34 +10:00
## Upgrading
2021-01-26 07:13:40 +10:00
2021-07-22 00:33:34 +10:00
First, please modify the target version number of `jekyll-theme-chirpy` in the `Gemfile` (e.g., `gem "jekyll-theme-chirpy", "~> 4.0", ">= 4.0.1"`).
2021-01-26 07:13:40 +10:00
2021-06-24 01:26:23 +10:00
After that, execute the following command:
2021-01-26 07:13:40 +10:00
```console
$ bundle update jekyll-theme-chirpy
```
2021-07-22 00:33:34 +10:00
As the version upgrades, the critical files and configuration options will change. Please refer to the [Upgrade Guide](https://github.com/cotes2020/jekyll-theme-chirpy/wiki/Upgrade-Guide) to keep your website files in sync with the latest version of the theme.
2021-01-26 07:13:40 +10:00
## License
2021-02-11 04:58:14 +10:00
This work is published under [MIT][mit] License.
[gem]: https://rubygems.org/gems/jekyll-theme-chirpy
[chirpy]: https://github.com/cotes2020/jekyll-theme-chirpy/
2021-02-06 00:42:29 +10:00
[mit]: https://github.com/cotes2020/chirpy-starter/blob/master/LICENSE