Docs: Build for production

This commit is contained in:
Frank Taillandier 2017-12-03 19:39:02 +01:00
parent 2ea970d2b5
commit 0186bdb384
No known key found for this signature in database
GPG Key ID: E73258E3F50AEB7E
1 changed files with 7 additions and 0 deletions

View File

@ -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`.
<div class="note info">
<h5>Changes to <code>_config.yml</code> are not included during automatic regeneration.</h5>
<p>