dartdoc 0.0.1+6

  • README.md
  • Installing
  • Versions
  • --

dartdoc #

A documentation generator for Dart. This tool produces static HTML files, produced from Dart source code.

Build Status Coverage Status

Note: This tool is currently in alpha stage.

Installing dartdoc #

Run pub global activate dartdoc to install the dartdoc tool.

Running dartdoc #

Generating documentation for a package #

Run dartdoc from the root directory of package. By default, the documentation is output to the docs directory. You can use --output to specify the output directory.

Generating documentation for Dart SDK #

Run dartdoc with the following command line arguments:

  • --dart-sdk /pathTo/dart-sdk
  • --sdk-docs
  • --sdk-readme /pathTo/sdk_readme.md

The sdk-readme is found in the SDK source repo. Specifically, $DART_SDK_SOURCE/dart/sdk/api_readme.md. In the future, this file might be included in an SDK distribution (see https://code.google.com/p/dart/issues/detail?id=23203).

FAQ #

What about docgen/dartdocgen/dartdoc-viewer? #

This new tool intends to replace our existing set of API documentation tools. We'll take the best ideas and implementations from our existing doc tools and fold them into this tool.

Can I help? #

Yes! Start by using the tool and filing issues and requests. If you want to contribute, check out the issue tracker and see if there's an issue that you're passionate about. If you want to add a new feature that's not yet in the issue tracker, start by opening an issue. Thanks!

Issues and bugs #

Please file reports on the GitHub Issue Tracker.

License #

You can view our license here.

Use this package as an executable

1. Install it

You can install the package from the command line:


$ pub global activate dartdoc

2. Use it

The package has the following executables:


$ dartdoc

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  dartdoc: ^0.0.1+6

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:dartdoc/dartdoc.dart';
  
Version Uploaded Documentation Archive
0.28.3+2 Apr 16, 2019 Go to the documentation of dartdoc 0.28.3+2 Download dartdoc 0.28.3+2 archive
0.28.3+1 Apr 5, 2019 Go to the documentation of dartdoc 0.28.3+1 Download dartdoc 0.28.3+1 archive
0.28.3 Apr 3, 2019 Go to the documentation of dartdoc 0.28.3 Download dartdoc 0.28.3 archive
0.28.2 Feb 14, 2019 Go to the documentation of dartdoc 0.28.2 Download dartdoc 0.28.2 archive
0.28.1+2 Feb 5, 2019 Go to the documentation of dartdoc 0.28.1+2 Download dartdoc 0.28.1+2 archive
0.28.1+1 Feb 4, 2019 Go to the documentation of dartdoc 0.28.1+1 Download dartdoc 0.28.1+1 archive
0.28.1 Feb 4, 2019 Go to the documentation of dartdoc 0.28.1 Download dartdoc 0.28.1 archive
0.28.0 Jan 14, 2019 Go to the documentation of dartdoc 0.28.0 Download dartdoc 0.28.0 archive
0.27.0 Jan 3, 2019 Go to the documentation of dartdoc 0.27.0 Download dartdoc 0.27.0 archive
0.26.1 Dec 13, 2018 Go to the documentation of dartdoc 0.26.1 Download dartdoc 0.26.1 archive

All 114 versions...

Awaiting analysis to complete.