From 2cb5362ba793229d7df1907f009b0ef3fa8c932e Mon Sep 17 00:00:00 2001 From: Naomi Black Date: Tue, 21 Apr 2015 22:10:56 -0700 Subject: [PATCH] docs(devguide): missed a few things for draft 1 of dart example --- .gitignore | 1 + public/docs/dart/latest/guide.jade | 10 ++++++++++ public/docs/dart/latest/guide/setup.jade | 2 +- public/docs/dart/latest/index.jade | 9 +++++---- 4 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 public/docs/dart/latest/guide.jade diff --git a/.gitignore b/.gitignore index 9b0245f913..6a5519dd4c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules www .DS_Store +.idea diff --git a/public/docs/dart/latest/guide.jade b/public/docs/dart/latest/guide.jade new file mode 100644 index 0000000000..eacee6b0d6 --- /dev/null +++ b/public/docs/dart/latest/guide.jade @@ -0,0 +1,10 @@ +number = 1; +ul + for page, slug in public.docs[current.path[1]][current.path[2]].guide._data + + if slug != '_listtype' + url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + slug + ".html" + num = number++ + + li.c8 + != partial("../../../_includes/_hover-card", { number: num, name: page.title, url: url }) diff --git a/public/docs/dart/latest/guide/setup.jade b/public/docs/dart/latest/guide/setup.jade index 69aa6612c0..0fc474be22 100644 --- a/public/docs/dart/latest/guide/setup.jade +++ b/public/docs/dart/latest/guide/setup.jade @@ -1,6 +1,6 @@ .l-main-section h2#section-install-or-plunker Install Angular or Use Plunker - p There are five steps to create any Angular app: + p There are four steps to create any Angular app: ol li Create an entry point HTML file where users will start li Load the Angular library at the top of the file diff --git a/public/docs/dart/latest/index.jade b/public/docs/dart/latest/index.jade index 1e87776524..1c3957198c 100644 --- a/public/docs/dart/latest/index.jade +++ b/public/docs/dart/latest/index.jade @@ -10,13 +10,14 @@ div.c4 div.c4 - md-card + md-card.card md-card-content - h3.text-headline.text-uppercase Resources - p.text-body Preview of v2.0 + h3.text-headline.text-uppercase Guide + p.text-body Step by Step Guide footer - a(href="/docs/#{current.path[1]}/#{current.path[2]}/resources.html" class="button button-primary" md-button) View Resources + a(href="/docs/#{current.path[1]}/#{current.path[2]}/guide.html" class="button button-primary" md-button) View Guide + div.c4