File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,19 @@ you may need to install the Gatsby CLI as well `npm install -g gatsby-cli`
12
12
13
13
Check out the site at http://localhost:8000/
14
14
15
+ If you'd like to use a local YAML file to build the API docs, run:
16
+
17
+ ` yarn develop [relative-path-to-your-local-YAML-file] `
18
+
19
+ ex: ` yarn develop ../linode-api-docs/openapi.yaml `
20
+
15
21
### Build
16
22
17
23
The API documentation in this site is also indexed in Algolia, so that
18
24
it can be searched across Linode's services. The scripts for this are
19
25
located in the ` /search ` directory. In order to run them correctly,
20
- you will need to create a ` .env ` file in the root directory with the
26
+ you will need to create a ` .env ` file in the root directory with the
21
27
following values:
22
28
23
29
ALGOLIA_API_KEY=(your key here)
24
- ALGOLIA_API_SECRET=(your secret here)
30
+ ALGOLIA_API_SECRET=(your secret here)
You can’t perform that action at this time.
0 commit comments