Skip to content

Commit c769e2e

Browse files
authored
Merge pull request cds-hooks#502 from buildpacks/expand-current-node
Expand current sidebar node
2 parents 8aed414 + ad4bdec commit c769e2e

File tree

7 files changed

+6
-9
lines changed

7 files changed

+6
-9
lines changed

content/docs/buildpack-author-guide/create-buildpack/build-app.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,6 @@ You will see the following output:
130130
```
131131
===> DETECTING
132132
...
133-
===> ANALYZING
134-
...
135133
===> RESTORING
136134
===> BUILDING
137135
---> Ruby Buildpack

content/docs/buildpack-author-guide/create-buildpack/detection.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ You should see the following output:
3939

4040
<!-- test:assert=contains -->
4141
```
42-
===> ANALYZING
4342
Previous image with name "test-ruby-app" not found
4443
===> DETECTING
4544
examples/ruby 0.0.1
@@ -58,4 +57,4 @@ You will also notice that `ANALYZING` now appears in the build output. This step
5857
---
5958

6059
<a href="/docs/buildpack-author-guide/create-buildpack/build-app" class="button bg-pink">Next Step</a>
61-
<!--+end+-->
60+
<!--+end+-->

katacoda/scenarios/buildpack-author-guide/build-app.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,6 @@ You will see the following output:
126126
```
127127
===> DETECTING
128128
...
129-
===> ANALYZING
130-
...
131129
===> RESTORING
132130
===> BUILDING
133131
---> Ruby Buildpack

katacoda/scenarios/buildpack-author-guide/detection.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ You should see the following output:
3535
3636
<!-- test:assert=contains -->
3737
```
38-
===> ANALYZING
3938
Previous image with name "test-ruby-app" not found
4039
===> DETECTING
4140
examples/ruby 0.0.1

themes/buildpacks/layouts/partials/sidebar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
{{- if ne $numberOfPages 0 }}
5353
{{- $depth = add (int $depth) 1 }}
5454
<ul class="ml-2">
55-
{{- $expand = .Params.expand -}}
55+
{{- $expand = (or .Params.expand $isCurrent) -}}
5656
{{- $pages := (.Pages | union .Sections) }}
5757
{{- range $pages.ByWeight }}
5858
{{- if (not .Params.hidden) }}

tools/go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require (
1212
github.com/bep/debounce v1.2.1 // indirect
1313
github.com/bep/gitmap v1.3.0 // indirect
1414
github.com/buildpacks/lifecycle v0.14.1 // indirect
15-
github.com/buildpacks/pack v0.26.0
15+
github.com/buildpacks/pack v0.27.0
1616
github.com/clbanning/mxj/v2 v2.5.6 // indirect
1717
github.com/containerd/cgroups v1.0.4 // indirect
1818
github.com/containerd/containerd v1.6.6 // indirect
@@ -32,6 +32,7 @@ require (
3232
github.com/pelletier/go-toml/v2 v2.0.2 // indirect
3333
github.com/rivo/tview v0.0.0-20220610163003-691f46d6f500 // indirect
3434
github.com/spf13/cobra v1.4.0
35+
github.com/spf13/viper v1.10.0 // indirect
3536
github.com/tdewolff/minify/v2 v2.11.9 // indirect
3637
github.com/tdewolff/parse/v2 v2.6.0 // indirect
3738
gocloud.dev v0.25.0 // indirect

tools/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,8 @@ github.com/buildpacks/lifecycle v0.14.1 h1:CkMsUbotZvru+VOTn08BWPbJRZnAx6Xx2yQYo
450450
github.com/buildpacks/lifecycle v0.14.1/go.mod h1:l8p/hrNzwq1Dr9JEblxC8ZHOLhJPCBFOPCwyo0Z66/Y=
451451
github.com/buildpacks/pack v0.26.0 h1:R0yPwTz58MfcqYSA0B2Q8ksOhp2Rz5kE/hO2BVys2y4=
452452
github.com/buildpacks/pack v0.26.0/go.mod h1:6y/OxdE5ewaBuazvO4FKHvs2wEjA6DKI6e00WwZBuwM=
453+
github.com/buildpacks/pack v0.27.0 h1:diMvn/aR0wbfs0ke7DOBtrkFzJqDw+moJPTWLdUTuhE=
454+
github.com/buildpacks/pack v0.27.0/go.mod h1:ifPVxBoY2EKbSrA8Hkyy0YFfSGCzyYnzlyjrLsxxAIY=
453455
github.com/butuzov/ireturn v0.1.1/go.mod h1:Wh6Zl3IMtTpaIKbmwzqi6olnM9ptYQxxVacMsOEFPoc=
454456
github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw=
455457
github.com/cenkalti/backoff/v4 v4.1.2/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw=

0 commit comments

Comments
 (0)