Skip to content

Commit 102ac4e

Browse files
committed
Update packages and add footer because it is required now by docusaurus
1 parent deeb875 commit 102ac4e

File tree

3 files changed

+7953
-6921
lines changed

3 files changed

+7953
-6921
lines changed

docusaurus.config.js

+50-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/** @type {import('@docusaurus/types').DocusaurusConfig} */
22
module.exports = {
33
title: "TypeScriptToLua",
4-
// TODO: Remove
5-
tagline: "",
4+
organizationName: "TypeScriptToLua",
65
url: "https://typescripttolua.github.io",
76
baseUrl: "/",
87
favicon: "images/favicon.ico",
@@ -17,6 +16,55 @@ module.exports = {
1716
{ href: "https://github.com/TypeScriptToLua/TypeScriptToLua", label: "GitHub", position: "right" },
1817
],
1918
},
19+
footer: {
20+
logo: {
21+
alt: "TypescriptToLua Logo",
22+
src: "images/logo.png",
23+
href: "https://github.com/TypescriptToLua",
24+
},
25+
links: [
26+
{
27+
title: "Docs",
28+
items: [
29+
{
30+
label: "Getting Started",
31+
to: "docs/getting-started",
32+
},
33+
{
34+
label: "Configuration",
35+
to: "docs/configuration",
36+
},
37+
{
38+
label: "Advanced",
39+
to: "docs/advanced/writing-declarations",
40+
},
41+
],
42+
},
43+
{
44+
title: "Community",
45+
items: [
46+
{
47+
label: "Discord",
48+
href: "https://discord.gg/BWAq58Y",
49+
},
50+
],
51+
},
52+
{
53+
title: "More",
54+
items: [
55+
{
56+
label: "Github",
57+
href: "https://github.com/TypeScriptToLua",
58+
},
59+
{
60+
label: "Playground",
61+
to: "play",
62+
},
63+
],
64+
},
65+
],
66+
copyright: `Copyright © ${new Date().getFullYear()} TypescriptToLua Contributors`,
67+
},
2068
prism: {
2169
additionalLanguages: ["lua"],
2270
theme: require("prism-react-renderer/themes/github"),

0 commit comments

Comments
 (0)