Skip to content

Commit

Permalink
Move from nanoc.ws to nanoc.app
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdefreyne committed Apr 18, 2021
1 parent b22144e commit 76f27c6
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
Nanoc site
==========
# Nanoc site

This is the source for the [Nanoc site](http://nanoc.ws).
This is the source for the [Nanoc site](https://nanoc.app).

The source code located in the lib/ directory is public domain. The design of
this website should not be reused: it is not a template for you to take, so
Expand Down
4 changes: 2 additions & 2 deletions content/_redirects
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
http://nanoc.stoneship.org/* https://nanoc.ws/:splat 301!
https://nanoc.stoneship.org/* https://nanoc.ws/:splat 301!
http://nanoc.stoneship.org/* https://nanoc.app/:splat 301!
https://nanoc.stoneship.org/* https://nanoc.app/:splat 301!
/doc /about/
/doc/ /about/
8 changes: 4 additions & 4 deletions content/doc/sites.dmark
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ title: "Sites"
data_sources:
- type: filesystem

base_url: https://nanoc.ws
base_url: https://nanoc.app

#p The example above contains configuration for the pruner in the %code{prune} section (auto-prune after every compilation, but don’t touch %filename{.git}), data sources in the %code{data_sources} section (read from the filesystem), and a custom configuration option %code{base_url}.

Expand Down Expand Up @@ -98,9 +98,9 @@ title: "Sites"

environments:
prod:
base_url: https://nanoc.ws
base_url: https://nanoc.app

#p In the example above, the value for the %code{base_url} configuration option will be %code{"http://nanoc.dev"} in all environments, but %code{"https://nanoc.ws"} in the %code{prod} environment. The %code{site_name} configuration option will be %code{"Nanoc"} in all environments.
#p In the example above, the value for the %code{base_url} configuration option will be %code{"http://nanoc.dev"} in all environments, but %code{"https://nanoc.app"} in the %code{prod} environment. The %code{site_name} configuration option will be %code{"Nanoc"} in all environments.

#p The %code{default} environment is, as the name suggests, the environment that will be used when no environment is explicitly specified. However, non-%code{default} environments will not inherit from the %code{default} environment. For example:

Expand All @@ -112,7 +112,7 @@ title: "Sites"
base_url: http://nanoc.dev
site_name: Nanoc (local)
prod:
base_url: https://nanoc.ws
base_url: https://nanoc.app

#p In this example, %code{site_name} will be %code{"Nanoc"} in all environments, except %code{default}, where it is %code{"Nanoc (local)"} instead.

Expand Down
2 changes: 1 addition & 1 deletion content/style-guide.dmark
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ title: Style guide
#section %h{Inline elements}
#dl
#dt link to URL
#dd The %ref[url=https://nanoc.ws/]{Nanoc website} is pretty.
#dd The %ref[url=https://nanoc.app/]{Nanoc website} is pretty.

#dt link to item
#dd For details, see %ref[item=/doc/about.*]{}.
Expand Down
4 changes: 2 additions & 2 deletions content/whats-new.dmark
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,14 @@ title: "What’s new?"

environments:
prod:
base_url: http://nanoc.ws
base_url: https://nanoc.app
staging:
base_url: http://staging.nanoc.ws

#p When an environment is specified on the command line, the data for the environment with the given name will be merged into the top level of the configuration. For example, with %command{--env=prod}, the configuration effectively becomes as follows:

#listing[lang=yaml]
base_url: http://nanoc.ws
base_url: https://nanoc.app

#p For details about environments, see %ref[item=/doc/sites.*,frag=environments]{}.

Expand Down
2 changes: 1 addition & 1 deletion nanoc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ data_sources:
items_root: /doc/reference/commands/
- type: release_notes

base_url: https://nanoc.ws
base_url: https://nanoc.app

checking:
enabled_checks:
Expand Down

0 comments on commit 76f27c6

Please sign in to comment.