Skip to content

Commit 9f5792d

Browse files
committed
docs(edit): enabled page updates feature and edit this page feature
Signed-off-by: Christine <[email protected]>
1 parent 6533b26 commit 9f5792d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docusaurus.config.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,14 @@ const config = {
3333
docs: {
3434
// 👇 This points to your sidebars.js file
3535
sidebarPath: require.resolve('./sidebars.js'),
36+
showLastUpdateTime: true, // Must be explicitly set
37+
showLastUpdateAuthor: true, // Must be explicitly set
38+
// Include root contributing.md if applicable
39+
include: ['**/*.{md,mdx}', '../contributing.md'],
3640

3741
// Optional: link to your repo for "Edit this page"
3842
editUrl:
39-
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
43+
'https://github.com/CBID2/refract-docs/edit/main/',
4044
},
4145
blog: {
4246
showReadingTime: true,
@@ -45,7 +49,7 @@ const config = {
4549
xslt: true,
4650
},
4751
editUrl:
48-
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
52+
'https://github.com/CBID2/refract-docs/edit/main/',
4953
onInlineTags: 'warn',
5054
onInlineAuthors: 'warn',
5155
onUntruncatedBlogPosts: 'warn',

0 commit comments

Comments
 (0)