Skip to content

Commit

Permalink
chore: fix ruby env
Browse files Browse the repository at this point in the history
  • Loading branch information
francescobianco committed Sep 29, 2023
1 parent 47527ab commit 42f3333
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 13 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
_site/
Gemfile
Gemfile.lock
_config.dev.yml
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ Gemfile:

.PHONY: _config.dev.yml
_config.dev.yml:
@echo 'baseurl: ""' >> _config.dev.yml
@echo 'repository: "francescobianco/dx-tech-papers"' > _config.dev.yml
@echo 'baseurl: ""' > _config.dev.yml
@echo 'repository: "francescobianco/dx-tech-papers"' >> _config.dev.yml

serve: Gemfile _config.dev.yml
@mkdir -p ".bundles_cache"
@docker run --rm -it \
-v "$$PWD:/srv/jekyll" \
-e BUNDLE_PATH="/srv/jekyll/.bundles_cache" \
-p 4000:4000 \
jekyll/builder:3.8 \
bash -c "gem install bundler && bundle install && bundle exec jekyll serve --host 0.0.0.0 --verbose --config _config.yml,_config.dev.yml"
-v "$$PWD:/srv/jekyll" \
-e BUNDLE_PATH="/srv/jekyll/.bundles_cache" \
-p 4000:4000 \
jekyll/builder:3.8 \
bash -c "gem install bundler && bundle install && bundle exec jekyll serve --host 0.0.0.0 --verbose --config _config.yml,_config.dev.yml"
10 changes: 10 additions & 0 deletions dx/dx-0001.md
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
---
layout: default
title: DX1
parent: DX Tech Papers
nav_order: 1
---

# DX1



14 changes: 8 additions & 6 deletions dx/dx-0002.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Navigation Structure
{: .no_toc }
---
layout: default
title: DX2
parent: DX Tech Papers
nav_order: 2
---

# DX2

## Table of contents
{: .no_toc .text-delta }

1. TOC
{:toc}

7 changes: 7 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
---
layout: default
title: DX Tech Papers
has_children: true
has_toc: false
---

# DX Tech Papers

0 comments on commit 42f3333

Please sign in to comment.