Skip to content

Commit

Permalink
Upgraded to docusaurus v3 (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishr committed Jan 13, 2024
1 parent 76d6875 commit adb31a7
Show file tree
Hide file tree
Showing 4 changed files with 5,077 additions and 3,152 deletions.
4 changes: 2 additions & 2 deletions website/docs/middleware/jaeger.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,5 +173,5 @@ func main() {

## References

- Opentracing Library: <https://github.com/opentracing/opentracing-go>
- Jaeger configuration: <https://github.com/jaegertracing/jaeger-client-go#environment-variables>
- [https://github.com/opentracing/opentracing-go](Opentracing Library)
- [https://github.com/jaegertracing/jaeger-client-go#environment-variables](Jaeger configuration)
9 changes: 5 additions & 4 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
const {themes} = require('prism-react-renderer');
const lightTheme = themes.github;
const darkTheme = themes.dracula;

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down Expand Up @@ -135,8 +136,8 @@ const config = {
copyright: `Copyright © ${new Date().getFullYear()} Echo, LabStack LLC.`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
theme: lightTheme,
darkTheme: darkTheme,
},
codeblock: {
showGithubLink: false,
Expand Down
Loading

0 comments on commit adb31a7

Please sign in to comment.