🔧 chore(docs): update docusaurus.config.js to use monokai theme for code highlighting, show copy button, and display line numbers
📝 docs(sidebars.js): add "guidelines/custom-component" and "components/custom" to the sidebar for better navigation and discoverability
This commit is contained in:
parent
bb247af614
commit
ea8865dc18
2 changed files with 8 additions and 1 deletions
|
|
@ -27,7 +27,12 @@ module.exports = {
|
|||
/** @type {import('@docusaurus/preset-classic').Options} */
|
||||
({
|
||||
docs: {
|
||||
beforeDefaultRemarkPlugins: [[remarkCodeHike, { theme: "nord" }]],
|
||||
beforeDefaultRemarkPlugins: [
|
||||
[
|
||||
remarkCodeHike,
|
||||
{ theme: "monokai", showCopyButton: true, lineNumbers: true },
|
||||
],
|
||||
],
|
||||
routeBasePath: "/",
|
||||
sidebarPath: require.resolve("./sidebars.js"),
|
||||
path: "docs",
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ module.exports = {
|
|||
"guidelines/collection",
|
||||
"guidelines/prompt-customization",
|
||||
"guidelines/chat-interface",
|
||||
"guidelines/custom-component",
|
||||
],
|
||||
},
|
||||
{
|
||||
|
|
@ -30,6 +31,7 @@ module.exports = {
|
|||
items: [
|
||||
"components/agents",
|
||||
"components/chains",
|
||||
"components/custom",
|
||||
"components/embeddings",
|
||||
"components/llms",
|
||||
"components/loaders",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue