Skip to content

Commit 1583648

Browse files
authored
Split 'communicate with javascript' page into multiple pages (#208)
1 parent e8e5376 commit 1583648

18 files changed

+5388
-5167
lines changed

docs/.vitepress/config.mts

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,17 +118,25 @@ export default defineConfig({
118118
{ text: "New to OCaml?", link: "/new-to-ocaml" },
119119
{ text: "Package Management", link: "/package-management" },
120120
{ text: "Build System", link: "/build-system" },
121-
{
122-
text: "Communicate with JavaScript",
123-
link: "/communicate-with-javascript",
124-
},
125121
{ text: "How-to Guides", link: "/how-to-guides" },
126122
{
127123
text: "Melange for X Developers",
128124
link: "/melange-for-x-developers",
129125
},
130126
],
131127
},
128+
{
129+
text: 'Communicate with JavaScript',
130+
items: [
131+
{ text: "Overview", link: "/communicate-with-javascript" },
132+
{ text: "Language concepts", link: "/language-concepts" },
133+
{ text: "Data types and runtime representation", link: "/data-types-and-runtime-rep" },
134+
{ text: "Melange attributes and extension nodes", link: "/attributes-and-extension-nodes" },
135+
{ text: "Working with JavaScript objects and values", link: "/working-with-js-objects-and-values" },
136+
{ text: "Advanced JavaScript interoperability", link: "/advanced-js-interop" },
137+
{ text: "Bindings cookbook", link: "/bindings-cookbook" },
138+
],
139+
},
132140
{
133141
text: "Reference",
134142
items: [{ text: "API", link: "/api" }],

0 commit comments

Comments
 (0)