Skip to content

Commit 41a8920

Browse files
author
Jason Heath
committed
wip: builder menu built out + linux cleanup
Signed-off-by: Jason Heath <[email protected]>
1 parent ddf62ba commit 41a8920

31 files changed

+162
-94
lines changed

config/_default/menu.toml

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -63,57 +63,61 @@ identifier = "habitat"
6363
title = "Builder"
6464
identifier = "builder"
6565

66+
[[builder.sass]]
67+
title = "SaaS builder"
68+
parent = "builder"
69+
identifier = "builder/saas"
70+
6671
[[packages ]]
6772
title = "Packages"
68-
identifier = "packages`"
73+
identifier = "packages"
6974

75+
[[overview.overview]]
76+
title = "Overview"
77+
identifier = "overview"
7078

71-
[[install]]
79+
[[habitat.install]]
7280
title = "Install"
7381
identifier = "install"
7482

75-
[[upgrade]]
83+
[[habitat.upgrade]]
7684
title = "Upgrade"
7785
identifier = "upgrade"
7886

79-
[[saas]]
80-
title = "SaaS Builder"
81-
identifier = "saas_builder"
82-
83-
[[origins]]
87+
[[habitat.origins]]
8488
title = "Origins"
8589
identifier = "origins"
8690

87-
[[packages]]
91+
[[habitat.packages]]
8892
title = "Packages"
8993
identifier = "packages"
9094

91-
[[plans]]
95+
[[habitat.plans]]
9296
title = "Plans"
9397
identifier = "plans"
9498

95-
[[services]]
99+
[[habitat.services]]
96100
title = "Services"
97101
identifier = "services"
98102

99-
[[sup]]
103+
[[habitat.sup]]
100104
title = "Supervisors"
101105
identifier = "supervisors"
102106

103-
[[reference]]
107+
[[habitat.reference]]
104108
title = "Reference"
105109
identifier = "reference"
106110

107-
[[reference]]
111+
[[habitat.reference]]
108112
title = "APIs"
109113
identifier = "reference/api"
110114
parent = "reference"
111115
weight = "20"
112116

113-
[[containers]]
117+
[[habitat.containers]]
114118
title = "Containers"
115119
identifier = "containers"
116120

117-
[[release_notes]]
121+
[[habitat.release_notes]]
118122
title = "Release notes"
119123
identifier = "release_notes"

content/builder/_index.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
+++
2+
title = "Overview"
3+
linkTitle = "Overview"
4+
5+
[menu.builder]
6+
title = "Overview"
7+
parent = "builder"
8+
identifier = "builder/Overview"
9+
list_pages = true
10+
weight = 10
11+
+++
12+
13+
docs/content/builder/_index.md

content/builder/diagrams/_index.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
+++
2+
title = "Diagrams"
3+
linkTitle = "Diagrams"
4+
5+
[menu.builder]
6+
title = "Diagrams"
7+
parent = "builder"
8+
identifier = "builder/saas/Diagrams"
9+
weight = 50
10+
+++
11+
12+
docs/content/builder/diagrams/_index.md
13+
14+
A placeholder which might be deleted from the final version of our documentation

content/builder/on_prem/_index.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
+++
2+
title = "On-Premises"
3+
linkTitle = "On-Premises"
4+
5+
[menu.builder]
6+
title = "On-Premises"
7+
parent = "builder"
8+
identifier = "builder/saas/On-Premises"
9+
weight = 30
10+
+++
11+
12+
docs/content/builder/on_prem/_index.md
13+
14+
A placeholder which might be deleted from the final version of our documentation
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
+++
2+
title = "Reference"
3+
linkTitle = "Reference"
4+
5+
[menu.builder]
6+
title = "Reference"
7+
parent = "builder"
8+
identifier = "builder/saas/Reference"
9+
weight = 40
10+
+++
11+
12+
docs/content/builder/reference/_index.md
13+
14+
A placeholder which might be deleted from the final version of our documentation
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
+++
2+
title = "Release Notes"
3+
linkTitle = "Release Notes"
4+
5+
[menu.builder]
6+
title = "Release Notes"
7+
parent = "builder"
8+
identifier = "builder/saas/Release Notes"
9+
weight = 60
10+
+++
11+
12+
docs/content/builder/release_notes/_index.md
13+
14+
A placeholder which might be deleted from the final version of our documentation

content/builder/saas/_index.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
+++
2-
title = "About Chef Habitat Builder"
3-
description = "Chef Habitat Builder is Chef's Application Delivery Enterprise hub"
4-
linkTitle = "Habitat Builder SaaS"
2+
title = "SaaS Builder"
3+
linkTitle = "SaaS Builder"
54

6-
[menu.saas]
7-
title = "Chef Habitat Builder"
8-
identifier = "saas_builder/builder"
9-
parent = "saas_builder"
10-
weight = 10
5+
[menu.builder]
6+
title = "SaaS Builder"
7+
parent = "builder"
8+
identifier = "builder/saas/SaaS Builder"
9+
weight = 20
1110
+++
1211

1312
Chef Habitat Builder is the core of Chef's Application Delivery Enterprise hub.

content/builder/saas/builder_origin_packages.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22
title = "Upload and Promote Packages"
33
description = "Upload and Promote packages on Chef Habitat Builder enables automated package rebuilds and increases collaboration"
44

5-
6-
[menu.saas]
5+
[menu.builder.saas]
76
title = "Origin Packages"
8-
identifier = "saas_builder/origin-packages"
9-
parent = "saas_builder"
7+
identifier = "/builder/saas/origin-packages"
8+
parent = "/builder/saas"
109
weight = 40
1110
+++
1211

@@ -42,7 +41,7 @@ You can create your own origin in Builder or be invited to join an existing one.
4241

4342
When you upload a package to Builder, you are required to supply an auth token as part of the `hab pkg upload` subcommand. You can generate a Chef Habitat personal access token with the Builder site [Profile page](https://bldr.habitat.sh/#/profile) for use with the `hab` command-line utility.
4443

45-
Once you have this token, you can set the `HAB_AUTH_TOKEN` [environment variable](../reference/environment_variables.md) to this value, so that any commands requiring authentication will use it.
44+
Once you have this token, you can set the `HAB_AUTH_TOKEN` [environment variable](/habitat/reference/environment_variables.md) to this value, so that any commands requiring authentication will use it.
4645

4746
## Create an Origin Key Pair
4847

@@ -76,7 +75,7 @@ You can also promote packages to the `stable` channel using the *promote to stab
7675

7776
{{< /note >}}
7877

79-
For more information on how to use channels, see [Continuous Deployment Using Channels](../packages/pkg_promote.md).
78+
For more information on how to use channels, see [Continuous Deployment Using Channels](/habitat/packages/pkg_promote.md).
8079

8180
### Running Packages from Builder
8281

content/builder/saas/builder_origins.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
title = "Create an Origin on Builder"
33
description = "Create an Origin on Builder"
44

5-
6-
[menu.saas]
5+
[menu.builder.saas]
6+
parent = "builder/saas"
77
title = "Origins"
8-
identifier = "saas_builder/origins"
9-
parent = "saas_builder"
10-
weight = 30
8+
identifier = "builder/saas/Origins"
9+
weight = 10
1110
+++
1211

13-
{{< readfile file="/reusable/md/builder_origins.md" >}}
12+
{{< readfile file="content/reusable/md/builder_origins.md" >}}
1413

1514
## Chef-owned origins
1615

content/habitat/containers/_index.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
+++
22
title = "Chef Habitat and Containers"
3-
description = "Chef Habitat and Containers"
43
linkTitle = "Containers"
5-
list_pages = true
64

75
[menu.containers]
6+
parent = "habitat/containers"
87
title = "Chef Habitat and Containers"
9-
identifier = "containers/containers"
10-
parent = "containers"
8+
identifier = "habitat/containers/Chef Habitat and Containers"
119
weight = 10
12-
1310
+++
1411

1512
Containers (for example, [Docker](https://www.docker.com/)) enable you to build an immutable snapshot of your runtime environment, including your operating system, system libraries, application libraries, and application. The container is built with a CLI tool, and then pushed to a container-specific artifact repository, known as a container registry. Chef Habitat isn't a container format and exports your application to the container format of your choice.

0 commit comments

Comments
 (0)