drift/docs
Simon Binder c3d2065d96
Fix example snippet
2023-09-09 15:32:56 +02:00
..
assets/path_provider Extract snippets for documentation 2022-02-13 16:55:57 +01:00
lib Fix example snippet 2023-09-09 15:32:56 +02:00
pages Fix example snippet 2023-09-09 15:32:56 +02:00
templates Document #2537 better 2023-07-25 23:24:08 +02:00
test Add docs on schema reflection 2023-02-17 18:21:52 +01:00
tool Fix lints and warnings added in Dart 3.0 2023-05-12 22:42:21 +02:00
web Fix compatibility check in wasm website 2023-08-27 16:29:55 +02:00
README.md Expose `runMigrationSteps`, add docs 2023-08-27 15:31:48 +02:00
analysis_options.yaml Fix lints and warnings added in Dart 3.0 2023-05-12 22:42:21 +02:00
build.yaml Update new web documentation 2023-06-15 00:08:14 +02:00
pubspec.yaml Update to stable sqlite3 package 2023-06-17 22:19:31 +02:00
theme.yaml Add search to documentation 2021-08-09 18:32:09 +02:00
website.yaml Replace old website and repository links 2022-03-13 15:52:15 +01:00

README.md

Drift documentation

Welcome to the source of drift's documentation, live at drift.simonbinder.eu. We use a static site generator based on build_runner to build the documentation.

Running the website locally

For a fast edit-refresh cycle, run

dart run build_runner serve web:8080 --live-reload

Building the website

To build the website into a directory out, use:

dart run drift_dev schema steps lib/snippets/migrations/exported_eschema/ lib/database/schema_versions.dart
dart run build_runner build --release --output web:out