forked from open-policy-agent/opa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docs build process for new front page
These changes just update the build process for the new front page. As part of these changes, the build should now be run under the host user account instead of as root (this fixes the issue for site build artifacts being owned by root.) To make that work the gitbook and npm directories used by the docs build process need to be located under the root directory so that they're writable by the user. With these changes, the first time you build the site locally gitbook needs to be installed but after that it's cached locally in the .gitbook directory (so subsequent builds are fast when coupled with the vendored node_modules for the gitbook plugins). Signed-off-by: Torin Sandall <torinsandall@gmail.com>
- Loading branch information
Showing
4 changed files
with
22 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,8 @@ wasm/_obj | |
_test | ||
site.tar.gz | ||
policy.wasm | ||
.npm | ||
.gitbook | ||
|
||
# runtime artifacts | ||
policies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters