Fix styling and added licnese to about page

pull/1486/head
dohsimpson 4 years ago
parent 6b2ed83fd9
commit 0339b078a5

@ -686,6 +686,11 @@ credits = [
'2013-present Facebook Inc.', '2013-present Facebook Inc.',
'MIT', 'MIT',
'https://raw.githubusercontent.com/facebook/react/master/LICENSE' 'https://raw.githubusercontent.com/facebook/react/master/LICENSE'
], [
'React Bootstrap',
'2014-present Stephen J. Collings, Matthew Honnibal, Pieter Vanderwerff',
'MIT',
'https://raw.githubusercontent.com/react-bootstrap/react-bootstrap/master/LICENSE'
], [ ], [
'ReactiveX', 'ReactiveX',
'ReactiveX contributors', 'ReactiveX contributors',

@ -5,10 +5,12 @@ module Docs
css('.flex-column.d-flex').remove css('.flex-column.d-flex').remove
css('header').remove css('header').remove
css('.bs-example').remove css('.bs-example').remove
css('.position-relative').each do |node|
code = node.at_css('textarea') css('.position-relative pre').each do |node|
code.name = 'pre' # node.content = node.content
code['style'] = code['style'] + '; border: solid 1px;' node.remove_attribute('style')
node['data-language'] = 'jsx'
node.parent.replace(node)
end end
doc doc
end end

Loading…
Cancel
Save