From 5a892efcf8b355e22f4263f198d8deb67ca23ea0 Mon Sep 17 00:00:00 2001 From: Eugene Pirogov Date: Wed, 28 Jun 2017 16:59:13 +0200 Subject: [PATCH 1/2] Reduce indent in code block --- docs/charts.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/charts.md b/docs/charts.md index 071eb4980..4582b3f61 100644 --- a/docs/charts.md +++ b/docs/charts.md @@ -243,17 +243,17 @@ with other name(s). ```` # parentchart/requirements.yaml dependencies: - - name: subchart - repository: http://localhost:10191 - version: 0.1.0 - alias: new-subchart-1 - - name: subchart - repository: http://localhost:10191 - version: 0.1.0 - alias: new-subchart-2 - - name: subchart - repository: http://localhost:10191 - version: 0.1.0 + - name: subchart + repository: http://localhost:10191 + version: 0.1.0 + alias: new-subchart-1 + - name: subchart + repository: http://localhost:10191 + version: 0.1.0 + alias: new-subchart-2 + - name: subchart + repository: http://localhost:10191 + version: 0.1.0 ```` In the above example we will get 3 depenendencies in all for `parentchart` From 0104bce79287728b1b22d299d367dceca94ac6a7 Mon Sep 17 00:00:00 2001 From: Eugene Pirogov Date: Wed, 28 Jun 2017 17:00:15 +0200 Subject: [PATCH 2/2] Add syntax highlighting --- docs/charts.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/charts.md b/docs/charts.md index 4582b3f61..f0a735bed 100644 --- a/docs/charts.md +++ b/docs/charts.md @@ -240,7 +240,7 @@ a chart in dependencies using alias as name of new dependency. One can use `alias` in cases where they need to access a chart with other name(s). -```` +```yaml # parentchart/requirements.yaml dependencies: - name: subchart @@ -254,7 +254,7 @@ dependencies: - name: subchart repository: http://localhost:10191 version: 0.1.0 -```` +``` In the above example we will get 3 depenendencies in all for `parentchart` ```