new
This commit is contained in:
parent
c6d20f36d7
commit
7dd53d1e32
@ -6,8 +6,6 @@
|
|||||||
- [Installation](#installation)
|
- [Installation](#installation)
|
||||||
- [MacOS or Linux](#macos-or-linux)
|
- [MacOS or Linux](#macos-or-linux)
|
||||||
- [Windows](#windows)
|
- [Windows](#windows)
|
||||||
- [Install Chocolatey](#install-chocolatey)
|
|
||||||
- [Install Mdbook](#install-mdbook)
|
|
||||||
- [Create a New Mdbook](#create-a-new-mdbook)
|
- [Create a New Mdbook](#create-a-new-mdbook)
|
||||||
- [More Information](#more-information)
|
- [More Information](#more-information)
|
||||||
|
|
||||||
@ -36,30 +34,27 @@ We introduce Mdbook and Hero Mdbook.
|
|||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
|
||||||
#### Install Chocolatey
|
- Install Chocolatey
|
||||||
|
- To install Chocolatey on Windows, we follow the [official Chocolatey website](https://chocolatey.org/install) instructions.
|
||||||
|
|
||||||
To install Chocolatey on Windows, we follow the [official Chocolatey website](https://chocolatey.org/install) instructions.
|
* Run PowerShell as Administrator
|
||||||
|
* Check if **Get-ExecutionPolicy** is restricted
|
||||||
* Run PowerShell as Administrator
|
|
||||||
* Check if **Get-ExecutionPolicy** is restricted
|
|
||||||
* ```
|
|
||||||
Get-ExecutionPolicy
|
|
||||||
```
|
|
||||||
* If it is restricted, run the following command:
|
|
||||||
* ```
|
* ```
|
||||||
Set-ExecutionPolicy AllSigned
|
Get-ExecutionPolicy
|
||||||
```
|
```
|
||||||
* Install Chocolatey
|
* If it is restricted, run the following command:
|
||||||
* ```
|
* ```
|
||||||
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
|
Set-ExecutionPolicy AllSigned
|
||||||
|
```
|
||||||
|
* Install Chocolatey
|
||||||
|
* ```
|
||||||
|
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
|
||||||
|
```
|
||||||
|
* Note: You might need to restart PowerShell to use Chocolatey
|
||||||
|
- Install Mdbook
|
||||||
|
- ```
|
||||||
|
choco install mdbook
|
||||||
```
|
```
|
||||||
* Note: You might need to restart PowerShell to use Chocolatey
|
|
||||||
|
|
||||||
#### Install Mdbook
|
|
||||||
|
|
||||||
```
|
|
||||||
choco install mdbook
|
|
||||||
```
|
|
||||||
|
|
||||||
## Create a New Mdbook
|
## Create a New Mdbook
|
||||||
|
|
||||||
@ -78,7 +73,6 @@ choco install mdbook
|
|||||||
|
|
||||||
## More Information
|
## More Information
|
||||||
|
|
||||||
- Update an mdbook on a GitHub repo
|
- [Update an mdbook on a GitHub repo](https://manual.grid.tf/knowledge_base/collaboration/contribute.html)
|
||||||
- https://manual.grid.tf/knowledge_base/collaboration/contribute.html
|
|
||||||
- [Deploy a Hero Mdbook on Docker](./hero_mdbook_docker.md)
|
- [Deploy a Hero Mdbook on Docker](./hero_mdbook_docker.md)
|
||||||
- [Create a Hero Mdbook](./hero_create_mdbook.md)
|
- [Create a Hero Mdbook](./hero_create_mdbook.md)
|
Loading…
Reference in New Issue
Block a user