Go to file
2020-04-13 22:50:33 +02:00
_drafts
_includes
_layouts
_plugins + unfinished plugin 2020-04-13 22:50:33 +02:00
_posts + wording review and added links to Bypassing GitHub's Jekyll limitations 2020-04-13 15:26:58 +02:00
_sass
assets
docs + wording review and added links to Bypassing GitHub's Jekyll limitations 2020-04-13 15:26:58 +02:00
.editorconfig
.gitignore + commiting Gemfile.lock (was bypassed by Github Pages) 2020-04-13 14:51:04 +02:00
.gitmodules
.nojekyll
_config.yml ~ fixed : missed to re-enable jekyll-paginate-v2 2020-04-13 14:52:12 +02:00
about.md ~ updated repo link (not .github.io anymore) 2020-04-13 08:08:17 +02:00
articles.html
CNAME + CNAME file required to enable custom domain on github 2020-04-13 15:02:38 +02:00
Gemfile ~ fixed : missed to re-enable jekyll-paginate-v2 2020-04-13 14:52:12 +02:00
Gemfile.lock + commiting Gemfile.lock (was bypassed by Github Pages) 2020-04-13 14:51:04 +02:00
index.html
LICENSE
README.md + wording review and added links to Bypassing GitHub's Jekyll limitations 2020-04-13 15:26:58 +02:00
tags.html

Source code for https://www.nicolabs.net

Previewing locally

Run bundle exec jekyll serve -I --livereload --drafts to start a local server with live reload and drafts preview.

Drafts

Jekyll drafts (articles in _drafts/) are absolutely not ready for publication. Some of them in _drafts/ are still old documents I've never finished... On the other hand, articles tagged with draft are published with a special mention so that they hopefully can be useful to anybody : old drafts are slowly being published with this draft mention. There are other mentions (unpublished, draft, good, stable, deprecated) to indicate articles' maturity.

See Migrating from Drupal to Jekyll for the explanation. Most of the code lies in _includes/maturity.html and _sass/nicolabs/*.scss in order to :

  • display the maturity label in each article's header
  • advertise unstable articles in indexes (index.html, tags.html)
  • remove drafts from the default feed

Publishing

  1. Update Ruby gems & build the final site without drafts :

    sudo bundle update bundle exec jekyll build -I

  2. Add, commit & push files into the master git branch, including the docs directory (same as Jekyll's _site directory, but renamed for github pages)

See Bypassing GitHub's Jekyll limitations for more informations.