add BYOK for pages
Signed-off-by: Sajay Antony <sajaya@microsoft.com>
This commit is contained in:
Родитель
c9e5571419
Коммит
a4317adfce
|
@ -41,7 +41,12 @@ module.exports = {
|
|||
collapsable: true,
|
||||
sidebarDepth : 1,
|
||||
children : ['/integration/change-analysis/', ]
|
||||
}
|
||||
},
|
||||
{
|
||||
title: 'Encryption',
|
||||
collapsable: true,
|
||||
children: ['/preview/BYOK/'],
|
||||
},
|
||||
]
|
||||
}
|
||||
}
|
|
@ -1,10 +1,10 @@
|
|||
# Instructions to get started.
|
||||
# Instructions to get started
|
||||
|
||||
## Prerequisites
|
||||
|
||||
### YARN
|
||||
|
||||
Install vuepress globally using yarn. Here are the instructions for debian which can be used for WSL as well.
|
||||
Install `vuepress` globally using yarn. Here are the instructions for debian which can be used for WSL as well.
|
||||
|
||||
https://yarnpkg.com/en/docs/install#debian-stable
|
||||
|
||||
|
@ -14,30 +14,31 @@ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
|
|||
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
|
||||
|
||||
sudo apt update && sudo apt install yarn
|
||||
|
||||
```
|
||||
|
||||
> Make sure you have yarn in your path.
|
||||
> Make sure you have yarn in your path.
|
||||
|
||||
## Vuepress.
|
||||
## Vuepress
|
||||
|
||||
Install Vuepress with yarn.
|
||||
|
||||
```sh
|
||||
yarn global add vuepress
|
||||
```
|
||||
|
||||
|
||||
# To view the pages
|
||||
|
||||
```sh
|
||||
cd ./pages/
|
||||
cd ./docs/
|
||||
vuepress dev .
|
||||
```
|
||||
|
||||
# Publish content
|
||||
|
||||
https://v1.vuepress.vuejs.org/guide/deploy.html#github-pages
|
||||
|
||||
```sh
|
||||
cd pages
|
||||
cd docs
|
||||
|
||||
vuepress build .
|
||||
|
||||
|
@ -46,6 +47,4 @@ git init
|
|||
git add -A
|
||||
git commit -m 'deploy'
|
||||
git push -f git@github.com:Azure/acr.git master:gh-pages
|
||||
|
||||
```
|
||||
vuepress build
|
Загрузка…
Ссылка в новой задаче