From 5123ea29b3f903121b04c48d0d8426c4beea21dc Mon Sep 17 00:00:00 2001 From: Alex Wolfe Date: Wed, 4 Mar 2015 19:33:12 -0800 Subject: [PATCH] fixed duplication for help --- public/docs/_includes/_help.jade | 41 ++++++++++++++++++++++++++++ public/docs/dart/latest/help.jade | 44 +----------------------------- public/docs/js/latest/help.jade | 45 +------------------------------ 3 files changed, 43 insertions(+), 87 deletions(-) create mode 100644 public/docs/_includes/_help.jade diff --git a/public/docs/_includes/_help.jade b/public/docs/_includes/_help.jade new file mode 100644 index 0000000000..780ce40e6e --- /dev/null +++ b/public/docs/_includes/_help.jade @@ -0,0 +1,41 @@ +.l-main-section + h2 Get Help Using Angular + + p. + We have an incredible community of developers who are passionate about solving problems. + We recommend some of the following methods to get help with Angular. + + + .l-sub-section + h3 Angular Google Group + + ol + li. + Search the archive first. + It's likely that your question has already been answered. + li. + To avoid the spam moderation queue, + don't include code directly in your email. (See #3) + li. + Link to a live code example that demonstrates your problem or question, + so you'll get an answer faster. + Use this template. + li. + If you get help, help others. Good karma rulez! + + a(href="https://groups.google.com/forum/#!forum/angular" class="button button-primary" md-button) View the Google Group + + .l-sub-section + h3 Angular Chat Room + + p Talk in real time with other Angular developers. + + a(href="http://webchat.freenode.net/?channels=angularjs&uio=d4" class="button button-primary" md-button) View the Chat Room + + + .l-sub-section + h3 Report an Issue + + p If your run into an issue or have a feature request, you can create a new issue on our github repostitory. + + a(href="https://github.com/angular/angular/issues" class="button button-primary" md-button) Report an Issue \ No newline at end of file diff --git a/public/docs/dart/latest/help.jade b/public/docs/dart/latest/help.jade index 595ac289c0..8421f25772 100644 --- a/public/docs/dart/latest/help.jade +++ b/public/docs/dart/latest/help.jade @@ -1,43 +1 @@ -// TODO: Either make this import the same content that js/latest/help.jade has -// OR make it meaningfully different. (There's a lot of duplication right now.) - -.l-main-section - h2 Get Help Using Angular - - p. - We have an incredible community of developers who are passionate about solving problems. - We recommend some of the following methods to get help with Angular. - - - .l-sub-section - h3 Angular Google Group - - ol - li. - Search the archive first. - It's likely that your question has already been answered. - li. - To avoid the spam moderation queue, - don't include code directly in your email. (See #3) - li. - Link to a live code example that demonstrates your problem or question, - so you'll get an answer faster. - li. - If you get help, help others. Good karma rulez! - - a(href="https://groups.google.com/forum/#!forum/angular" class="button button-primary" md-button) View the Google Group - - .l-sub-section - h3 Angular Chat Room - - p Talk in real time with other Angular developers. - - a(href="http://webchat.freenode.net/?channels=angularjs&uio=d4" class="button button-primary" md-button) View the Chat Room - - - .l-sub-section - h3 Report an Issue - - p If your run into an issue or have a feature request, you can create a new issue on our github repostitory. - - a(href="https://github.com/angular/angular/issues" class="button button-primary" md-button) Report an Issue +!= partial("../../_includes/_help") \ No newline at end of file diff --git a/public/docs/js/latest/help.jade b/public/docs/js/latest/help.jade index 8708b7c56a..8421f25772 100644 --- a/public/docs/js/latest/help.jade +++ b/public/docs/js/latest/help.jade @@ -1,44 +1 @@ -// TODO: Either make this import the same content that dart/latest/help.jade has -// OR make it meaningfully different. (Only a couple of things differ now.) - -.l-main-section - h2 Get Help Using Angular - - p. - We have an incredible community of developers who are passionate about solving problems. - We recommend some of the following methods to get help with Angular. - - - .l-sub-section - h3 Angular Google Group - - ol - li. - Search the archive first. - It's likely that your question has already been answered. - li. - To avoid the spam moderation queue, - don't include code directly in your email. (See #3) - li. - Link to a live code example that demonstrates your problem or question, - so you'll get an answer faster. - Use this template. - li. - If you get help, help others. Good karma rulez! - - a(href="https://groups.google.com/forum/#!forum/angular" class="button button-primary" md-button) View the Google Group - - .l-sub-section - h3 Angular Chat Room - - p Talk in real time with other Angular developers. - - a(href="http://webchat.freenode.net/?channels=angularjs&uio=d4" class="button button-primary" md-button) View the Chat Room - - - .l-sub-section - h3 Report an Issue - - p If your run into an issue or have a feature request, you can create a new issue on our github repostitory. - - a(href="https://github.com/angular/angular/issues" class="button button-primary" md-button) Report an Issue +!= partial("../../_includes/_help") \ No newline at end of file