From 43492e8f9c75b5d106432f0f866f89c09f670649 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 11 Jun 2021 15:05:00 +0300 Subject: remove stupid _config_dev.yml --- .github/workflows/jekyll.yml | 4 ++-- README.md | 6 +++--- _config_dev.yml | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 _config_dev.yml 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: '' -- cgit v1.2.3