Skip to content

Commit e10b3c9

Browse files
committed
Try amplify default
1 parent e26f5d9 commit e10b3c9

File tree

9 files changed

+42
-148
lines changed

9 files changed

+42
-148
lines changed

amplify.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
version: 1
2+
backend:
3+
phases:
4+
build:
5+
commands:
6+
- '# Execute Amplify CLI with the helper script'
7+
- amplifyPush --simple
8+
frontend:
9+
phases:
10+
preBuild:
11+
commands:
12+
- cd website
13+
- yarn install
14+
build:
15+
commands:
16+
- yarn build
17+
- cd ..
18+
artifacts:
19+
baseDirectory: website/build
20+
files:
21+
- '**/*'
22+
cache:
23+
paths:
24+
- node_modules/**/*

website/blog/2019-05-28-first-blog-post.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

website/blog/2019-05-29-long-blog-post.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

website/blog/2021-08-01-mdx-blog-post.mdx

Lines changed: 0 additions & 20 deletions
This file was deleted.
-93.9 KB
Binary file not shown.

website/blog/2021-08-26-welcome/index.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

website/docs/intro.md

Lines changed: 9 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -2,46 +2,19 @@
22
sidebar_position: 1
33
---
44

5-
# Tutorial Intro
5+
# SQLiter
66

7-
Let's discover **Docusaurus in less than 5 minutes**.
7+
Sqlite driver for use in Kotlin/Native targets.
88

9-
## Getting Started
9+
## Usage
1010

11-
Get started by **creating a new site**.
11+
SQLiter is a SQLite driver for Kotlin Native, currently Apple and Windows variants. SQLiter powers the SQLDelight library
12+
on native clients.
1213

13-
Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new)**.
14+
SQLiter is designed to serve as a driver to power user-friendly libraries rather than something to use directly but if you ever need it, you can find it on mavenCentral:
1415

15-
### What you'll need
16-
17-
- [Node.js](https://nodejs.org/en/download/) version 14 or above:
18-
- When installing Node.js, you are recommended to check all checkboxes related to dependencies.
19-
20-
## Generate a new site
21-
22-
Generate a new Docusaurus site using the **classic template**.
23-
24-
The classic template will automatically be added to your project after you run the command:
25-
26-
```bash
27-
npm init docusaurus@latest my-website classic
2816
```
29-
30-
You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.
31-
32-
The command also installs all necessary dependencies you need to run Docusaurus.
33-
34-
## Start your site
35-
36-
Run the development server:
37-
38-
```bash
39-
cd my-website
40-
npm run start
17+
dependencies {
18+
implementation("co.touchlab:sqliter-driver:$version")
19+
}
4120
```
42-
43-
The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.
44-
45-
The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.
46-
47-
Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes.

website/docusaurus.config.js

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ const config = {
99
title: 'My Site',
1010
tagline: 'Dinosaurs are cool',
1111
url: 'https://your-docusaurus-test-site.com',
12-
baseUrl: '/',
12+
baseUrl: '/SQLiter/',
1313
onBrokenLinks: 'throw',
1414
onBrokenMarkdownLinks: 'warn',
1515
favicon: 'img/favicon.ico',
1616

1717
// GitHub pages deployment config.
1818
// If you aren't using GitHub pages, you don't need these.
19-
organizationName: 'facebook', // Usually your GitHub org/user name.
20-
projectName: 'docusaurus', // Usually your repo name.
19+
organizationName: 'touchlab', // Usually your GitHub org/user name.
20+
projectName: 'SQLiter', // Usually your repo name.
2121

2222
// Even if you don't use internalization, you can use this field to set useful
2323
// metadata like html lang. For example, if your site is Chinese, you may want
@@ -37,15 +37,15 @@ const config = {
3737
// Please change this to your repo.
3838
// Remove this to remove the "edit this page" links.
3939
editUrl:
40-
'https://github.com/touchlab/Best-Practice-Docs/tree/main/',
40+
'https://github.com/touchlab/SQLiter/tree/main/',
4141
//'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
4242
},
4343
blog: {
4444
showReadingTime: true,
4545
// Please change this to your repo.
4646
// Remove this to remove the "edit this page" links.
4747
editUrl:
48-
'https://github.com/touchlab/Best-Practice-Docs/tree/main/',
48+
'https://github.com/touchlab/SQLiter/tree/main/',
4949
//'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
5050
},
5151
theme: {
@@ -59,7 +59,7 @@ const config = {
5959
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
6060
({
6161
navbar: {
62-
title: 'Engineering',
62+
title: 'SQLiter',
6363
style: 'dark',
6464
logo: {
6565
alt: 'Touchlab Logo',
@@ -118,7 +118,7 @@ const config = {
118118
},
119119
{
120120
label: 'GitHub',
121-
href: 'https://github.com/facebook/docusaurus',
121+
href: 'https://github.com/touchlab/SQLiter',
122122
},
123123
],
124124
},
@@ -130,10 +130,6 @@ const config = {
130130
darkTheme: darkCodeTheme,
131131
additionalLanguages: ['kotlin'],
132132
},
133-
announcementBar: {
134-
id: 'announcementBar-2', // Increment on change
135-
content: `⭐️ If you like Docusaurus, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/facebook/docusaurus">GitHub</a> and follow us on <a target="_blank" rel="noopener noreferrer" href="https://twitter.com/docusaurus">Twitter </a>`,
136-
},
137133
}),
138134
};
139135

website/trydeploy.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export GIT_USER=kpgalligan
2+
export GIT_PASS=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

0 commit comments

Comments
 (0)