Skip to content

Commit 8eb9c1f

Browse files
authored
Merge pull request #153 from CORAAL/docsExternalLink
Les liens externe s'ouvrent dans un nouvel onglet
2 parents 197ac60 + 8b98549 commit 8eb9c1f

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

.gitignore

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,9 @@ result- # Generated by nix fast build
88
*.qcow2
99
iso
1010
__pycache__/
11-
./docs/_site
12-
.idea
11+
docs/_site
12+
docs/.sass-cache/
13+
docs/.jekyll-cache/
14+
docs/.jekyll-metadata
15+
docs/vendor
16+
.idea

docs/.bundle/config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
BUNDLE_PATH: "vendor/bundle"

docs/_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ aux_links:
2424

2525
# Makes Aux links open in a new tab. Default is false
2626
aux_links_new_tab: true
27+
nav_external_links_new_tab: true
2728

2829
nav_enabled: true
2930
fold_nav: true

flake.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@
107107
shellHook = ''
108108
cd docs || exit 1
109109
echo "Running bundle install and starting Jekyll server..."
110-
bundle install && bundle exec jekyll serve
110+
bundle config set path 'vendor/bundle'
111+
bundle install
112+
bundle exec jekyll serve
111113
'';
112114
};
113115
}

0 commit comments

Comments
 (0)