From 0a04f408d55b91ff3467c39005ba7a09e5698968 Mon Sep 17 00:00:00 2001 From: Evgeny L Date: Wed, 26 Dec 2018 20:54:47 +0000 Subject: [PATCH] Update the docs to use `-r` instead of `-p` flags for pegleg `-r` is a required parameter, it is used to specify a path to the repository. Change-Id: I83cca1023ba5c40e90bf3c7bbd6757e34019a331 --- doc/source/authoring_and_deployment.rst | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/doc/source/authoring_and_deployment.rst b/doc/source/authoring_and_deployment.rst index 041219543..ba2740948 100644 --- a/doc/source/authoring_and_deployment.rst +++ b/doc/source/authoring_and_deployment.rst @@ -435,8 +435,7 @@ proceeding: :: - sudo airship-pegleg/tools/pegleg.sh lint \ - -p airship-treasuremap + sudo airship-pegleg/tools/pegleg.sh -r airship-treasuremap lint Note: ``P001`` and ``P003`` linting errors are expected for missing certificates, as they are not generated until the next section. You may @@ -449,7 +448,7 @@ global + site type + site YAML: :: sudo sh airship-pegleg/tools/pegleg.sh site \ - -p airship-treasuremap \ + -r airship-treasuremap \ collect $NEW_SITE Perform a visual inspection of the output. If any errors are discovered, @@ -460,9 +459,8 @@ After you have an error-free output, save the resulting YAML as follows: :: - mkdir -p ~/${NEW_SITE}_collected sudo airship-pegleg/tools/pegleg.sh site \ - -p airship-treasuremap \ + -r airship-treasuremap \ collect $NEW_SITE -s ${NEW_SITE}_collected It is this output which will be used in subsequent steps. @@ -477,7 +475,7 @@ prior to submitting via Shipyard: :: sudo airship-pegleg/tools/pegleg.sh site \ - -p airship-treasuremap \ + -r airship-treasuremap \ render $NEW_SITE Inspect the rendered document for any errors. If there are errors,