Skip to content

Commit

Permalink
Added edit link on all pages
Browse files Browse the repository at this point in the history
  • Loading branch information
webilhan committed Sep 29, 2023
1 parent 69288cc commit 4d338cf
Show file tree
Hide file tree
Showing 3 changed files with 435 additions and 4,693 deletions.
4 changes: 3 additions & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const config = {
url: 'https://uncefact.github.io',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/project-crm/',
baseUrl: '/',

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
Expand All @@ -40,6 +40,8 @@ const config = {
docs: {
sidebarPath: require.resolve('./sidebars.js'),
routeBasePath: '/docs',
editUrl: ({versionDocsDirPath, docPath}) =>
`https://github.com/uncefact/project-crm/edit/main/website/${versionDocsDirPath}/${docPath}`,
},
blog: false,
theme: {
Expand Down
8 changes: 5 additions & 3 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "2.4.1",
"@docusaurus/preset-classic": "2.4.1",
"@docusaurus/core": "^2.4.3",
"@docusaurus/module-type-aliases": "^2.4.3",
"@docusaurus/plugin-content-docs": "^2.4.3",
"@docusaurus/preset-classic": "^2.4.3",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"docusaurus-plugin-sass": "^0.2.3",
Expand All @@ -26,7 +28,7 @@
"sass": "^1.63.5"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "2.4.1"
"@docusaurus/module-type-aliases": "2.4.3"
},
"browserslist": {
"production": [
Expand Down
Loading

0 comments on commit 4d338cf

Please sign in to comment.