ghpages_generator_2 0.3.2 ghpages_generator_2: ^0.3.2 copied to clipboard
Forked, 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_generator_2
Use 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_generator_2
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
ghpages_generator_2: ^0.3.2
Alternatively, 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_2/ghpages_generator.dart';
import 'package:ghpages_generator_2/index_generator.dart';