Skip to content

Commit 2691a01

Browse files
authored
Merge pull request #175 from contentauth/site-build-reqs
Clarify site build prereqs
2 parents aa00211 + 51fa1ba commit 2691a01

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ $ npm install
1616

1717
## Local development
1818

19+
**Prerequisite**: To build the site locally, you must first check out the JavaScript library in a sibling directory and build the API docs there. In the parent directory of `opensource.contentauth.org`, enter these commands:
20+
21+
```
22+
$ git clone [email protected]:contentauth/c2pa-js.git
23+
$ cd opensource.contentauth.org
24+
$ npm run docs:generate-api-docs
25+
```
26+
27+
Then you can build and run the doc site with this command:
28+
1929
```
2030
$ npm start
2131
```

0 commit comments

Comments
 (0)