Skip to content

Commit

Permalink
Update Docusaurus and enable new features (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergefdrv authored Aug 29, 2024
2 parents 9915d83 + 0d38ee8 commit b71bf17
Show file tree
Hide file tree
Showing 4 changed files with 670 additions and 580 deletions.
4 changes: 4 additions & 0 deletions blog/authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ sergefdrv:
email: [email protected]
url: https://github.com/sergefdrv
image_url: https://github.com/sergefdrv.png
socials:
x: sergefdrv
linkedin: sergefdrv
github: sergefdrv
10 changes: 9 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const config = {

clientModules: ['/js/unscrambleEmail.js'],

plugins:[
plugins: [
[
'./plugins/blog-plugin',
{
Expand All @@ -59,6 +59,8 @@ const config = {
showReadingTime: true,
showLastUpdateTime: true,
showLastUpdateAuthor: true,
onUntruncatedBlogPosts: 'throw',
onInlineAuthors: 'throw',
// Remove this to remove the "edit this page" links.
editUrl: `${siteGitHubUrl}/edit/main/`,
},
Expand All @@ -70,8 +72,14 @@ const config = {
'classic',
/** @type {import('@docusaurus/preset-classic').Options} */
({
pages: {
showLastUpdateTime: true,
showLastUpdateAuthor: true,
},
docs: {
sidebarPath: './sidebars.js',
showLastUpdateTime: true,
showLastUpdateAuthor: true,
// Remove this to remove the "edit this page" links.
editUrl: `${siteGitHubUrl}/edit/main/`,
},
Expand Down
Loading

0 comments on commit b71bf17

Please sign in to comment.