The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
Change code block color scheme (#6945)
Jacob Lee73831ef3d804
diff --git a/docs/docs_skeleton/docusaurus.config.js b/docs/docs_skeleton/docusaurus.config.jsindex 45c42219e3..b4839d0a46 100644--- a/docs/docs_skeleton/docusaurus.config.js+++ b/docs/docs_skeleton/docusaurus.config.js@@ -7,7 +7,10 @@ const { ProvidePlugin } = require("webpack");const path = require("path");const examplesPath = path.resolve(__dirname, "..", "examples", "src");-const snippetsPath = path.resolve(__dirname, "..", "snippets")+const snippetsPath = path.resolve(__dirname, "..", "snippets");++const baseLightCodeBlockTheme = require("prism-react-renderer/themes/vsLight");+const baseDarkCodeBlockTheme = require("prism-react-renderer/themes/vsDark");/** @type {import('@docusaurus/types').Config} */const config = {@@ -127,8 +130,20 @@ const config = {},},prism: {- theme: require("prism-react-renderer/themes/vsLight"),- darkTheme: require("prism-react-renderer/themes/vsDark"),+ theme: {+ ...baseLightCodeBlockTheme,+ plain: {+ ...baseLightCodeBlockTheme.plain,+ backgroundColor: "#F5F5F5",+ },+ },+ darkTheme: {+ ...baseDarkCodeBlockTheme,+ plain: {+ ...baseDarkCodeBlockTheme.plain,+ backgroundColor: "#222222",+ },+ },},image: "img/parrot-chainlink-icon.png",navbar: {