aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/docs/docusaurus.config.ts
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2024-04-10 12:48:10 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2024-04-10 12:48:10 +0200
commit0d0379504b4476d60275a61d0da1d6e053f67ab3 (patch)
tree813094020d5284cb4ff6be316d3c9c1a10859f59 /subprojects/docs/docusaurus.config.ts
parentdocs: add existing static assets (diff)
downloadrefinery-0d0379504b4476d60275a61d0da1d6e053f67ab3.tar.gz
refinery-0d0379504b4476d60275a61d0da1d6e053f67ab3.tar.zst
refinery-0d0379504b4476d60275a61d0da1d6e053f67ab3.zip
refactor(docs): URL structure
Diffstat (limited to 'subprojects/docs/docusaurus.config.ts')
-rw-r--r--subprojects/docs/docusaurus.config.ts31
1 files changed, 15 insertions, 16 deletions
diff --git a/subprojects/docs/docusaurus.config.ts b/subprojects/docs/docusaurus.config.ts
index 47bf605e..00ef21b5 100644
--- a/subprojects/docs/docusaurus.config.ts
+++ b/subprojects/docs/docusaurus.config.ts
@@ -21,7 +21,6 @@ const markdownOptions = {
21export default { 21export default {
22 title: 'Refinery', 22 title: 'Refinery',
23 tagline: 'An efficient graph solver for generating well-formed models', 23 tagline: 'An efficient graph solver for generating well-formed models',
24 titleDelimiter: '⚗️',
25 url: 'https://refinery.tools', 24 url: 'https://refinery.tools',
26 baseUrl: '/', 25 baseUrl: '/',
27 baseUrlIssueBanner: false, 26 baseUrlIssueBanner: false,
@@ -31,9 +30,9 @@ export default {
31 [ 30 [
32 '@docusaurus/plugin-content-docs', 31 '@docusaurus/plugin-content-docs',
33 { 32 {
34 id: 'docs', 33 id: 'learn',
35 path: 'src/docs', 34 path: 'src/learn',
36 routeBasePath: '/docs', 35 routeBasePath: '/learn',
37 sidebarPath: undefined, 36 sidebarPath: undefined,
38 ...markdownOptions, 37 ...markdownOptions,
39 } satisfies DocsOptions, 38 } satisfies DocsOptions,
@@ -41,9 +40,9 @@ export default {
41 [ 40 [
42 '@docusaurus/plugin-content-docs', 41 '@docusaurus/plugin-content-docs',
43 { 42 {
44 id: 'api', 43 id: 'develop',
45 path: 'src/docs-api', 44 path: 'src/develop',
46 routeBasePath: '/api', 45 routeBasePath: '/develop',
47 sidebarPath: undefined, 46 sidebarPath: undefined,
48 ...markdownOptions, 47 ...markdownOptions,
49 } satisfies DocsOptions, 48 } satisfies DocsOptions,
@@ -81,11 +80,11 @@ export default {
81 items: [ 80 items: [
82 { 81 {
83 label: 'Learn', 82 label: 'Learn',
84 to: '/docs', 83 to: '/learn',
85 }, 84 },
86 { 85 {
87 label: 'Develop', 86 label: 'Develop',
88 to: '/api', 87 to: '/develop',
89 }, 88 },
90 { 89 {
91 label: 'GitHub', 90 label: 'GitHub',
@@ -107,19 +106,19 @@ export default {
107 items: [ 106 items: [
108 { 107 {
109 label: 'Introduction', 108 label: 'Introduction',
110 to: '/docs', 109 to: '/learn',
111 }, 110 },
112 { 111 {
113 label: 'Tutorials', 112 label: 'Tutorials',
114 to: '/docs/category/tutorials', 113 to: '/learn/tutorials',
115 }, 114 },
116 { 115 {
117 label: 'Langauge reference', 116 label: 'Langauge reference',
118 to: '/docs/category/language', 117 to: '/learn/language',
119 }, 118 },
120 { 119 {
121 label: 'Run in Docker', 120 label: 'Run in Docker',
122 to: '/docs/docker', 121 to: '/learn/docker',
123 }, 122 },
124 ], 123 ],
125 }, 124 },
@@ -128,15 +127,15 @@ export default {
128 items: [ 127 items: [
129 { 128 {
130 label: 'Programming guide', 129 label: 'Programming guide',
131 to: '/api', 130 to: '/develop',
132 }, 131 },
133 { 132 {
134 label: 'Contributing', 133 label: 'Contributing',
135 to: '/api/contributing', 134 to: '/develop/contributing',
136 }, 135 },
137 { 136 {
138 label: 'Javadoc', 137 label: 'Javadoc',
139 to: '/api/javadoc', 138 to: '/develop/javadoc',
140 }, 139 },
141 ], 140 ],
142 }, 141 },