Add windows instructions
This commit is contained in:
parent
3f1414cb00
commit
a4a89a549d
10
README.md
10
README.md
|
|
@ -81,12 +81,20 @@ The build files are found in the `book` directory.
|
||||||
We also test that line lengths are less than 100 columns. To test this locally,
|
We also test that line lengths are less than 100 columns. To test this locally,
|
||||||
you can run `ci/check_line_lengths.sh`.
|
you can run `ci/check_line_lengths.sh`.
|
||||||
|
|
||||||
You can also set this to run automatically with the following command:
|
You can also set this to run automatically.
|
||||||
|
|
||||||
|
On Linux:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ln -s ../../ci/check_line_lengths.sh .git/hooks/pre-commit
|
ln -s ../../ci/check_line_lengths.sh .git/hooks/pre-commit
|
||||||
```
|
```
|
||||||
|
|
||||||
|
On Windows:
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
cd .git/hooks && New-Item -Path ../../.git_hooks/* -ItemType SymbolicLink -Value . && cd ../..
|
||||||
|
```
|
||||||
|
|
||||||
### Link Validations
|
### Link Validations
|
||||||
|
|
||||||
We use `mdbook-linkcheck` to validate URLs included in our documentation. To perform link checks, uncomment the `[output.linkcheck]` field in the `book.toml` configuration file and install `mdbook-linkcheck` with:
|
We use `mdbook-linkcheck` to validate URLs included in our documentation. To perform link checks, uncomment the `[output.linkcheck]` field in the `book.toml` configuration file and install `mdbook-linkcheck` with:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue