aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/jekyll.yml4
-rw-r--r--README.md6
-rw-r--r--_config_dev.yml1
3 files changed, 5 insertions, 6 deletions
diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml
index ed110de..be87f3d 100644
--- a/.github/workflows/jekyll.yml
+++ b/.github/workflows/jekyll.yml
@@ -30,8 +30,8 @@ jobs:
ruby-version: '${{ matrix.ruby-version }}'
bundler-cache: true
- name: jekyll build
- run: bundle exec jekyll build --config _config.yml,_config_dev.yml --drafts
+ run: bundle exec jekyll build --drafts
- name: Check integrity
run: |
- nohup bundle exec jekyll serve --config _config.yml,_config_dev.yml --drafts &
+ nohup bundle exec jekyll serve --drafts --baseurl '' &
sleep 3 && wget --no-verbose --recursive --convert-links --adjust-extension --directory-prefix=/tmp -- http://localhost:4000/
diff --git a/README.md b/README.md
index d209937..e1eb49d 100644
--- a/README.md
+++ b/README.md
@@ -23,9 +23,9 @@ in the project's root directory.
To run a local web server, run
- bundle exec jekyll serve --watch --drafts --config _config.yml,_config_dev.yml
+ bundle exec jekyll serve --drafts
-You can then review your changes at http://localhost:4000/.
+You can then review your changes at http://localhost:4000/sorting-algorithms/.
Or you can use [jekyll-docker] to set up a development environment in Docker
and not bother with installing everything locally.
@@ -43,7 +43,7 @@ Jekyll doesn't provide native support for generating a static website which can
be browsed without running an instance of Jekyll's web server.
One easy workaround is to `wget` the website and convert the links:
- wget --no-verbose --recursive --convert-links --adjust-extension -- http://localhost:4000/
+ wget --no-verbose --recursive --convert-links --adjust-extension -- http://localhost:4000/sorting-algorithms/
License
-------
diff --git a/_config_dev.yml b/_config_dev.yml
deleted file mode 100644
index bb36321..0000000
--- a/_config_dev.yml
+++ /dev/null
@@ -1 +0,0 @@
-baseurl: ''