Simplify 'simple' CSS

pull/885/merge
Thibaut Courouble 6 years ago
parent 7d3c6bd970
commit ad7e1bdc4b

@ -17,34 +17,4 @@
blockquote > h4, blockquote > h5 { margin-top: .25rem; } blockquote > h4, blockquote > h5 { margin-top: .25rem; }
} }
._apache_pig, ._simple { @extend %simple; }
._bower,
._chai,
._codeceptjs,
._docker,
._electron,
._fish,
._flow,
._gnu,
._grunt,
._haxe,
._immutable,
._influxdata,
._jasmine,
._jest,
._less,
._lodash,
._marionette,
._markdown,
._mocha,
._mongoose,
._nim,
._redux,
._requirejs,
._simple,
._typescript,
._vagrant,
._vulkan,
._yarn {
@extend %simple;
}

@ -2,7 +2,7 @@ module Docs
class ApachePig < UrlScraper class ApachePig < UrlScraper
self.name = 'Apache Pig' self.name = 'Apache Pig'
self.slug = 'apache_pig' self.slug = 'apache_pig'
self.type = 'apache_pig' self.type = 'simple'
self.links = { self.links = {
home: 'https://pig.apache.org/' home: 'https://pig.apache.org/'
} }

@ -1,7 +1,7 @@
module Docs module Docs
class Bower < UrlScraper class Bower < UrlScraper
self.name = 'Bower' self.name = 'Bower'
self.type = 'bower' self.type = 'simple'
self.release = '1.8.4' self.release = '1.8.4'
self.base_url = 'https://bower.io/docs/' self.base_url = 'https://bower.io/docs/'
self.root_path = 'api' self.root_path = 'api'

@ -1,7 +1,7 @@
module Docs module Docs
class Chai < UrlScraper class Chai < UrlScraper
self.name = 'Chai' self.name = 'Chai'
self.type = 'chai' self.type = 'simple'
self.release = '4.1.0' self.release = '4.1.0'
self.base_url = 'http://chaijs.com' self.base_url = 'http://chaijs.com'
self.root_path = '/api/' self.root_path = '/api/'

@ -1,7 +1,7 @@
module Docs module Docs
class Codeceptjs < UrlScraper class Codeceptjs < UrlScraper
self.name = 'CodeceptJS' self.name = 'CodeceptJS'
self.type = 'codeceptjs' self.type = 'simple'
self.root_path = 'index.html' self.root_path = 'index.html'
self.release = '1.3.1' self.release = '1.3.1'
self.base_url = 'https://codecept.io/' self.base_url = 'https://codecept.io/'

@ -1,6 +1,6 @@
module Docs module Docs
class Docker < UrlScraper class Docker < UrlScraper
self.type = 'docker' self.type = 'simple'
self.links = { self.links = {
home: 'https://docker.com/', home: 'https://docker.com/',
code: 'https://github.com/docker/docker' code: 'https://github.com/docker/docker'

@ -1,6 +1,6 @@
module Docs module Docs
class Electron < UrlScraper class Electron < UrlScraper
self.type = 'electron' self.type = 'simple'
self.base_url = 'https://electronjs.org/docs' self.base_url = 'https://electronjs.org/docs'
self.release = '2.0.2' self.release = '2.0.2'
self.links = { self.links = {

@ -1,7 +1,7 @@
module Docs module Docs
class Fish < UrlScraper class Fish < UrlScraper
self.name = 'Fish' self.name = 'Fish'
self.type = 'fish' self.type = 'simple'
self.root_path = 'index.html' self.root_path = 'index.html'
self.links = { self.links = {
home: 'https://fishshell.com/', home: 'https://fishshell.com/',

@ -1,6 +1,6 @@
module Docs module Docs
class Flow < UrlScraper class Flow < UrlScraper
self.type = 'flow' self.type = 'simple'
self.release = '0.79.1' self.release = '0.79.1'
self.base_url = 'https://flow.org/en/docs/' self.base_url = 'https://flow.org/en/docs/'
self.links = { self.links = {

@ -1,6 +1,6 @@
module Docs module Docs
class Gnu < FileScraper class Gnu < FileScraper
self.type = 'gnu' self.type = 'simple'
self.root_path = 'index.html' self.root_path = 'index.html'
self.abstract = 'true' self.abstract = 'true'

@ -1,7 +1,7 @@
module Docs module Docs
class Grunt < UrlScraper class Grunt < UrlScraper
self.name = 'Grunt' self.name = 'Grunt'
self.type = 'grunt' self.type = 'simple'
self.release = '1.0.1' self.release = '1.0.1'
self.base_url = 'https://gruntjs.com/' self.base_url = 'https://gruntjs.com/'
self.root_path = 'getting-started' self.root_path = 'getting-started'

@ -1,7 +1,7 @@
module Docs module Docs
class Haxe < UrlScraper class Haxe < UrlScraper
self.name = 'Haxe' self.name = 'Haxe'
self.type = 'haxe' self.type = 'simple'
self.release = '3.4.7' self.release = '3.4.7'
self.base_url = 'https://api.haxe.org/' self.base_url = 'https://api.haxe.org/'

@ -2,7 +2,7 @@ module Docs
class Immutable < UrlScraper class Immutable < UrlScraper
self.name = 'Immutable.js' self.name = 'Immutable.js'
self.slug = 'immutable' self.slug = 'immutable'
self.type = 'immutable' self.type = 'simple'
self.release = '3.8.1' self.release = '3.8.1'
self.base_url = 'https://facebook.github.io/immutable-js/docs/' self.base_url = 'https://facebook.github.io/immutable-js/docs/'
self.links = { self.links = {

@ -1,7 +1,7 @@
module Docs module Docs
class Influxdata < UrlScraper class Influxdata < UrlScraper
self.name = 'InfluxData' self.name = 'InfluxData'
self.type = 'influxdata' self.type = 'simple'
self.release = '1.3' self.release = '1.3'
self.base_url = 'https://docs.influxdata.com/' self.base_url = 'https://docs.influxdata.com/'
self.links = { self.links = {

@ -1,6 +1,6 @@
module Docs module Docs
class Jasmine < UrlScraper class Jasmine < UrlScraper
self.type = 'jasmine' self.type = 'simple'
self.release = '3.2.1' self.release = '3.2.1'
self.base_url = 'https://jasmine.github.io/api/3.2/' self.base_url = 'https://jasmine.github.io/api/3.2/'
self.root_path = 'index.html' self.root_path = 'index.html'

@ -1,6 +1,6 @@
module Docs module Docs
class Jest < UrlScraper class Jest < UrlScraper
self.type = 'jest' self.type = 'simple'
self.release = '23.5.0' self.release = '23.5.0'
self.base_url = 'https://jestjs.io/docs/en/' self.base_url = 'https://jestjs.io/docs/en/'
self.root_path = 'getting-started' self.root_path = 'getting-started'

@ -1,6 +1,6 @@
module Docs module Docs
class Less < UrlScraper class Less < UrlScraper
self.type = 'less' self.type = 'simple'
self.release = '2.7.2' self.release = '2.7.2'
self.base_url = 'http://lesscss.org' self.base_url = 'http://lesscss.org'
self.root_path = '/features' self.root_path = '/features'

@ -2,7 +2,7 @@ module Docs
class Lodash < UrlScraper class Lodash < UrlScraper
self.name = 'lodash' self.name = 'lodash'
self.slug = 'lodash' self.slug = 'lodash'
self.type = 'lodash' self.type = 'simple'
self.links = { self.links = {
home: 'https://lodash.com/', home: 'https://lodash.com/',
code: 'https://github.com/lodash/lodash/' code: 'https://github.com/lodash/lodash/'

@ -2,7 +2,7 @@ module Docs
class Marionette < UrlScraper class Marionette < UrlScraper
self.name = 'Marionette.js' self.name = 'Marionette.js'
self.slug = 'marionette' self.slug = 'marionette'
self.type = 'marionette' self.type = 'simple'
self.root_path = 'index' self.root_path = 'index'
self.links = { self.links = {
home: 'https://marionettejs.com/', home: 'https://marionettejs.com/',

@ -1,7 +1,7 @@
module Docs module Docs
class Markdown < UrlScraper class Markdown < UrlScraper
self.name = 'Markdown' self.name = 'Markdown'
self.type = 'markdown' self.type = 'simple'
self.base_url = 'http://daringfireball.net/projects/markdown/syntax' self.base_url = 'http://daringfireball.net/projects/markdown/syntax'
html_filters.push 'markdown/clean_html', 'markdown/entries' html_filters.push 'markdown/clean_html', 'markdown/entries'

@ -1,6 +1,6 @@
module Docs module Docs
class Mocha < UrlScraper class Mocha < UrlScraper
self.type = 'mocha' self.type = 'simple'
self.release = '5.0.1' self.release = '5.0.1'
self.base_url = 'https://mochajs.org/' self.base_url = 'https://mochajs.org/'
self.links = { self.links = {

@ -1,7 +1,7 @@
module Docs module Docs
class Mongoose < UrlScraper class Mongoose < UrlScraper
self.name = 'Mongoose' self.name = 'Mongoose'
self.type = 'mongoose' self.type = 'simple'
self.release = '4.13.1' self.release = '4.13.1'
self.base_url = 'http://mongoosejs.com/docs/' self.base_url = 'http://mongoosejs.com/docs/'
self.root_path = 'index.html' self.root_path = 'index.html'

@ -1,6 +1,6 @@
module Docs module Docs
class Nim < UrlScraper class Nim < UrlScraper
self.type = 'nim' self.type = 'simple'
self.release = '0.18.0' self.release = '0.18.0'
self.base_url = 'https://nim-lang.org/docs/' self.base_url = 'https://nim-lang.org/docs/'
self.root_path = 'overview.html' self.root_path = 'overview.html'

@ -1,6 +1,6 @@
module Docs module Docs
class Redux < UrlScraper class Redux < UrlScraper
self.type = 'redux' self.type = 'simple'
self.release = '3.7.2' self.release = '3.7.2'
self.base_url = 'http://redux.js.org/docs/' self.base_url = 'http://redux.js.org/docs/'
self.links = { self.links = {

@ -1,7 +1,7 @@
module Docs module Docs
class Requirejs < UrlScraper class Requirejs < UrlScraper
self.name = 'RequireJS' self.name = 'RequireJS'
self.type = 'requirejs' self.type = 'simple'
self.release = '2.3.5' self.release = '2.3.5'
self.base_url = 'http://requirejs.org/docs/' self.base_url = 'http://requirejs.org/docs/'
self.links = { self.links = {

@ -1,7 +1,7 @@
module Docs module Docs
class Typescript < UrlScraper class Typescript < UrlScraper
self.name = 'TypeScript' self.name = 'TypeScript'
self.type = 'typescript' self.type = 'simple'
self.release = '3.0.1' self.release = '3.0.1'
self.base_url = 'https://www.typescriptlang.org/docs/' self.base_url = 'https://www.typescriptlang.org/docs/'
self.root_path = 'tutorial.html' self.root_path = 'tutorial.html'

@ -1,7 +1,7 @@
module Docs module Docs
class Vagrant < UrlScraper class Vagrant < UrlScraper
self.name = 'Vagrant' self.name = 'Vagrant'
self.type = 'vagrant' self.type = 'simple'
self.release = '2.1.1' self.release = '2.1.1'
self.base_url = 'https://www.vagrantup.com/docs/' self.base_url = 'https://www.vagrantup.com/docs/'
self.root_path = 'index.html' self.root_path = 'index.html'

@ -1,7 +1,7 @@
module Docs module Docs
class Vulkan < UrlScraper class Vulkan < UrlScraper
self.name = 'Vulkan' self.name = 'Vulkan'
self.type = 'vulkan' self.type = 'simple'
self.release = '1.0.59' self.release = '1.0.59'
self.base_url = 'https://www.khronos.org/registry/vulkan/specs/1.0/' self.base_url = 'https://www.khronos.org/registry/vulkan/specs/1.0/'
self.root_path = 'apispec.html' self.root_path = 'apispec.html'

@ -1,6 +1,6 @@
module Docs module Docs
class Yarn < UrlScraper class Yarn < UrlScraper
self.type = 'yarn' self.type = 'simple'
self.release = '1.9.4' self.release = '1.9.4'
self.base_url = 'https://yarnpkg.com/en/docs/' self.base_url = 'https://yarnpkg.com/en/docs/'
self.links = { self.links = {

Loading…
Cancel
Save