Skip to content

Commit add36ce

Browse files
authored
Merge pull request #573 from ShaggyTech/typedoc-plugin-markdown
typedoc-plugin-markdown@next
2 parents 56f346c + 0c62d30 commit add36ce

114 files changed

Lines changed: 4912 additions & 5172 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/docs/.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
**/typedoc/**

apps/docs/.vitepress/config.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,6 @@ export default withPwa(
4242
outline: 'deep',
4343
nav: nav(),
4444
sidebar: sidebar(),
45-
46-
// search: {
47-
// provider: 'local',
48-
// },
4945
algolia: getAlgoliaConfig(process.env),
5046

5147
editLink: {

apps/docs/.vitepress/menu-links.ts

Lines changed: 112 additions & 130 deletions
Original file line numberDiff line numberDiff line change
@@ -76,168 +76,150 @@ const vpicEndpointLinks = [
7676

7777
const typedocLinks = [
7878
{
79-
text: 'Modules',
79+
text: '/api',
8080
collapsed: true,
8181
items: [
82+
{ text: 'Index', link: '/typedoc/api' },
8283
{
83-
text: '/api',
84+
text: 'useNHTSA',
85+
link: '/typedoc/api/useNHTSA',
86+
},
87+
{
88+
text: '/endpoints/',
8489
collapsed: true,
8590
items: [
86-
{ text: 'Index', link: '/typedoc/modules/api' },
91+
{ text: 'Index', link: '/typedoc/api/endpoints' },
8792
{
88-
text: 'useNHTSA',
89-
link: '/typedoc/modules/api_useNHTSA',
93+
text: 'DecodeVin',
94+
link: '/typedoc/api/endpoints/DecodeVin',
9095
},
9196
{
92-
text: '/endpoints/',
93-
collapsed: true,
94-
items: [
95-
{ text: 'Index', link: '/typedoc/modules/api_endpoints' },
96-
{
97-
text: 'DecodeVin',
98-
link: '/typedoc/modules/api_endpoints_DecodeVin',
99-
},
100-
{
101-
text: 'DecodeVinExtended',
102-
link: '/typedoc/modules/api_endpoints_DecodeVinExtended',
103-
},
104-
{
105-
text: 'DecodeVinValues',
106-
link: '/typedoc/modules/api_endpoints_DecodeVinValues',
107-
},
108-
{
109-
text: 'DecodeVinValuesBatch',
110-
link: '/typedoc/modules/api_endpoints_DecodeVinValuesBatch',
111-
},
112-
{
113-
text: 'DecodeVinValuesExtended',
114-
link: '/typedoc/modules/api_endpoints_DecodeVinValuesExtended',
115-
},
116-
{
117-
text: 'DecodeWMI',
118-
link: '/typedoc/modules/api_endpoints_DecodeWMI',
119-
},
120-
{
121-
text: 'GetAllMakes',
122-
link: '/typedoc/modules/api_endpoints_GetAllMakes',
123-
},
124-
{
125-
text: 'GetAllManufacturers',
126-
link: '/typedoc/modules/api_endpoints_GetAllManufacturers',
127-
},
128-
{
129-
text: 'GetCanadianVehicleSpecifications',
130-
link: '/typedoc/modules/api_endpoints_GetCanadianVehicleSpecifications',
131-
},
132-
{
133-
text: 'GetEquipmentPlantCodes',
134-
link: '/typedoc/modules/api_endpoints_GetEquipmentPlantCodes',
135-
},
136-
{
137-
text: 'GetMakeForManufacturer',
138-
link: '/typedoc/modules/api_endpoints_GetMakeForManufacturer',
139-
},
140-
{
141-
text: 'GetMakesForManufacturerAndYear',
142-
link: '/typedoc/modules/api_endpoints_GetMakesForManufacturerAndYear',
143-
},
144-
{
145-
text: 'GetMakesForVehicleType',
146-
link: '/typedoc/modules/api_endpoints_GetMakesForVehicleType',
147-
},
148-
{
149-
text: 'GetManufacturerDetails',
150-
link: '/typedoc/modules/api_endpoints_GetManufacturerDetails',
151-
},
152-
{
153-
text: 'GetModelsForMake',
154-
link: '/typedoc/modules/api_endpoints_GetModelsForMake',
155-
},
156-
{
157-
text: 'GetModelsForMakeId',
158-
link: '/typedoc/modules/api_endpoints_GetModelsForMakeId',
159-
},
160-
{
161-
text: 'GetModelsForMakeIdYear',
162-
link: '/typedoc/modules/api_endpoints_GetModelsForMakeIdYear',
163-
},
164-
{
165-
text: 'GetModelsForMakeYear',
166-
link: '/typedoc/modules/api_endpoints_GetModelsForMakeYear',
167-
},
168-
{
169-
text: 'GetParts',
170-
link: '/typedoc/modules/api_endpoints_GetParts',
171-
},
172-
{
173-
text: 'GetVehicleTypesForMake',
174-
link: '/typedoc/modules/api_endpoints_GetVehicleTypesForMake',
175-
},
176-
{
177-
text: 'GetVehicleTypesForMakeId',
178-
link: '/typedoc/modules/api_endpoints_GetVehicleTypesForMakeId',
179-
},
180-
{
181-
text: 'GetVehicleVariableList',
182-
link: '/typedoc/modules/api_endpoints_GetVehicleVariableList',
183-
},
184-
{
185-
text: 'GetVehicleVariableValuesList',
186-
link: '/typedoc/modules/api_endpoints_GetVehicleVariableValuesList',
187-
},
188-
{
189-
text: 'GetWMIsForManufacturer',
190-
link: '/typedoc/modules/api_endpoints_GetWMIsForManufacturer',
191-
},
192-
],
97+
text: 'DecodeVinExtended',
98+
link: '/typedoc/api/endpoints/DecodeVinExtended',
99+
},
100+
{
101+
text: 'DecodeVinValues',
102+
link: '/typedoc/api/endpoints/DecodeVinValues',
103+
},
104+
{
105+
text: 'DecodeVinValuesBatch',
106+
link: '/typedoc/api/endpoints/DecodeVinValuesBatch',
107+
},
108+
{
109+
text: 'DecodeVinValuesExtended',
110+
link: '/typedoc/api/endpoints/DecodeVinValuesExtended',
111+
},
112+
{
113+
text: 'DecodeWMI',
114+
link: '/typedoc/api/endpoints/DecodeWMI',
115+
},
116+
{
117+
text: 'GetAllMakes',
118+
link: '/typedoc/api/endpoints/GetAllMakes',
119+
},
120+
{
121+
text: 'GetAllManufacturers',
122+
link: '/typedoc/api/endpoints/GetAllManufacturers',
123+
},
124+
{
125+
text: 'GetCanadianVehicleSpecifications',
126+
link: '/typedoc/api/endpoints/GetCanadianVehicleSpecifications',
127+
},
128+
{
129+
text: 'GetEquipmentPlantCodes',
130+
link: '/typedoc/api/endpoints/GetEquipmentPlantCodes',
131+
},
132+
{
133+
text: 'GetMakeForManufacturer',
134+
link: '/typedoc/api/endpoints/GetMakeForManufacturer',
193135
},
194-
],
195-
},
196-
{
197-
text: '/utils',
198-
collapsed: true,
199-
items: [
200-
{ text: 'Index', link: '/typedoc/modules/utils' },
201136
{
202-
text: 'argHandler',
203-
link: '/typedoc/modules/utils_argHandler',
137+
text: 'GetMakesForManufacturerAndYear',
138+
link: '/typedoc/api/endpoints/GetMakesForManufacturerAndYear',
204139
},
205140
{
206-
text: 'errorHandler',
207-
link: '/typedoc/modules/utils_errorHandler',
141+
text: 'GetMakesForVehicleType',
142+
link: '/typedoc/api/endpoints/GetMakesForVehicleType',
208143
},
209144
{
210-
text: 'getTypeof',
211-
link: '/typedoc/modules/utils_getTypeof',
145+
text: 'GetManufacturerDetails',
146+
link: '/typedoc/api/endpoints/GetManufacturerDetails',
212147
},
213148
{
214-
text: 'isValidVin',
215-
link: '/typedoc/modules/utils_isValidVin',
149+
text: 'GetModelsForMake',
150+
link: '/typedoc/api/endpoints/GetModelsForMake',
216151
},
217152
{
218-
text: 'queryString',
219-
link: '/typedoc/modules/utils_queryString',
153+
text: 'GetModelsForMakeId',
154+
link: '/typedoc/api/endpoints/GetModelsForMakeId',
155+
},
156+
{
157+
text: 'GetModelsForMakeIdYear',
158+
link: '/typedoc/api/endpoints/GetModelsForMakeIdYear',
159+
},
160+
{
161+
text: 'GetModelsForMakeYear',
162+
link: '/typedoc/api/endpoints/GetModelsForMakeYear',
163+
},
164+
{
165+
text: 'GetParts',
166+
link: '/typedoc/api/endpoints/GetParts',
167+
},
168+
{
169+
text: 'GetVehicleTypesForMake',
170+
link: '/typedoc/api/endpoints/GetVehicleTypesForMake',
171+
},
172+
{
173+
text: 'GetVehicleTypesForMakeId',
174+
link: '/typedoc/api/endpoints/GetVehicleTypesForMakeId',
175+
},
176+
{
177+
text: 'GetVehicleVariableList',
178+
link: '/typedoc/api/endpoints/GetVehicleVariableList',
179+
},
180+
{
181+
text: 'GetVehicleVariableValuesList',
182+
link: '/typedoc/api/endpoints/GetVehicleVariableValuesList',
183+
},
184+
{
185+
text: 'GetWMIsForManufacturer',
186+
link: '/typedoc/api/endpoints/GetWMIsForManufacturer',
220187
},
221188
],
222189
},
223190
],
224191
},
225192
{
226-
text: 'Types',
193+
text: '/utils',
227194
collapsed: true,
228195
items: [
229-
{ text: 'Index', link: '/typedoc/modules/types' },
230-
{ text: '/api/types', link: '/typedoc/modules/api_types' },
196+
{ text: 'Index', link: '/typedoc/utils' },
197+
{
198+
text: 'argHandler',
199+
link: '/typedoc/utils/argHandler',
200+
},
231201
{
232-
text: '/api/endpoints/types',
233-
link: '/typedoc/modules/api_endpoints_types',
202+
text: 'errorHandler',
203+
link: '/typedoc/utils/errorHandler',
234204
},
235205
{
236-
text: '/utils/types',
237-
link: '/typedoc/modules/utils_types',
206+
text: 'getTypeof',
207+
link: '/typedoc/utils/getTypeof',
208+
},
209+
{
210+
text: 'isValidVin',
211+
link: '/typedoc/utils/isValidVin',
212+
},
213+
{
214+
text: 'queryString',
215+
link: '/typedoc/utils/queryString',
238216
},
239217
],
240218
},
219+
{
220+
text: 'Types Index',
221+
link: '/typedoc/types',
222+
},
241223
]
242224

243225
export type LinkGroup = 'guide' | 'api' | 'typedocs'

apps/docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"preview": "vitepress preview",
1313
"lint": "eslint .",
1414
"lint:fix": "eslint . --fix",
15-
"format": "prettier --write \"src/**/*.{ts,tsx,md}\"",
15+
"format": "prettier --write \"src/**/*.{js,ts,md}\"",
1616
"format:typedoc": "prettier --write \"src/typedoc/**/*.md\"",
1717
"clean": "rimraf .vitepress/dist .vitepress/cache .turbo",
1818
"clean:all": "pnpm run clean && rimraf node_modules"

apps/docs/src/api/endpoints/decode-vin-extended.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ async function DecodeVinExtended (
1515
```
1616

1717
::: tip :bulb: More In Depth
18-
See: [Package Reference](../../typedoc/modules/api_endpoints_DecodeVinExtended)
18+
See: [Package Reference](../../typedoc/api/endpoints/DecodeVinExtended)
1919
:::
2020

2121
## Description

apps/docs/src/api/endpoints/decode-vin-values-batch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ async function DecodeVinValuesBatch(
1010
```
1111

1212
::: tip :bulb: More In Depth
13-
See: [Package Reference](../../typedoc/modules/api_endpoints_DecodeVinValuesBatch)
13+
See: [Package Reference](../../typedoc/api/endpoints/DecodeVinValuesBatch)
1414
:::
1515

1616
## Description

apps/docs/src/api/endpoints/decode-vin-values-extended.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ async function DecodeVinValuesExtended(
1515
```
1616

1717
::: tip :bulb: More In Depth
18-
See: [Package Reference](../../typedoc/modules/api_endpoints_DecodeVinValuesExtended)
18+
See: [Package Reference](../../typedoc/api/endpoints/DecodeVinValuesExtended)
1919
:::
2020

2121
## Description

apps/docs/src/api/endpoints/decode-vin-values.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ async function DecodeVinValues(
1515
```
1616

1717
::: tip :bulb: More In Depth
18-
See: [Package Reference](../../typedoc/modules/api_endpoints_DecodeVinValues)
18+
See: [Package Reference](../../typedoc/api/endpoints/DecodeVinValues)
1919
:::
2020

2121
## Description

apps/docs/src/api/endpoints/decode-vin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ async function DecodeVin(
1515
```
1616

1717
::: tip :bulb: More In Depth
18-
See: [Package Reference](../../typedoc/modules/api_endpoints_DecodeVin)
18+
See: [Package Reference](../../typedoc/api/endpoints/DecodeVin)
1919
:::
2020

2121
## Description

apps/docs/src/api/endpoints/decode-wmi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ async function DecodeWMI(
1010
```
1111

1212
::: tip :bulb: More In Depth
13-
See: [Package Reference](../../typedoc/modules/api_endpoints_DecodeWMI)
13+
See: [Package Reference](../../typedoc/api/endpoints/DecodeWMI)
1414
:::
1515

1616
## Description

0 commit comments

Comments
 (0)