athomas / api.dart.dev

Dart API docs

Home Page:https://api.dart.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

api.dart.dev server

An App Engine server that fronts a Google Cloud Storage repository of Dart API docs.

See LICENSE.

Link structure

First, read how dartdoc structures links.

The api.dart.dev server prepends some structure to the links from dartdoc.

/             ==> /stable
/stable       ==> /<latest-stable-version>/index.html
/dev          ==> /latest-dev-version>/index.html
/be           ==> /<latest-bleeding-edge-version>/index.html

/stable/dart-async/Future-class.html ==> /<latest-stable-version>/dart-async/Future-class.html
(same for dev and be)

Deployment

  1. Install the Google Cloud SDK.

  2. Run gcloud auth login

  3. Run gcloud config set app/promote_by_default false to avoid accidentally deploying a test version.

  4. Run gcloud config set project dartlang-api

  5. Run gcloud app deploy -v name-of-new-version server/app.yaml and test

  6. Run gcloud app deploy -v name-of-new-version --promote server/app.yaml to make this version the default

About

Dart API docs

https://api.dart.dev

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 99.9%Language:HTML 0.1%