drift/docs
Simon Binder 7bb2b5a19d Update encryption example 2023-12-28 10:11:16 +01:00
..
assets Highlight Android workarounds more 2023-10-24 21:14:57 +02:00
lib Re-run generator 2023-12-12 12:15:17 +01:00
pages Update encryption example 2023-12-28 10:11:16 +01:00
templates Add aliases from old documentation URLs 2023-09-24 15:39:38 +02:00
test Update to lints 3.0.0 2023-11-16 21:25:21 +01:00
tool Update to lints 3.0.0 2023-11-16 21:25:21 +01:00
web
README.md
analysis_options.yaml
build.yaml
pubspec.yaml Update to lints 3.0.0 2023-11-16 21:25:21 +01:00
theme.yaml
website.yaml

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/snippets/migrations/schema_versions.dart
dart run drift_dev schema generate --data-classes --companions lib/snippets/migrations/exported_eschema/ lib/snippets/migrations/tests/generated_migrations/

dart run build_runner build --release --output web:out