Skip to content

Commit

Permalink
docs: update dependencies and fix docusaurus v3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
tmc committed Feb 6, 2025
1 parent 71ac7d1 commit 14276aa
Show file tree
Hide file tree
Showing 5 changed files with 20,640 additions and 13,428 deletions.
2 changes: 1 addition & 1 deletion docs/docs/modules/agents/executor/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ sidebar_position: 2

import CodeBlock from "@theme/CodeBlock";
import Example from "@examples/mrkl-agent-example/mrkl_agent.go";
import DocCardList from "@theme/DocCardList";

# Agent Executors

Expand All @@ -18,5 +19,4 @@ To make agents more powerful we need to make them iterative, ie. call the model
An example that initialize a MRKL (Modular Reasoning, Knowledge and Language, pronounced "miracle") agent executor.
<CodeBlock language="go">{Example}</CodeBlock>

import DocCardList from "@theme/DocCardList";
<DocCardList />
6 changes: 4 additions & 2 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// eslint-disable-next-line import/no-extraneous-dependencies
const { ProvidePlugin } = require("webpack");
const path = require("path");
const lightCodeTheme = require('prism-react-renderer').themes.github;
const darkCodeTheme = require('prism-react-renderer').themes.dracula;

const examplesPath = path.resolve(__dirname, "..", "examples");

Expand Down Expand Up @@ -124,8 +126,8 @@ const config = {
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
prism: {
theme: require("prism-react-renderer/themes/vsLight"),
darkTheme: require("prism-react-renderer/themes/vsDark"),
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
image: "img/parrot-chainlink-icon.png",
navbar: {
Expand Down
Loading

0 comments on commit 14276aa

Please sign in to comment.