Skip to content

Commit

Permalink
feat: disable edit this page (#89)
Browse files Browse the repository at this point in the history
* feat: add og image for share

Signed-off-by: frank-zsy <[email protected]>

* feat: remove edit this page button.

Signed-off-by: frank-zsy <[email protected]>

---------

Signed-off-by: frank-zsy <[email protected]>
  • Loading branch information
frank-zsy authored Nov 10, 2024
1 parent 4a9d169 commit b6cf1cb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 41 deletions.
4 changes: 0 additions & 4 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,12 @@ const config: Config = {
({
docs: {
sidebarPath: './sidebars.js',
editUrl: ({ locale, docPath }) =>
`https://raw.githubusercontent.com/X-lab2017/open-digger-website/master/${locale === defaultLocale ? 'docs/' : `i18n/${locale}/docusaurus-plugin-content-docs/current/`}${docPath}`,
remarkPlugins: [remarkMath],
rehypePlugins: [rehypeKatex],
},
blog: {
showReadingTime: true,
blogSidebarTitle: 'Recent Posts',
editUrl: ({ blogDirPath, blogPath, locale }) =>
`https://raw.githubusercontent.com/X-lab2017/open-digger-website/master/${locale === defaultLocale ? `${blogDirPath}/${blogPath}` : `i18n/${locale}/docusaurus-plugin-content-blog/${blogPath}`}`,
remarkPlugins: [remarkMath],
rehypePlugins: [rehypeKatex],
},
Expand Down
37 changes: 0 additions & 37 deletions src/theme/EditThisPage/index.tsx

This file was deleted.

0 comments on commit b6cf1cb

Please sign in to comment.