From f39eb948a0062c9a110387faad1d9796ef20c47a Mon Sep 17 00:00:00 2001 From: Svetoslav Neykov Date: Wed, 31 Dec 2014 11:23:04 +0200 Subject: [PATCH] Public site fixes * Update links * Offset links so they are visible below the fixed header --- docs/guide/use/guide/locations/index.md | 2 +- docs/style/css/base.scss | 7 +++++++ .../src/brooklyn-sample/src/main/assembly/files/README.txt | 6 +++--- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/docs/guide/use/guide/locations/index.md b/docs/guide/use/guide/locations/index.md index c2eff2f376..dfc6cb8723 100644 --- a/docs/guide/use/guide/locations/index.md +++ b/docs/guide/use/guide/locations/index.md @@ -71,7 +71,7 @@ brooklyn.location.named.AWS\ Virginia\ Large\ Centos.minRam=4096 This will appear as 'AWS Virginia Large Centos' in the web console, but will need to be escaped on the command line as: `AWS\ Virginia\ Large\ Centos`. -See the Getting Started [template brooklyn.properties](/use/guide/quickstart/brooklyn.properties) for more examples of using cloud endpoints. +See the Getting Started [template brooklyn.properties](../quickstart/brooklyn.properties) for more examples of using cloud endpoints. ## Fixed Infrastructure diff --git a/docs/style/css/base.scss b/docs/style/css/base.scss index 8356379920..3dd60bd44e 100644 --- a/docs/style/css/base.scss +++ b/docs/style/css/base.scss @@ -23,6 +23,13 @@ img {border: 0;} a {color: $a_color;} a:hover {text-decoration: none; color: $a_hover_color;} +/* Offset link anchors so they are not hidden by the header */ +a[id]:empty, a[name]:empty { + padding-top: 60px; + margin-top: -60px; + display: block; +} + /* WEBSITE MENUS ----------------------------------------------------------------------- */ diff --git a/usage/archetypes/quickstart/src/brooklyn-sample/src/main/assembly/files/README.txt b/usage/archetypes/quickstart/src/brooklyn-sample/src/main/assembly/files/README.txt index ccfc5c9f67..8ba14f14fd 100644 --- a/usage/archetypes/quickstart/src/brooklyn-sample/src/main/assembly/files/README.txt +++ b/usage/archetypes/quickstart/src/brooklyn-sample/src/main/assembly/files/README.txt @@ -18,7 +18,7 @@ can be done in `~/.brooklyn/brooklyn.properties`. A recommended starting point is the file at: - http://brooklyncentral.github.io/use/guide/quickstart/brooklyn.properties + https://brooklyn.incubator.apache.org/v/latest/use/guide/quickstart/brooklyn.properties As a quick-start, you can specify: @@ -34,7 +34,7 @@ Many other clouds are supported also, as well as pre-existing machines ("bring your own nodes"), custom endpoints for private clouds, and specifying custom keys and passphrases. For more information see: - http://brooklyncentral.github.io/use/guide/defining-applications/common-usage#locations + https://brooklyn.incubator.apache.org/v/latest/use/guide/defining-applications/common-usage#locations ### Run @@ -48,7 +48,7 @@ Usage: The optional port argument specifies the port where the Brooklyn console will be running, such as localhost:8081. (The console is only bound to localhost, unless you set up users and security, as described at -http://brooklyncentral.github.io/use/guide/management/ .) +https://brooklyn.incubator.apache.org/v/latest/use/guide/management/ .) In the console, you can access the catalog and deploy applications to configured locations.