From 0186bdb38445044e555f8c2b9be6f7e48694c781 Mon Sep 17 00:00:00 2001 From: Frank Taillandier Date: Sun, 3 Dec 2017 19:39:02 +0100 Subject: [PATCH] Docs: Build for production --- docs/_docs/usage.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/_docs/usage.md b/docs/_docs/usage.md index dc273b29..d4dffa01 100644 --- a/docs/_docs/usage.md +++ b/docs/_docs/usage.md @@ -21,6 +21,13 @@ jekyll build --watch # watched for changes, and regenerated automatically. ``` +Default URL is set to `http://localhost:4000` in development environment. {% include docs_version_badge.html version="3.3.0" %} + +If you want to build for your production environment: + + - Set your production URL in `_config.yml` e.g. `url: https://example.com`. + - Run `JEKYLL_ENV=production bundle exec jekyll build`. +
Changes to _config.yml are not included during automatic regeneration.