aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2024-04-12 15:25:43 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2024-04-12 17:39:51 +0200
commit4a5d1cf0e32feca7b81f2548e963530b44b1a4b6 (patch)
tree7c5984033198ec6396b5a8de71cf13c51401bf61 /subprojects
parentfix(docs): category selection card apperance (diff)
downloadrefinery-4a5d1cf0e32feca7b81f2548e963530b44b1a4b6.tar.gz
refinery-4a5d1cf0e32feca7b81f2548e963530b44b1a4b6.tar.zst
refinery-4a5d1cf0e32feca7b81f2548e963530b44b1a4b6.zip
feat(docs): add edit link
Diffstat (limited to 'subprojects')
-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 [