Skip to content

Commit fe018ed

Browse files
committed
Merge branch 'main' of https://github.com/madjin/eliza into HEAD
2 parents c90dc39 + 7ee8ad9 commit fe018ed

File tree

100 files changed

+1495
-101
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+1495
-101
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/api/guides/advanced.md

docs/api/guides/basic-usage.md

docs/api/guides/configuration.md

docs/api/installation.md

File renamed without changes.

docs/api/intro.md

docs/api/quickstart.md

File renamed without changes.
File renamed without changes.

docs/backup_docusaurus.config.js

+129
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
// @ts-check
2+
// `@type` JSDoc annotations allow editor autocompletion and type checking
3+
// (when paired with `@ts-check`).
4+
// There are various equivalent ways to declare your Docusaurus config.
5+
// See: https://docusaurus.io/docs/api/docusaurus-config
6+
7+
import { themes as prismThemes } from "prism-react-renderer";
8+
9+
/** @type {import('@docusaurus/types').Config} */
10+
const config = {
11+
title: "eliza",
12+
tagline: "The flexible, scalable AI agent for everyone",
13+
favicon: "img/favicon.ico",
14+
15+
// Set the production url of your site here
16+
url: "https://docs.ai16z.ai",
17+
// Set the /<baseUrl>/ pathname under which your site is served
18+
// For GitHub pages deployment, it is often '/<projectName>/'
19+
baseUrl: "/",
20+
21+
// GitHub pages deployment config.
22+
// If you aren't using GitHub pages, you don't need these.
23+
organizationName: "ai16z", // Usually your GitHub org/user name.
24+
projectName: "eliza", // Usually your repo name.
25+
26+
onBrokenLinks: "throw",
27+
onBrokenMarkdownLinks: "warn",
28+
29+
// Even if you don't use internationalization, you can use this field to set
30+
// useful metadata like html lang. For example, if your site is Chinese, you
31+
// may want to replace "en" with "zh-Hans".
32+
i18n: {
33+
defaultLocale: "en",
34+
locales: ["en"],
35+
},
36+
37+
plugins: [
38+
[
39+
"docusaurus-plugin-typedoc",
40+
41+
// Plugin / TypeDoc options
42+
{
43+
entryPoints: ["../src/index.ts"],
44+
tsconfig: "../tsconfig.json",
45+
out: "./docs",
46+
},
47+
],
48+
],
49+
50+
presets: [
51+
[
52+
"classic",
53+
/** @type {import('@docusaurus/preset-classic').Options} */
54+
({
55+
docs: {
56+
sidebarPath: "./sidebars.js",
57+
// Please change this to your repo.
58+
// Remove this to remove the "edit this page" links.
59+
editUrl: "https://github.com/ai16z/eliza/tree/main/docs/",
60+
},
61+
theme: {
62+
customCss: "./src/css/custom.css",
63+
},
64+
}),
65+
],
66+
],
67+
68+
themeConfig:
69+
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
70+
({
71+
// Replace with your project's social card
72+
image: "img/docusaurus-social-card.jpg",
73+
navbar: {
74+
title: "eliza",
75+
items: [
76+
{
77+
type: "docSidebar",
78+
sidebarId: "tutorialSidebar",
79+
position: "left",
80+
label: "API Documentation",
81+
},
82+
{
83+
href: "https://github.com/ai16z/eliza",
84+
label: "GitHub",
85+
position: "right",
86+
},
87+
],
88+
},
89+
footer: {
90+
style: "dark",
91+
links: [
92+
{
93+
title: "Docs",
94+
items: [],
95+
},
96+
97+
{
98+
title: "Community",
99+
items: [
100+
{
101+
label: "Discord",
102+
href: "https://discord.gg/xe7HtWru",
103+
},
104+
{
105+
label: "Twitter",
106+
href: "https://twitter.com/pmairca",
107+
},
108+
],
109+
},
110+
{
111+
title: "More",
112+
items: [
113+
{
114+
label: "GitHub",
115+
href: "https://github.com/ai16z/eliza",
116+
},
117+
],
118+
},
119+
],
120+
copyright: `Copyright © ${new Date().getFullYear()} ai16z.ai`,
121+
},
122+
prism: {
123+
theme: prismThemes.github,
124+
darkTheme: prismThemes.dracula,
125+
},
126+
}),
127+
};
128+
129+
export default config;

docs/backup_sidebars.js

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/**
2+
* Creating a sidebar enables you to:
3+
- create an ordered group of docs
4+
- render a sidebar for each doc of that group
5+
- provide next/previous navigation
6+
7+
The sidebars can be generated from the filesystem, or explicitly defined here.
8+
9+
Create as many sidebars as you want.
10+
*/
11+
12+
// @ts-check
13+
14+
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
15+
const sidebars = {
16+
// By default, Docusaurus generates a sidebar from the docs folder structure
17+
tutorialSidebar: [{ type: "autogenerated", dirName: "." }],
18+
};
19+
20+
export default sidebars;

docs/docs/guides/advanced.md

docs/docs/guides/basic-usage.md

docs/docs/guides/characterfile.md

+194

docs/docs/guides/configuration.md

0 commit comments

Comments
 (0)