Skip to content

Commit 6b992a5

Browse files
authored
Add Docusaurus and use it for pages (#5)
* Add Docusaurus and use it for pages * Add `.docusaurus` dir to prettierignore * Use lighter gray for accent * Add `Try Online` button * `AST` -> `Lua AST`
1 parent 820502f commit 6b992a5

Some content is hidden

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

47 files changed

+12048
-4770
lines changed

.github/workflows/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ jobs:
2020
- uses: peaceiris/actions-gh-pages@v3
2121
with:
2222
github_token: ${{ secrets.GITHUB_TOKEN }}
23-
publish_dir: dist
23+
publish_dir: build
2424
publish_branch: master

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules
2-
/dist
2+
.docusaurus
3+
/build

.prettierignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
/dist
1+
.docusaurus
2+
/build

README.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Website
2+
3+
This website is built using [Docusaurus 2](https://v2.docusaurus.io/), a modern static website generator.
4+
5+
### Installation
6+
7+
```
8+
$ npm install
9+
```
10+
11+
### Local Development
12+
13+
```
14+
$ npm run start
15+
```
16+
17+
This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.
-14.7 KB
Binary file not shown.
-36.4 KB
Binary file not shown.
-14 KB
Binary file not shown.

assets/images/favicons/browserconfig.xml

-9
This file was deleted.
-3.54 KB
Binary file not shown.
-4.16 KB
Binary file not shown.
-8.59 KB
Binary file not shown.

assets/images/favicons/safari-pinned-tab.svg

-93
This file was deleted.

assets/images/favicons/site.webmanifest

-19
This file was deleted.

assets/images/lua_logo.svg

-13
This file was deleted.

assets/images/lua_logo_edit.svg

-16
This file was deleted.

assets/images/typescript_logo.svg

-1
This file was deleted.

assets/layout/landing.html

-78
This file was deleted.

assets/layout/play.html

-31
This file was deleted.

assets/layout/template.html

-19
This file was deleted.

assets/styles/_base.scss

-22
This file was deleted.

0 commit comments

Comments
 (0)