diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs
index be163f7..6bcfc33 100644
--- a/docs/astro.config.mjs
+++ b/docs/astro.config.mjs
@@ -147,12 +147,28 @@ export default defineConfig({
{
label: 'Default Reporter',
link: '/plugins/reporters/default/',
- badge: 'WIP',
},
{
label: 'Pino Reporter',
link: '/plugins/reporters/pino/',
- badge: 'WIP',
+ },
+ ],
+ },
+ {
+ label: 'Generator Plugins',
+ collapsed: true,
+ items: [
+ {
+ label: 'Introduction',
+ link: '/plugins/generators/',
+ },
+ {
+ label: 'JavaScript Generator',
+ link: '/plugins/generators/js/',
+ },
+ {
+ label: 'MySQL Generator',
+ link: '/plugins/generators/mysql/',
},
],
},
diff --git a/docs/src/content/docs/plugins/reporters/default.mdx b/docs/src/content/docs/plugins/reporters/default.mdx
index d710475..8a76ff2 100644
--- a/docs/src/content/docs/plugins/reporters/default.mdx
+++ b/docs/src/content/docs/plugins/reporters/default.mdx
@@ -2,4 +2,22 @@
title: Default Reporter
---
-Emigrate's default reporter.
+Emigrate's default reporter. The default reporter recognizes if the current terminal is an interactive shell (or if it's a CI environment), if that's the case _no_ animations will be shown.
+
+## Usage
+
+By default, Emigrate uses the default reporter.
+
+## Example output
+
+```bash
+
+Emigrate up v0.10.0 /Users/joakim/dev/@aboviq/test-emigrate (dry run)
+
+ 1 pending migrations to run
+
+ › migration-folder/20231218135441244_create_some_table.sql (pending)
+
+ 1 pending (1 total)
+
+```
diff --git a/docs/src/content/docs/plugins/reporters/pino.mdx b/docs/src/content/docs/plugins/reporters/pino.mdx
index fb74c4e..2574f6f 100644
--- a/docs/src/content/docs/plugins/reporters/pino.mdx
+++ b/docs/src/content/docs/plugins/reporters/pino.mdx
@@ -2,4 +2,61 @@
title: Pino Reporter
---
+import { Tabs, TabItem } from '@astrojs/starlight/components';
+
Emigrate's reporter that uses [Pino](https://getpino.io/#/) as the logger.
+
+This is useful in production environments where you want all logs as JSON, which is suitable for log aggregators/shippers.
+
+## Installation
+
+
+
+ ```bash
+ npm install @emigrate/reporter-pino
+ ```
+
+
+ ```bash
+ pnpm add @emigrate/reporter-pino
+ ```
+
+
+ ```bash
+ yarn add @emigrate/reporter-pino
+ ```
+
+
+
+## Usage
+
+:::tip
+The `@emigrate/reporter-` prefix is optional when using this reporter.
+:::
+
+### Via CLI
+
+```bash
+emigrate --reporter pino
+```
+
+See for instance the [Reporter Option](/commands/up/#-r---reporter-name) for the `up` command for more information.
+
+### Via configuration file
+
+```js title="emigrate.config.js" {2}
+export default {
+ reporter: 'pino',
+};
+```
+
+See [Reporter Configuration](/docs/configuration/#reporter) for more information.
+
+## Example output
+
+```json
+{"level":30,"time":1702907697803,"scope":"list","version":"0.10.0","name":"emigrate","parameters":{"cwd":"/your/project/dir","dry":false,"directory":"migration-folder"},"msg":"Emigrate \"list\" initialized"}
+{"level":30,"time":1702907697836,"scope":"list","version":"0.10.0","name":"emigrate","migrationCount":1,"msg":"1 pending migrations to run"}
+{"level":30,"time":1702907697836,"scope":"list","version":"0.10.0","name":"emigrate","migration":"migration-folder/20231218135441244_create_some_table.sql","msg":"20231218135441244_create_some_table.sql (pending)"}
+{"level":30,"time":1702907697836,"scope":"list","version":"0.10.0","name":"emigrate","result":{"failed":0,"done":0,"skipped":0,"pending":1,"total":1},"msg":"Emigrate \"list\" finished successfully"}
+```