bd6dbd1d9b1fc8a523aaf588492eb3ed4113b49d

Author
Marc Cornellà <marc.cornella@live.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

Merge pull request #4866 from willmendesneto/master

Fix bug in compass docs search

Diff

 1diff --git a/plugins/frontend-search/README.md b/plugins/frontend-search/README.md
 2index d0bc5589f742e2dd3081242f2811b69d0571bff4..4d956e38f8dc498a5596aa2dd0013085d54c8100 100644
 3--- a/plugins/frontend-search/README.md
 4+++ b/plugins/frontend-search/README.md
 5@@ -38,7 +38,7 @@ Available search contexts are:
 6 | bootsnipp     | `http://bootsnipp.com/search?q=`                                         |
 7 | caniuse       | `http://caniuse.com/#search=`                                            |
 8 | codepen       | `http://codepen.io/search?q=`                                            |
 9-| compass       | `http://compass-style.org/search?q=`                                     |
10+| compassdoc    | `http://compass-style.org/search?q=`                                     |
11 | cssflow       | `http://www.cssflow.com/search?q=`                                       |
12 | dartlang      | `https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart:`  |
13 | emberjs       | `http://emberjs.com/api/#stp=1&stq=`                                     |
14diff --git a/plugins/frontend-search/_frontend-search.sh b/plugins/frontend-search/_frontend-search.sh
15index b12f829a1c58e52388c7a613b9569ec7406ce3cf..9aad76f762d6c6201cb65d8b66479588f19fe944 100644
16--- a/plugins/frontend-search/_frontend-search.sh
17+++ b/plugins/frontend-search/_frontend-search.sh
18@@ -19,7 +19,7 @@ function _frontend() {
19   commands=(
20     'jquery: Search in jQuery website'
21     'mdn: Search in MDN website'
22-    'compass: Search in COMPASS website'
23+    'compassdoc: Search in COMPASS website'
24     'html5please: Search in HTML5 Please website'
25     'caniuse: Search in Can I Use website'
26     'aurajs: Search in AuraJs website'
27@@ -57,7 +57,7 @@ function _frontend() {
28         mdn)
29           _describe -t points "Warp points" frontend_points && ret=0
30           ;;
31-        compass)
32+        compassdoc)
33           _describe -t points "Warp points" frontend_points && ret=0
34           ;;
35         html5please)
36diff --git a/plugins/frontend-search/frontend-search.plugin.zsh b/plugins/frontend-search/frontend-search.plugin.zsh
37index 2fd5416b3c032aaab73f1ea780aa717881ddb680..3fd49ab8e8a57a15824fca3b52c5967c7e452ee3 100644
38--- a/plugins/frontend-search/frontend-search.plugin.zsh
39+++ b/plugins/frontend-search/frontend-search.plugin.zsh
40@@ -4,7 +4,7 @@ alias bem='frontend bem'
41 alias bootsnipp='frontend bootsnipp'
42 alias caniuse='frontend caniuse'
43 alias codepen='frontend codepen'
44-alias compass='frontend compass'
45+alias compassdoc='frontend compassdoc'
46 alias cssflow='frontend cssflow'
47 alias dartlang='frontend dartlang'
48 alias emberjs='frontend emberjs'
49@@ -32,7 +32,7 @@ function frontend() {
50     bootsnipp      'http://bootsnipp.com/search?q='
51     caniuse        'http://caniuse.com/#search='
52     codepen        'http://codepen.io/search?q='
53-    compass        'http://compass-style.org/search?q='
54+    compassdoc     'http://compass-style.org/search?q='
55     cssflow        'http://www.cssflow.com/search?q='
56     dartlang       'https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart:'
57     emberjs        'http://emberjs.com/api/#stp=1&stq='
58@@ -57,7 +57,7 @@ function frontend() {
59       print -P "%Uterm%u and what follows is what will be searched for in the %Ucontext%u website,"
60       print -P "and %Ucontext%u is one of the following:"
61       print -P ""
62-      print -P "  angularjs, aurajs, bem, bootsnipp, caniuse, codepen, compass, cssflow,"
63+      print -P "  angularjs, aurajs, bem, bootsnipp, caniuse, codepen, compassdoc, cssflow,"
64       print -P "  dartlang, emberjs, fontello, html5please, jquery, lodash, mdn, npmjs,"
65       print -P "  qunit, reactjs, smacss, stackoverflow, unheap"
66       print -P ""
67@@ -73,7 +73,7 @@ function frontend() {
68     echo ""
69     echo "Valid contexts are:"
70     echo ""
71-    echo "  angularjs, aurajs, bem, bootsnipp, caniuse, codepen, compass, cssflow, "
72+    echo "  angularjs, aurajs, bem, bootsnipp, caniuse, codepen, compassdoc, cssflow, "
73     echo "  dartlang, emberjs, fontello, html5please, jquery, lodash, mdn, npmjs,  "
74     echo "  qunit, reactjs, smacss, stackoverflow, unheap"
75     echo ""