Skip to content

Commit 89f1f4e

Browse files
Hide storybook from prod env
1 parent 9a7faea commit 89f1f4e

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ To run the site locally, enter the following commands into a terminal window:
3131
git clone https://github.com/swiftlang/swift-org-website.git
3232
cd swift-org-website
3333
bundle install
34-
LC_ALL=en_us.UTF-8 bundle exec jekyll serve
34+
LC_ALL=en_us.UTF-8 bundle exec jekyll serve --config _config.yml,_config_dev.yml
3535
open "http://localhost:4000"
3636
```
3737

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ url: https://swift.org
22
title: Swift.org
33
description: "Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns."
44
timezone: America/Lower_Princes
5-
exclude: ["README.md", "config.ru", "Gemfile", "Gemfile.lock", "Procfile", "vendor"]
5+
exclude: ["README.md", "config.ru", "Gemfile", "Gemfile.lock", "Procfile", "vendor", "get-started/storybook"]
66
safe: false
77
future: true
88

_config_dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude: []

0 commit comments

Comments
 (0)