You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/contribute/locally.md
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ This guide uses the first option. If you'd like to clone the repository and buil
37
37
```sh
38
38
sudo curl -L https://raw.githubusercontent.com/elastic/docs-builder/refs/heads/main/install.sh | sh
39
39
```
40
+
40
41
This downloads the latest binary, makes it executable, and installs it to your user PATH.
41
42
42
43
2.**Run docs-builder from a docs folder**
@@ -47,7 +48,9 @@ This guide uses the first option. If you'd like to clone the repository and buil
47
48
docs-builder serve
48
49
```
49
50
50
-
To download and install the binary file manually, refer to [Releases](https://github.com/elastic/docs-builder/releases) on GitHub.
51
+
To download and install the binary file manually, refer to [Releases](https://github.com/elastic/docs-builder/releases) on GitHub.
52
+
53
+
If you get a `Permission denied` error, make sure that you aren't trying to run a directory instead of a file. Also, grant the binary file execution permissions using `chmod +x docs-builder`.
51
54
52
55
:::
53
56
@@ -76,9 +79,7 @@ To download and install the binary file manually, refer to [Releases](https://gi
76
79
:::
77
80
::::
78
81
79
-
:::{tip}
80
-
Place the `docs-builder` binary file in a system path so that you can run it from any folder. On macOS, you can do this by running `sudo mv docs-builder /usr/local/bin/docs-builder`.
0 commit comments