Skip to content

Commit a24c618

Browse files
committed
include html build in reference-generation diagram
1 parent 8656561 commit a24c618

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

contributor_docs/reference_generation_process.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,15 @@ graph TD
2626
convert --> /docs/reference/data.min.json@{ shape: doc }
2727
/docs/reference/data.json --> websiteNpmBuildReference[[website<br>npm run<br>build:reference]]
2828
29-
contentReference["/src/content<br>/reference/**/*.mdx"]@{shape: docs}
29+
contentReferenceMDX["/src/content<br>/reference/**/*.mdx"]@{shape: docs}
3030
3131
websiteNpmBuildReference --> convertDocsToMDX
32-
convertDocsToMDX --> contentReference
32+
convertDocsToMDX[[convertDocsToMDX]] --> contentReferenceMDX
33+
contentReferenceMDX --> npmRunBuild[[npm run<br>build]]
34+
35+
contentReferenceHTML["/dist/**/*.html"]@{shape: docs}
36+
37+
npmRunBuild --> contentReferenceHTML
3338
3439
```
3540

@@ -262,13 +267,13 @@ See [mermaid flowchart syntax reference](https://mermaid.ai/open-source/syntax/f
262267

263268
```mermaid
264269
graph TD
265-
contentReference["/src/content/reference"]@{shape: docs}
270+
contentReferenceMDX["/src/content/reference"]@{shape: docs}
266271
contentExamples["/src/content/examples"]@{shape: docs}
267272
268273
npmBuildSearch[[npm run<br>build:search]]
269274
npmBuildSearch --> buildSearchIndices[[buildSearchIndices]] --> genSearchIndexForExamples[[generateSearchIndex<br>examples]]
270275
buildSearchIndices --> genSearchIndexForReference[[generateSearchIndex<br>reference]]
271-
contentReference --> genSearchIndexForReference
276+
contentReferenceMDX --> genSearchIndexForReference
272277
contentExamples --> genSearchIndexForExamples
273278
buildSearchIndices --> saveSearchIndex[[saveSearchIndex]] --> outDir[[public/search-indices en.json, ja.json, ...]]@{shape: docs}
274279
```

0 commit comments

Comments
 (0)