-
Notifications
You must be signed in to change notification settings - Fork 66.9k
Expand file tree
/
Copy pathconfig.ts
More file actions
19 lines (17 loc) · 825 Bytes
/
config.ts
File metadata and controls
19 lines (17 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// This separate file from config.json was necessary in order to load
// static information into our client-side React components. But,
// we also need a JSON file to have a format with static data that can be
// written to automatically. The sync scripts for REST update information
// in the JSON file.
// These paths must match the paths in src/pages/[versionId]/rest
export const nonAutomatedRestPaths: readonly string[] = [
'/rest/quickstart',
'/rest/about-the-rest-api',
'/rest/using-the-rest-api',
'/rest/authentication',
'/rest/guides',
] as const
// This path is used to set the page in the
// src/rest/components/ApiVersionPicker.tsx component. That component
// has a link to the page that describes what api versioning is.
export const apiVersionPath: string = '/rest/about-the-rest-api/api-versions'