aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-05-16 03:31:46 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-05-16 03:31:46 +0300
commit10c0a594657ee6f5df5810f6ea35408595208adb (patch)
tree3ccb117151ef6b3f3e313ef785b314508391230d /README.md
parentcode style (diff)
downloadegor-tensin.github.io-10c0a594657ee6f5df5810f6ea35408595208adb.tar.gz
egor-tensin.github.io-10c0a594657ee6f5df5810f6ea35408595208adb.zip
more flexible prerequisite management
* Move external <link>s and <script>s into separate includes. * Opt for minified versions of external CSS stylesheets and JavaScript files by default, allowing to use the properly formatted versions during development using _config_dev.yml. * External components versions are now in the config file.
Diffstat (limited to '')
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index 45168bd..274c4af 100644
--- a/README.md
+++ b/README.md
@@ -31,6 +31,20 @@ One possible workaround is to add `--force_polling` to `jekyll`s options:
It might still not work though, so you might end up having to re-run `jekyll` manually.
For details, refer to http://jekyll-windows.juthilo.com/4-wdm-gem/.
+To use properly formatted external CSS stylesheets and Javascript files instead of the `min`ified versions, override the `site.minified_externals` field by passing `--config _config.yml,_config_dev.yml` to `jekyll`.
+
+To sum up, on Linux use
+
+ bundle exec jekyll serve \
+ --watch \
+ --config _config.yml,_config_dev.yml
+
+and on Windows (hoping for the best) use
+
+ bundle exec jekyll serve ^
+ --watch --force_polling ^
+ --config _config.yml,_config_dev.yml
+
## Licensing
This project, including all of the files and their contents, is licensed under the terms of the MIT License.