Skip to content

Commit 1ec9a0c

Browse files
committed
feat(docs/general): 🚸 Add last update information to documentation footer
1 parent 13a1229 commit 1ec9a0c

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

docusaurus.config.js

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,9 @@ module.exports = {
145145
path: 'develop',
146146
routeBasePath: 'develop',
147147
sidebarPath: require.resolve('./sidebars-develop.js'),
148-
editUrl: 'https://github.com/server-state/docs/edit/main/'
148+
editUrl: 'https://github.com/server-state/docs/edit/main/',
149+
showLastUpdateTime: true,
150+
showLastUpdateAuthor: true
149151
// ... other options
150152
}
151153
],
@@ -156,7 +158,9 @@ module.exports = {
156158
path: 'internal',
157159
routeBasePath: 'internal',
158160
sidebarPath: require.resolve('./sidebars-internal.js'),
159-
editUrl: 'https://github.com/server-state/docs/edit/main/'
161+
editUrl: 'https://github.com/server-state/docs/edit/main/',
162+
showLastUpdateTime: true,
163+
showLastUpdateAuthor: true
160164
// ... other options
161165
}
162166
],
@@ -167,7 +171,9 @@ module.exports = {
167171
path: 'branding',
168172
routeBasePath: 'branding',
169173
sidebarPath: require.resolve('./sidebars-branding.js'),
170-
editUrl: 'https://github.com/server-state/docs/edit/main/'
174+
editUrl: 'https://github.com/server-state/docs/edit/main/',
175+
showLastUpdateTime: true,
176+
showLastUpdateAuthor: true
171177
// ... other options
172178
}
173179
]
@@ -181,7 +187,9 @@ module.exports = {
181187

182188
routeBasePath: '/docs',
183189
// Please change this to your repo.
184-
editUrl: 'https://github.com/server-state/docs/edit/main'
190+
editUrl: 'https://github.com/server-state/docs/edit/main',
191+
showLastUpdateTime: true,
192+
showLastUpdateAuthor: true
185193
},
186194
blog: false,
187195
theme: {

0 commit comments

Comments
 (0)