Update Bower documentation (1.7.9)

pull/501/head
Thibaut Courouble 8 years ago
parent 5b566004fa
commit 4dfa9b1f0e

@ -1,6 +0,0 @@
#= require views/pages/base
class app.views.BowerPage extends app.views.BasePage
prepare: ->
@highlightCode @findAll('pre[data-lang="js"], pre[data-lang="javascript"], pre[data-lang="json"]'), 'javascript'
return

@ -9,6 +9,7 @@ class app.views.SimplePage extends app.views.BasePage
app.views.AngularPage = app.views.AngularPage =
app.views.AngularjsPage = app.views.AngularjsPage =
app.views.BootstrapPage = app.views.BootstrapPage =
app.views.BowerPage =
app.views.CPage = app.views.CPage =
app.views.CakephpPage = app.views.CakephpPage =
app.views.ChaiPage = app.views.ChaiPage =

@ -35,7 +35,6 @@
'pages/angularjs', 'pages/angularjs',
'pages/apache', 'pages/apache',
'pages/bootstrap', 'pages/bootstrap',
'pages/bower',
'pages/c', 'pages/c',
'pages/cakephp', 'pages/cakephp',
'pages/clojure', 'pages/clojure',

@ -35,7 +35,6 @@
'pages/angularjs', 'pages/angularjs',
'pages/apache', 'pages/apache',
'pages/bootstrap', 'pages/bootstrap',
'pages/bower',
'pages/c', 'pages/c',
'pages/cakephp', 'pages/cakephp',
'pages/clojure', 'pages/clojure',

@ -1,7 +0,0 @@
._bower {
h2 { @extend %block-heading; }
h3 { @extend %block-label, %label-blue; }
h4 { @extend %block-label; }
code { @extend %label; }
}

@ -18,6 +18,7 @@
} }
._apache_pig, ._apache_pig,
._bower,
._chai, ._chai,
._docker, ._docker,
._fish, ._fish,

@ -10,7 +10,7 @@ module Docs
css('.highlight').each do |node| css('.highlight').each do |node|
node.name = 'pre' node.name = 'pre'
node['data-lang'] = node.at_css('[data-lang]')['data-lang'] node['data-language'] = node.at_css('[data-lang]')['data-lang']
node.content = node.content node.content = node.content
end end

@ -2,8 +2,8 @@ module Docs
class Bower < UrlScraper class Bower < UrlScraper
self.name = 'Bower' self.name = 'Bower'
self.type = 'bower' self.type = 'bower'
self.release = '1.7.7' self.release = '1.7.9'
self.base_url = 'http://bower.io/docs/' self.base_url = 'https://bower.io/docs/'
self.root_path = 'api' self.root_path = 'api'
self.links = { self.links = {
home: 'http://bower.io/', home: 'http://bower.io/',

Loading…
Cancel
Save