Start working on docs site.
This commit is contained in:
12
docs/src/_includes/layout.njk
Normal file
12
docs/src/_includes/layout.njk
Normal file
@@ -0,0 +1,12 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ title }}</title>
|
||||
<meta name="description" content="{{ description | join(' ') }}"/>
|
||||
</head>
|
||||
<body>
|
||||
<script type="module" src="/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
65
docs/src/index.tce
Normal file
65
docs/src/index.tce
Normal file
@@ -0,0 +1,65 @@
|
||||
layout layout.njk
|
||||
title Terrace - A simple structured data language
|
||||
description
|
||||
A simple structured data syntax for configuration, content authoring, and DSLs.
|
||||
Terrace gets out of your way to let you just write
|
||||
|
||||
section light
|
||||
class flex gap-16
|
||||
|
||||
div
|
||||
class flex flex-column gap-16
|
||||
|
||||
logo
|
||||
|
||||
markdown
|
||||
A simple structured data syntax for
|
||||
- **Configuration**
|
||||
- **Content authoring**
|
||||
- **DSLs**
|
||||
Terrace gets out of your way to let you
|
||||
- **just write**
|
||||
|
||||
code-example
|
||||
terrace
|
||||
title Terrace - A simple structured data language
|
||||
description
|
||||
A simple structured data syntax for configuration, content authoring, and DSLs.
|
||||
Terrace gets out of your way to let you just write
|
||||
markdown
|
||||
A simple structured data syntax for
|
||||
- **Configuration**
|
||||
- **Content authoring**
|
||||
- **DSLs**
|
||||
Terrace gets out of your way to let you
|
||||
- **just write**
|
||||
json
|
||||
{
|
||||
"title": "Terrace - A simple structured data language",
|
||||
"description": "A simple structured data syntax for configuration, content authoring, and DSLs.\nTerrace gets out of your way to let you just write",
|
||||
"markdown": "A simple structured data syntax for\n - **Configuration**\n - **Content authoring**\n - **DSLs**\nTerrace gets out of your way to let you\n - **just write**"
|
||||
}
|
||||
yaml
|
||||
title: Terrace - A simple structured data language
|
||||
description: |
|
||||
A simple structured data syntax for configuration, content authoring, and DSLs.
|
||||
Terrace gets out of your way to let you just write
|
||||
markdown: |
|
||||
A simple structured data syntax for
|
||||
- **Configuration**
|
||||
- **Content authoring**
|
||||
- **DSLs**
|
||||
Terrace gets out of your way to let you
|
||||
- **just write**
|
||||
toml
|
||||
title = "Terrace - A simple structured data language"
|
||||
description = """
|
||||
A simple structured data syntax for configuration, content authoring, and DSLs.
|
||||
Terrace gets out of your way to let you just write"""
|
||||
markdown = """
|
||||
A simple structured data syntax for
|
||||
- **Configuration**
|
||||
- **Content authoring**
|
||||
- **DSLs**
|
||||
Terrace gets out of your way to let you
|
||||
- **just write**"""
|
||||
1
docs/src/main.js
Normal file
1
docs/src/main.js
Normal file
@@ -0,0 +1 @@
|
||||
import './styles/main.css'
|
||||
3
docs/src/styles/main.css
Normal file
3
docs/src/styles/main.css
Normal file
@@ -0,0 +1,3 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
Reference in New Issue
Block a user