Skip to content

Commit

Permalink
[docs] Update jekyll local command
Browse files Browse the repository at this point in the history
- Local links break in Jekyll 4.x since absolute_url uses the value
  from _config.yml. This forces Jekyll to use localhost:4000 as the
  base url
  • Loading branch information
captn3m0 committed Apr 12, 2022
1 parent f5f3a49 commit 9a64ca7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
source "https://rubygems.org"

# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 4.2.2"

# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
Expand Down
2 changes: 1 addition & 1 deletion HACKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ bundle exec jekyll --version
Run the site locally:

```bash
$ bundle exec jekyll serve
$ bundle exec jekyll serve --host localhost --port 4000
```

Browse to `http:https://localhost:4000` and you should see the site running locally. If you find any errors at this stage, check [Jekyll's troubleshooting page](https://jekyllrb.com/docs/troubleshooting/#configuration-problems) or [ask a question in the Q&A category](https://github.com/endoflife-date/endoflife.date/discussions/new/) on GitHub Discussions.
Expand Down

0 comments on commit 9a64ca7

Please sign in to comment.