Skip to content

Commit

Permalink
chore: Documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
svrooij committed Jan 19, 2021
1 parent 06bbcff commit fd5a917
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 6 deletions.
3 changes: 2 additions & 1 deletion docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
_site
.sass-cache
.jekyll-metadata
vendor
vendor
.bundle
2 changes: 1 addition & 1 deletion docs/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.0" if Gem.win_platform?

gem "just-the-docs", "0.3.1"
gem "just-the-docs", "0.3.3"
6 changes: 3 additions & 3 deletions docs/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ GEM
gemoji (~> 3.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0, < 5.0)
just-the-docs (0.3.1)
just-the-docs (0.3.3)
jekyll (>= 3.8.5)
jekyll-seo-tag (~> 2.0)
rake (>= 12.3.1, < 13.1.0)
Expand Down Expand Up @@ -220,7 +220,7 @@ GEM
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (3.1.1)
rake (13.0.1)
rake (13.0.3)
rb-fsevent (0.10.4)
rb-inotify (0.10.1)
ffi (~> 1.0)
Expand Down Expand Up @@ -260,7 +260,7 @@ DEPENDENCIES
github-pages
jekyll-feed (~> 0.6)
jemoji
just-the-docs (= 0.3.1)
just-the-docs (= 0.3.3)
tzinfo-data

BUNDLED WITH
Expand Down
15 changes: 15 additions & 0 deletions docs/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# --------------------------------------------------
# docker-compose.yml to enable documentation live reload using docker
# see https://svrooij.io/2020/12/31/github-pages-live-reload/
# --------------------------------------------------
version: '3.3'
services:
jekyll:
volumes:
- './.bundle:/usr/local/bundle'
- './:/srv/jekyll'
ports:
- '4000:4000'
- '35729:35729'
image: jekyll/jekyll
command: jekyll serve --livereload --force_polling --incremental
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"preferGlobal": true,
"scripts": {
"build": "tsc",
"serve-docs": "docker run --rm --volume=\"$PWD/docs/vendor/bundle:/usr/local/bundle\" --volume=\"$PWD/docs:/srv/jekyll\" -p 4000:4000 -p 35729:35729 -it jekyll/jekyll jekyll serve --livereload",
"serve-docs": "docker-compose -f ./docs/docker-compose.yml up jekyll",
"test": "eslint ./src/*.ts"
},
"dependencies": {
Expand Down

0 comments on commit fd5a917

Please sign in to comment.