mirror of
https://github.com/gryf/window-maker.github.io.git
synced 2025-12-17 19:20:17 +01:00
Introduced submodule for Jekyll plugin.
Currently, we need to clone restructuredText renderer manually. There was also some brainsplit between readme file and the reality. It should be easier now, by using either --recurse-submodules for git clone or git submodule update --update.
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,2 +1,4 @@
|
|||||||
|
.jekyll-cache
|
||||||
|
Gemfile.lock
|
||||||
_site
|
_site
|
||||||
*~
|
*~
|
||||||
|
|||||||
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[submodule "_plugins/jekyll-rst"]
|
||||||
|
path = _plugins/jekyll-rst
|
||||||
|
url = https://github.com/gryf/jekyll-rst
|
||||||
@@ -6,7 +6,7 @@ before_install:
|
|||||||
- sudo apt-get install python-pip -y
|
- sudo apt-get install python-pip -y
|
||||||
- sudo pip install docutils pygments
|
- sudo pip install docutils pygments
|
||||||
before_script:
|
before_script:
|
||||||
- git clone https://github.com/gryf/jekyll-rst _plugins/jekyll-rst
|
- git submodule update --init
|
||||||
install:
|
install:
|
||||||
- bundle install
|
- bundle install
|
||||||
script: bundle exec jekyll build
|
script: bundle exec jekyll build
|
||||||
@@ -18,5 +18,3 @@ deploy:
|
|||||||
target_branch: master
|
target_branch: master
|
||||||
on:
|
on:
|
||||||
branch: source
|
branch: source
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
21
README.md
21
README.md
@@ -13,16 +13,23 @@ to achieve it, is to install it from system repositories.
|
|||||||
|
|
||||||
If your distribution doesn't contain it (even in external ones, like PPA for
|
If your distribution doesn't contain it (even in external ones, like PPA for
|
||||||
Ubuntu, AUR for Arch or some portage overlay from Gentoo), that it might be
|
Ubuntu, AUR for Arch or some portage overlay from Gentoo), that it might be
|
||||||
installed locally using [Bundler](https://github.com/bundler/bundler), which
|
installed locally using [Bundler](https://github.com/bundler/bundler).
|
||||||
typical usage would be as follows:
|
|
||||||
|
Manual installation would be as follows:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cd window-maker.github.io && bundler init
|
$ git clone --recurse-submodules https://github.com/window-maker/window-maker.github.io
|
||||||
$ bundler add jekyll
|
$ cd window-maker.github.io
|
||||||
$ mkdir _plugins
|
$ bundler install
|
||||||
$ git clone https://github.com/gryf/jekyll-rst _plugins/jekyll-rst
|
$ # install docutils and pygments from your distribution repository, or use
|
||||||
|
$ # following command to install them from PyPI for the current user:
|
||||||
$ pip install docutils pygments
|
$ pip install docutils pygments
|
||||||
$ gem install RbST nokogiri
|
```
|
||||||
|
|
||||||
|
To build and serve webpage in development mode, you just issue the following
|
||||||
|
command:
|
||||||
|
|
||||||
|
```
|
||||||
$ bundler exec jekyll serve
|
$ bundler exec jekyll serve
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
1
_plugins/jekyll-rst
Submodule
1
_plugins/jekyll-rst
Submodule
Submodule _plugins/jekyll-rst added at c964f5538a
Reference in New Issue
Block a user