-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): build docs on every pr (#1955)
fixes: #1952 fixes: #1908 # Overview Makes docs rebuild on every pr, the reason for this being that the pre processor can reference ANY code. And we were not explicitly checking that docs builds succeeded on prs. It only takes 4 minutes to run, and runs in isolation, so its not too bad to run each time. ## TODO The docs were broken by some broken links that I have not expressly fixed, but they can be forked from this and fixed
- Loading branch information
Showing
7 changed files
with
284 additions
and
222 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
*.node_modules | ||
*.docusaurus | ||
*.processed-docs | ||
*.processed-docs-cache | ||
*Dockerfile | ||
*.CONTRIBUTING.md | ||
*.LICENSE | ||
|
||
# Ignore C++ object files and executables | ||
build/ | ||
Debug/ | ||
Release/ | ||
circuits/cpp/build/ | ||
circuits/cpp/build-wasm/ | ||
circuits/cpp/build-coverage/ | ||
circuits/cpp/barretenberg/ | ||
|
||
# Ignore Node.js build artifacts | ||
*/node_modules/ | ||
*.log | ||
npm-debug.log | ||
yarn.lock | ||
yarn-error.log | ||
package-lock.json | ||
dist/ |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM node:18-alpine | ||
RUN apk update | ||
|
||
WORKDIR /usr/src | ||
|
||
COPY . . | ||
|
||
WORKDIR /usr/src/docs | ||
|
||
RUN yarn && yarn build |
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
Oops, something went wrong.