Skip to content

Commit

Permalink
1. fix github codeblock.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ouch1978 committed Apr 14, 2024
1 parent 5876656 commit a904af1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ module.exports = {
},
]
],
themes: ['@saucelabs/theme-github-codeblock'],
themes: ['docusaurus-theme-github-codeblock'],
themeConfig: {
tableOfContents: {
minHeadingLevel: 2,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
"@fortawesome/react-fontawesome": "^0.1.17",
"@giscus/react": "^2.3.0",
"@mdx-js/react": "^3.0.0",
"@saucelabs/theme-github-codeblock": "^0.1.1",
"@svgr/webpack": "^6.2.1",
"bootstrap": "4.6.0",
"cheerio-select": "^1.4.0",
"clsx": "^1.1.1",
"dayjs": "^1.10.7",
"docusaurus-plugin-image-zoom": "^1.0.1",
"docusaurus-theme-github-codeblock": "^2.0.2",
"docusaurus2-dotenv": "^1.4.0",
"entities": "^2.2.0",
"file-loader": "^6.2.0",
Expand Down
20 changes: 11 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2225,7 +2225,7 @@ __metadata:
languageName: node
linkType: hard

"@docusaurus/types@npm:3.2.1":
"@docusaurus/types@npm:3.2.1, @docusaurus/types@npm:^3.0.0":
version: 3.2.1
resolution: "@docusaurus/types@npm:3.2.1"
dependencies:
Expand Down Expand Up @@ -2764,13 +2764,6 @@ __metadata:
languageName: node
linkType: hard

"@saucelabs/theme-github-codeblock@npm:^0.1.1":
version: 0.1.5
resolution: "@saucelabs/theme-github-codeblock@npm:0.1.5"
checksum: 10c0/d3b9a8510b020b5ccb6e37dfc9bf5b60faffd4c93f0da8cd8eae052a38c4cd8514596c7bd88033ed294a8654e6a43508f85a8c47428268c2a0dab4646dad69e7
languageName: node
linkType: hard

"@sideway/address@npm:^4.1.3":
version: 4.1.4
resolution: "@sideway/address@npm:4.1.4"
Expand Down Expand Up @@ -6636,6 +6629,15 @@ __metadata:
languageName: node
linkType: hard

"docusaurus-theme-github-codeblock@npm:^2.0.2":
version: 2.0.2
resolution: "docusaurus-theme-github-codeblock@npm:2.0.2"
dependencies:
"@docusaurus/types": "npm:^3.0.0"
checksum: 10c0/9de760df4b3811f219eecbe877fbc574685f8c01d8ad6547dea657c91c06b09cc16220491470ea7d913c93bfaa0464b7a0ffef4e49cf884efc3c86fe9013dd8c
languageName: node
linkType: hard

"docusaurus2-dotenv@npm:^1.4.0":
version: 1.4.0
resolution: "docusaurus2-dotenv@npm:1.4.0"
Expand Down Expand Up @@ -12042,7 +12044,6 @@ __metadata:
"@fortawesome/react-fontawesome": "npm:^0.1.17"
"@giscus/react": "npm:^2.3.0"
"@mdx-js/react": "npm:^3.0.0"
"@saucelabs/theme-github-codeblock": "npm:^0.1.1"
"@svgr/webpack": "npm:^6.2.1"
"@types/react": "npm:^18.2.29"
"@types/react-helmet": "npm:^6.1.2"
Expand All @@ -12054,6 +12055,7 @@ __metadata:
clsx: "npm:^1.1.1"
dayjs: "npm:^1.10.7"
docusaurus-plugin-image-zoom: "npm:^1.0.1"
docusaurus-theme-github-codeblock: "npm:^2.0.2"
docusaurus2-dotenv: "npm:^1.4.0"
entities: "npm:^2.2.0"
eslint: "npm:^8.21.0"
Expand Down

0 comments on commit a904af1

Please sign in to comment.