MCPcopy Create free account
hub / github.com/LearnPrompt/LearnPrompt / createConfig

Function createConfig

docusaurus.config.js:5–344  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3const math = require("remark-math");
4
5async function createConfig() {
6 const katex = (await import("rehype-katex")).default;
7 return {
8 title: "Learn Prompt: Your CookBook to Communicating with AI",
9 tagline:
10 "A Free, Open Source Course on Communicating with Artificial Intelligence",
11 url: "https://www.learnprompt.pro",
12 baseUrl: "/",
13 onBrokenLinks: "throw",
14 onBrokenMarkdownLinks: "warn",
15 favicon: "img/favicon.ico",
16 organizationName: "aiwarts",
17 projectName: "promptgineering",
18 deploymentBranch: "gh-pages",
19 trailingSlash: true,
20 i18n: {
21 defaultLocale: "en",
22 locales: [
23 "en",
24 "zh-Hans",
25 ],
26 localeConfigs: {
27 zh: {
28 htmlLang: 'zh-Hans',
29 },
30 en: {
31 htmlLang: 'en-GB',
32 },
33 },
34 },
35 scripts: [
36 {
37 src: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7658394488756677',
38 async: true,
39 crossorigin: 'anonymous',
40 },
41 {
42 src:
43 "https://tag.clearbitscripts.com/v1/pk_5621ff511ea83a6ec015bee0a0b5dd79/tags.js",
44 async: true,
45 },
46 {
47 src: '/js/detectLanguage.js',
48 async: true,
49 },
50 ],
51 plugins: [
52 '@docusaurus/plugin-ideal-image',
53 ['mindmap', {}],
54 [
55 "@docusaurus/plugin-client-redirects",
56 {
57 redirects: [
58 {
59 to: "/blog",
60 from: "/daily",
61 },
62 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected