diff --git a/docusaurus.config.js b/docusaurus.config.js index e87ae35..a61fe68 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -6,6 +6,12 @@ module.exports = { baseUrl: "/", favicon: "images/favicon.ico", themeConfig: { + metadata: [ + { + name: "keywords", + content: "typescript-to-lua, typescript to lua, tstl, typescript, lua, transpiler, compiler", + }, + ], navbar: { title: "TypeScriptToLua", logo: { src: "images/logo.png" }, diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 0b5951b..5f7a0a5 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,3 +1,4 @@ +import Head from "@docusaurus/Head"; import Link from "@docusaurus/Link"; import useBaseUrl from "@docusaurus/useBaseUrl"; import CodeBlock from "@theme/CodeBlock"; @@ -80,6 +81,16 @@ function Feature({ title, description }: Feature) { export default function Home() { return ( + + + +

Type @@ -122,6 +133,25 @@ export default function Home() { ))} +
+
+
+

Getting started

+

+ Getting started with TSTL is easy, simply install typescript-to-lua from npm: +

+ $ npm install -D typescript typescript-to-lua +

+ You can now run tstl via command line, similar to tsc +

+ $ npx tstl +

+ For more information, see{" "} + tstl Getting Started documentation. +

+
+
+
);