aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--subprojects/docs/docusaurus.config.ts13
1 files changed, 9 insertions, 4 deletions
diff --git a/subprojects/docs/docusaurus.config.ts b/subprojects/docs/docusaurus.config.ts
index a858188a..1b79a0f4 100644
--- a/subprojects/docs/docusaurus.config.ts
+++ b/subprojects/docs/docusaurus.config.ts
@@ -18,6 +18,13 @@ const markdownOptions = {
18 remarkPlugins: [[smartypants, { dashes: 'oldschool' }]], 18 remarkPlugins: [[smartypants, { dashes: 'oldschool' }]],
19}; 19};
20 20
21const docsOptions = {
22 ...markdownOptions,
23 sidebarPath: undefined,
24 editUrl:
25 'https://github.com/graphs4value/refinery/edit/main/subprojects/docs',
26} satisfies DocsOptions;
27
21export default { 28export default {
22 title: 'Refinery', 29 title: 'Refinery',
23 tagline: 'An efficient graph solver for generating well-formed models', 30 tagline: 'An efficient graph solver for generating well-formed models',
@@ -33,8 +40,7 @@ export default {
33 id: 'learn', 40 id: 'learn',
34 path: 'src/learn', 41 path: 'src/learn',
35 routeBasePath: '/learn', 42 routeBasePath: '/learn',
36 sidebarPath: undefined, 43 ...docsOptions,
37 ...markdownOptions,
38 } satisfies DocsOptions, 44 } satisfies DocsOptions,
39 ], 45 ],
40 [ 46 [
@@ -43,8 +49,7 @@ export default {
43 id: 'develop', 49 id: 'develop',
44 path: 'src/develop', 50 path: 'src/develop',
45 routeBasePath: '/develop', 51 routeBasePath: '/develop',
46 sidebarPath: undefined, 52 ...docsOptions,
47 ...markdownOptions,
48 } satisfies DocsOptions, 53 } satisfies DocsOptions,
49 ], 54 ],
50 [ 55 [