ghpages_generator 0.3.0
ghpages_generator: ^0.3.0 copied to clipboard
This package allows to generate gh-pages branch for Github with dartdoc and examples
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate ghpages_generatorUse it
The package has the following executables:
$ generate_ghpages
$ generate_ghpages_with_web
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add ghpages_generatorThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
ghpages_generator: ^0.3.0Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ghpages_generator/ghpages_generator.dart';