praxis 0.19.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +5 -0
- data/CHANGELOG.md +16 -0
- data/lib/api_browser/Gruntfile.js +125 -16
- data/lib/api_browser/app/index.html +5 -1
- data/lib/api_browser/app/js/directives/fixed_if_fits.js +28 -17
- data/lib/api_browser/app/js/directives/highlight.js +14 -0
- data/lib/api_browser/app/js/directives/request_examples.js +29 -0
- data/lib/api_browser/app/js/factories/Documentation.js +6 -0
- data/lib/api_browser/app/js/factories/Example.js +47 -0
- data/lib/api_browser/app/js/factories/prepare_template.js +15 -0
- data/lib/api_browser/app/js/factories/template_for.js +2 -12
- data/lib/api_browser/app/sass/modules/_sidebar.scss +2 -0
- data/lib/api_browser/app/views/action.html +6 -24
- data/lib/api_browser/app/views/examples/general.html +26 -0
- data/lib/api_browser/{bower.json → bower_template.json} +13 -3
- data/lib/api_browser/package.json +3 -1
- data/lib/praxis/application.rb +2 -0
- data/lib/praxis/docs/generator.rb +4 -2
- data/lib/praxis/extensions/field_selection/field_selector.rb +1 -0
- data/lib/praxis/media_type.rb +1 -1
- data/lib/praxis/plugin.rb +4 -0
- data/lib/praxis/plugin_concern.rb +2 -1
- data/lib/praxis/tasks/api_docs.rb +9 -2
- data/lib/praxis/version.rb +1 -1
- data/praxis.gemspec +2 -2
- data/spec/praxis/action_definition_spec.rb +26 -1
- data/spec/praxis/extensions/field_selection/field_selector_spec.rb +4 -0
- data/spec/praxis/media_type_spec.rb +4 -3
- data/spec/support/spec_media_types.rb +5 -1
- metadata +12 -242
- data/lib/api_browser/app/bower_components/angular-mocks/.bower.json +0 -19
- data/lib/api_browser/app/bower_components/angular-mocks/README.md +0 -63
- data/lib/api_browser/app/bower_components/angular-mocks/angular-mocks.js +0 -2452
- data/lib/api_browser/app/bower_components/angular-mocks/bower.json +0 -9
- data/lib/api_browser/app/bower_components/angular-mocks/ngAnimateMock.js +0 -2
- data/lib/api_browser/app/bower_components/angular-mocks/ngMock.js +0 -2
- data/lib/api_browser/app/bower_components/angular-mocks/ngMockE2E.js +0 -2
- data/lib/api_browser/app/bower_components/angular-mocks/package.json +0 -27
- data/lib/api_browser/app/bower_components/angular-sanitize/.bower.json +0 -19
- data/lib/api_browser/app/bower_components/angular-sanitize/README.md +0 -68
- data/lib/api_browser/app/bower_components/angular-sanitize/angular-sanitize.js +0 -683
- data/lib/api_browser/app/bower_components/angular-sanitize/angular-sanitize.min.js +0 -16
- data/lib/api_browser/app/bower_components/angular-sanitize/angular-sanitize.min.js.map +0 -8
- data/lib/api_browser/app/bower_components/angular-sanitize/bower.json +0 -9
- data/lib/api_browser/app/bower_components/angular-sanitize/index.js +0 -2
- data/lib/api_browser/app/bower_components/angular-sanitize/package.json +0 -26
- data/lib/api_browser/app/bower_components/angular-ui-bootstrap-bower/.bower.json +0 -31
- data/lib/api_browser/app/bower_components/angular-ui-bootstrap-bower/bower.json +0 -19
- data/lib/api_browser/app/bower_components/angular-ui-bootstrap-bower/ui-bootstrap-csp.css +0 -6
- data/lib/api_browser/app/bower_components/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js +0 -4840
- data/lib/api_browser/app/bower_components/angular-ui-bootstrap-bower/ui-bootstrap-tpls.min.js +0 -10
- data/lib/api_browser/app/bower_components/angular-ui-bootstrap-bower/ui-bootstrap.js +0 -4461
- data/lib/api_browser/app/bower_components/angular-ui-bootstrap-bower/ui-bootstrap.min.js +0 -9
- data/lib/api_browser/app/bower_components/angular-ui-router/.bower.json +0 -33
- data/lib/api_browser/app/bower_components/angular-ui-router/CHANGELOG.md +0 -228
- data/lib/api_browser/app/bower_components/angular-ui-router/CONTRIBUTING.md +0 -65
- data/lib/api_browser/app/bower_components/angular-ui-router/LICENSE +0 -21
- data/lib/api_browser/app/bower_components/angular-ui-router/README.md +0 -245
- data/lib/api_browser/app/bower_components/angular-ui-router/api/angular-ui-router.d.ts +0 -126
- data/lib/api_browser/app/bower_components/angular-ui-router/bower.json +0 -23
- data/lib/api_browser/app/bower_components/angular-ui-router/release/angular-ui-router.js +0 -4370
- data/lib/api_browser/app/bower_components/angular-ui-router/release/angular-ui-router.min.js +0 -7
- data/lib/api_browser/app/bower_components/angular-ui-router/src/common.js +0 -292
- data/lib/api_browser/app/bower_components/angular-ui-router/src/resolve.js +0 -252
- data/lib/api_browser/app/bower_components/angular-ui-router/src/state.js +0 -1465
- data/lib/api_browser/app/bower_components/angular-ui-router/src/stateDirectives.js +0 -285
- data/lib/api_browser/app/bower_components/angular-ui-router/src/stateFilters.js +0 -39
- data/lib/api_browser/app/bower_components/angular-ui-router/src/templateFactory.js +0 -110
- data/lib/api_browser/app/bower_components/angular-ui-router/src/urlMatcherFactory.js +0 -1050
- data/lib/api_browser/app/bower_components/angular-ui-router/src/urlRouter.js +0 -427
- data/lib/api_browser/app/bower_components/angular-ui-router/src/view.js +0 -71
- data/lib/api_browser/app/bower_components/angular-ui-router/src/viewDirective.js +0 -303
- data/lib/api_browser/app/bower_components/angular-ui-router/src/viewScroll.js +0 -52
- data/lib/api_browser/app/bower_components/angular/.bower.json +0 -17
- data/lib/api_browser/app/bower_components/angular/README.md +0 -64
- data/lib/api_browser/app/bower_components/angular/angular-csp.css +0 -21
- data/lib/api_browser/app/bower_components/angular/angular.js +0 -28133
- data/lib/api_browser/app/bower_components/angular/angular.min.js +0 -289
- data/lib/api_browser/app/bower_components/angular/angular.min.js.gzip +0 -0
- data/lib/api_browser/app/bower_components/angular/angular.min.js.map +0 -8
- data/lib/api_browser/app/bower_components/angular/bower.json +0 -8
- data/lib/api_browser/app/bower_components/angular/index.js +0 -2
- data/lib/api_browser/app/bower_components/angular/package.json +0 -25
- data/lib/api_browser/app/bower_components/bootstrap-sass/.bower.json +0 -41
- data/lib/api_browser/app/bower_components/bootstrap-sass/CHANGELOG.md +0 -108
- data/lib/api_browser/app/bower_components/bootstrap-sass/CONTRIBUTING.md +0 -79
- data/lib/api_browser/app/bower_components/bootstrap-sass/README.md +0 -218
- data/lib/api_browser/app/bower_components/bootstrap-sass/bower.json +0 -22
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +0 -229
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap.js +0 -12
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/affix.js +0 -126
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/alert.js +0 -98
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/button.js +0 -115
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/carousel.js +0 -217
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/collapse.js +0 -179
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/dropdown.js +0 -154
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/modal.js +0 -246
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/popover.js +0 -117
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/scrollspy.js +0 -158
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/tab.js +0 -135
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/tooltip.js +0 -386
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/transition.js +0 -56
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap.scss +0 -1
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_alerts.scss +0 -67
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_badges.scss +0 -51
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_breadcrumbs.scss +0 -23
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_button-groups.scss +0 -227
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_buttons.scss +0 -155
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_carousel.scss +0 -232
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_close.scss +0 -35
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_code.scss +0 -53
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_component-animations.scss +0 -29
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_dropdowns.scss +0 -188
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_forms.scss +0 -374
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_glyphicons.scss +0 -237
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_grid.scss +0 -79
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_input-groups.scss +0 -136
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_jumbotron.scss +0 -46
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_labels.scss +0 -64
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_list-group.scss +0 -88
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_media.scss +0 -56
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_mixins.scss +0 -848
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_modals.scss +0 -129
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_navbar.scss +0 -616
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_navs.scss +0 -242
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_normalize.scss +0 -406
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_pager.scss +0 -55
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_pagination.scss +0 -85
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_panels.scss +0 -182
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_popovers.scss +0 -133
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_print.scss +0 -105
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_progress-bars.scss +0 -80
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_responsive-utilities.scss +0 -198
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_scaffolding.scss +0 -119
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_tables.scss +0 -231
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_theme.scss +0 -247
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_thumbnails.scss +0 -38
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_tooltip.scss +0 -95
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_type.scss +0 -281
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_utilities.scss +0 -56
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_variables.scss +0 -646
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_wells.scss +0 -29
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/bootstrap.scss +0 -49
- data/lib/api_browser/app/bower_components/jquery/.bower.json +0 -38
- data/lib/api_browser/app/bower_components/jquery/MIT-LICENSE.txt +0 -21
- data/lib/api_browser/app/bower_components/jquery/bower.json +0 -27
- data/lib/api_browser/app/bower_components/jquery/dist/jquery.js +0 -9190
- data/lib/api_browser/app/bower_components/jquery/dist/jquery.min.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/dist/jquery.min.map +0 -1
- data/lib/api_browser/app/bower_components/jquery/src/ajax.js +0 -806
- data/lib/api_browser/app/bower_components/jquery/src/ajax/jsonp.js +0 -89
- data/lib/api_browser/app/bower_components/jquery/src/ajax/load.js +0 -75
- data/lib/api_browser/app/bower_components/jquery/src/ajax/parseJSON.js +0 -13
- data/lib/api_browser/app/bower_components/jquery/src/ajax/parseXML.js +0 -28
- data/lib/api_browser/app/bower_components/jquery/src/ajax/script.js +0 -64
- data/lib/api_browser/app/bower_components/jquery/src/ajax/var/nonce.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/src/ajax/var/rquery.js +0 -3
- data/lib/api_browser/app/bower_components/jquery/src/ajax/xhr.js +0 -135
- data/lib/api_browser/app/bower_components/jquery/src/attributes.js +0 -11
- data/lib/api_browser/app/bower_components/jquery/src/attributes/attr.js +0 -143
- data/lib/api_browser/app/bower_components/jquery/src/attributes/classes.js +0 -158
- data/lib/api_browser/app/bower_components/jquery/src/attributes/prop.js +0 -96
- data/lib/api_browser/app/bower_components/jquery/src/attributes/support.js +0 -35
- data/lib/api_browser/app/bower_components/jquery/src/attributes/val.js +0 -163
- data/lib/api_browser/app/bower_components/jquery/src/callbacks.js +0 -205
- data/lib/api_browser/app/bower_components/jquery/src/core.js +0 -498
- data/lib/api_browser/app/bower_components/jquery/src/core/access.js +0 -60
- data/lib/api_browser/app/bower_components/jquery/src/core/init.js +0 -123
- data/lib/api_browser/app/bower_components/jquery/src/core/parseHTML.js +0 -39
- data/lib/api_browser/app/bower_components/jquery/src/core/ready.js +0 -97
- data/lib/api_browser/app/bower_components/jquery/src/core/var/rsingleTag.js +0 -4
- data/lib/api_browser/app/bower_components/jquery/src/css.js +0 -451
- data/lib/api_browser/app/bower_components/jquery/src/css/addGetHookIf.js +0 -24
- data/lib/api_browser/app/bower_components/jquery/src/css/curCSS.js +0 -57
- data/lib/api_browser/app/bower_components/jquery/src/css/defaultDisplay.js +0 -70
- data/lib/api_browser/app/bower_components/jquery/src/css/hiddenVisibleSelectors.js +0 -15
- data/lib/api_browser/app/bower_components/jquery/src/css/support.js +0 -91
- data/lib/api_browser/app/bower_components/jquery/src/css/swap.js +0 -28
- data/lib/api_browser/app/bower_components/jquery/src/css/var/cssExpand.js +0 -3
- data/lib/api_browser/app/bower_components/jquery/src/css/var/getStyles.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/src/css/var/isHidden.js +0 -13
- data/lib/api_browser/app/bower_components/jquery/src/css/var/rmargin.js +0 -3
- data/lib/api_browser/app/bower_components/jquery/src/css/var/rnumnonpx.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/src/data.js +0 -179
- data/lib/api_browser/app/bower_components/jquery/src/data/Data.js +0 -181
- data/lib/api_browser/app/bower_components/jquery/src/data/accepts.js +0 -20
- data/lib/api_browser/app/bower_components/jquery/src/data/var/data_priv.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/src/data/var/data_user.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/src/deferred.js +0 -149
- data/lib/api_browser/app/bower_components/jquery/src/deprecated.js +0 -13
- data/lib/api_browser/app/bower_components/jquery/src/dimensions.js +0 -50
- data/lib/api_browser/app/bower_components/jquery/src/effects.js +0 -649
- data/lib/api_browser/app/bower_components/jquery/src/effects/Tween.js +0 -114
- data/lib/api_browser/app/bower_components/jquery/src/effects/animatedSelector.js +0 -13
- data/lib/api_browser/app/bower_components/jquery/src/event.js +0 -868
- data/lib/api_browser/app/bower_components/jquery/src/event/alias.js +0 -39
- data/lib/api_browser/app/bower_components/jquery/src/event/support.js +0 -9
- data/lib/api_browser/app/bower_components/jquery/src/exports/amd.js +0 -24
- data/lib/api_browser/app/bower_components/jquery/src/exports/global.js +0 -32
- data/lib/api_browser/app/bower_components/jquery/src/intro.js +0 -44
- data/lib/api_browser/app/bower_components/jquery/src/jquery.js +0 -36
- data/lib/api_browser/app/bower_components/jquery/src/manipulation.js +0 -582
- data/lib/api_browser/app/bower_components/jquery/src/manipulation/_evalUrl.js +0 -18
- data/lib/api_browser/app/bower_components/jquery/src/manipulation/support.js +0 -31
- data/lib/api_browser/app/bower_components/jquery/src/manipulation/var/rcheckableType.js +0 -3
- data/lib/api_browser/app/bower_components/jquery/src/offset.js +0 -204
- data/lib/api_browser/app/bower_components/jquery/src/outro.js +0 -1
- data/lib/api_browser/app/bower_components/jquery/src/queue.js +0 -142
- data/lib/api_browser/app/bower_components/jquery/src/queue/delay.js +0 -22
- data/lib/api_browser/app/bower_components/jquery/src/selector-native.js +0 -172
- data/lib/api_browser/app/bower_components/jquery/src/selector-sizzle.js +0 -14
- data/lib/api_browser/app/bower_components/jquery/src/selector.js +0 -1
- data/lib/api_browser/app/bower_components/jquery/src/serialize.js +0 -111
- data/lib/api_browser/app/bower_components/jquery/src/sizzle/dist/sizzle.js +0 -2044
- data/lib/api_browser/app/bower_components/jquery/src/sizzle/dist/sizzle.min.js +0 -3
- data/lib/api_browser/app/bower_components/jquery/src/sizzle/dist/sizzle.min.map +0 -1
- data/lib/api_browser/app/bower_components/jquery/src/traversing.js +0 -200
- data/lib/api_browser/app/bower_components/jquery/src/traversing/findFilter.js +0 -100
- data/lib/api_browser/app/bower_components/jquery/src/traversing/var/rneedsContext.js +0 -6
- data/lib/api_browser/app/bower_components/jquery/src/var/arr.js +0 -3
- data/lib/api_browser/app/bower_components/jquery/src/var/class2type.js +0 -4
- data/lib/api_browser/app/bower_components/jquery/src/var/concat.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/src/var/hasOwn.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/src/var/indexOf.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/src/var/pnum.js +0 -3
- data/lib/api_browser/app/bower_components/jquery/src/var/push.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/src/var/rnotwhite.js +0 -3
- data/lib/api_browser/app/bower_components/jquery/src/var/slice.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/src/var/strundefined.js +0 -3
- data/lib/api_browser/app/bower_components/jquery/src/var/support.js +0 -4
- data/lib/api_browser/app/bower_components/jquery/src/var/toString.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/src/wrap.js +0 -78
- data/lib/api_browser/app/bower_components/lodash/.bower.json +0 -30
- data/lib/api_browser/app/bower_components/lodash/LICENSE.txt +0 -22
- data/lib/api_browser/app/bower_components/lodash/bower.json +0 -20
- data/lib/api_browser/app/bower_components/lodash/lodash.js +0 -12235
- data/lib/api_browser/app/bower_components/lodash/lodash.min.js +0 -98
- data/lib/api_browser/app/bower_components/showdown/.bower.json +0 -39
- data/lib/api_browser/app/bower_components/showdown/.jshintignore +0 -2
- data/lib/api_browser/app/bower_components/showdown/.travis.yml +0 -8
- data/lib/api_browser/app/bower_components/showdown/Gruntfile.js +0 -100
- data/lib/api_browser/app/bower_components/showdown/README.md +0 -317
- data/lib/api_browser/app/bower_components/showdown/bower.json +0 -26
- data/lib/api_browser/app/bower_components/showdown/compressed/Showdown.js +0 -1606
- data/lib/api_browser/app/bower_components/showdown/compressed/Showdown.js.map +0 -1
- data/lib/api_browser/app/bower_components/showdown/compressed/Showdown.min.js +0 -2
- data/lib/api_browser/app/bower_components/showdown/compressed/extensions/github.min.js +0 -2
- data/lib/api_browser/app/bower_components/showdown/compressed/extensions/github.min.js.map +0 -1
- data/lib/api_browser/app/bower_components/showdown/compressed/extensions/prettify.min.js +0 -2
- data/lib/api_browser/app/bower_components/showdown/compressed/extensions/prettify.min.js.map +0 -1
- data/lib/api_browser/app/bower_components/showdown/compressed/extensions/table.min.js +0 -2
- data/lib/api_browser/app/bower_components/showdown/compressed/extensions/table.min.js.map +0 -1
- data/lib/api_browser/app/bower_components/showdown/compressed/extensions/twitter.min.js +0 -2
- data/lib/api_browser/app/bower_components/showdown/compressed/extensions/twitter.min.js.map +0 -1
- data/lib/api_browser/app/bower_components/showdown/license.txt +0 -34
- data/lib/api_browser/app/bower_components/showdown/package.json +0 -47
- data/lib/api_browser/app/bower_components/showdown/src/extensions/github.js +0 -25
- data/lib/api_browser/app/bower_components/showdown/src/extensions/prettify.js +0 -29
- data/lib/api_browser/app/bower_components/showdown/src/extensions/table.js +0 -106
- data/lib/api_browser/app/bower_components/showdown/src/extensions/twitter.js +0 -42
- data/lib/api_browser/app/bower_components/showdown/src/ng-showdown.js +0 -150
- data/lib/api_browser/app/bower_components/showdown/src/showdown.js +0 -1454
@@ -1,79 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Grid system
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
// Set the container width, and override it for fixed navbars in media queries
|
6
|
-
.container {
|
7
|
-
@include container-fixed();
|
8
|
-
|
9
|
-
@media (min-width: $screen-sm) {
|
10
|
-
width: $container-sm;
|
11
|
-
}
|
12
|
-
@media (min-width: $screen-md) {
|
13
|
-
width: $container-md;
|
14
|
-
}
|
15
|
-
@media (min-width: $screen-lg-min) {
|
16
|
-
width: $container-lg;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
|
20
|
-
// mobile first defaults
|
21
|
-
.row {
|
22
|
-
@include make-row();
|
23
|
-
}
|
24
|
-
|
25
|
-
// Common styles for small and large grid columns
|
26
|
-
@include make-grid-columns();
|
27
|
-
|
28
|
-
|
29
|
-
// Extra small grid
|
30
|
-
//
|
31
|
-
// Columns, offsets, pushes, and pulls for extra small devices like
|
32
|
-
// smartphones.
|
33
|
-
|
34
|
-
@include make-grid-columns-float(xs);
|
35
|
-
@include make-grid($grid-columns, xs, width);
|
36
|
-
@include make-grid($grid-columns, xs, pull);
|
37
|
-
@include make-grid($grid-columns, xs, push);
|
38
|
-
@include make-grid($grid-columns, xs, offset);
|
39
|
-
|
40
|
-
|
41
|
-
// Small grid
|
42
|
-
//
|
43
|
-
// Columns, offsets, pushes, and pulls for the small device range, from phones
|
44
|
-
// to tablets.
|
45
|
-
|
46
|
-
@media (min-width: $screen-sm-min) {
|
47
|
-
@include make-grid-columns-float(sm);
|
48
|
-
@include make-grid($grid-columns, sm, width);
|
49
|
-
@include make-grid($grid-columns, sm, pull);
|
50
|
-
@include make-grid($grid-columns, sm, push);
|
51
|
-
@include make-grid($grid-columns, sm, offset);
|
52
|
-
}
|
53
|
-
|
54
|
-
|
55
|
-
// Medium grid
|
56
|
-
//
|
57
|
-
// Columns, offsets, pushes, and pulls for the desktop device range.
|
58
|
-
|
59
|
-
@media (min-width: $screen-md-min) {
|
60
|
-
@include make-grid-columns-float(md);
|
61
|
-
@include make-grid($grid-columns, md, width);
|
62
|
-
@include make-grid($grid-columns, md, pull);
|
63
|
-
@include make-grid($grid-columns, md, push);
|
64
|
-
@include make-grid($grid-columns, md, offset);
|
65
|
-
}
|
66
|
-
|
67
|
-
|
68
|
-
// Large grid
|
69
|
-
//
|
70
|
-
// Columns, offsets, pushes, and pulls for the large desktop device range.
|
71
|
-
|
72
|
-
@media (min-width: $screen-lg-min) {
|
73
|
-
@include make-grid-columns-float(lg);
|
74
|
-
@include make-grid($grid-columns, lg, width);
|
75
|
-
@include make-grid($grid-columns, lg, pull);
|
76
|
-
@include make-grid($grid-columns, lg, push);
|
77
|
-
@include make-grid($grid-columns, lg, offset);
|
78
|
-
}
|
79
|
-
|
@@ -1,136 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Input groups
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
// Base styles
|
6
|
-
// -------------------------
|
7
|
-
.input-group {
|
8
|
-
position: relative; // For dropdowns
|
9
|
-
display: table;
|
10
|
-
border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table
|
11
|
-
|
12
|
-
// Undo padding and float of grid classes
|
13
|
-
&[class*="col-"] {
|
14
|
-
float: none;
|
15
|
-
padding-left: 0;
|
16
|
-
padding-right: 0;
|
17
|
-
}
|
18
|
-
|
19
|
-
.form-control {
|
20
|
-
width: 100%;
|
21
|
-
margin-bottom: 0;
|
22
|
-
}
|
23
|
-
}
|
24
|
-
|
25
|
-
// Sizing options
|
26
|
-
//
|
27
|
-
// Remix the default form control sizing classes into new ones for easier
|
28
|
-
// manipulation.
|
29
|
-
|
30
|
-
.input-group-lg > .form-control,
|
31
|
-
.input-group-lg > .input-group-addon,
|
32
|
-
.input-group-lg > .input-group-btn > .btn { @extend .input-lg; }
|
33
|
-
.input-group-sm > .form-control,
|
34
|
-
.input-group-sm > .input-group-addon,
|
35
|
-
.input-group-sm > .input-group-btn > .btn { @extend .input-sm; }
|
36
|
-
|
37
|
-
|
38
|
-
// Display as table-cell
|
39
|
-
// -------------------------
|
40
|
-
.input-group-addon,
|
41
|
-
.input-group-btn,
|
42
|
-
.input-group .form-control {
|
43
|
-
display: table-cell;
|
44
|
-
|
45
|
-
&:not(:first-child):not(:last-child) {
|
46
|
-
border-radius: 0;
|
47
|
-
}
|
48
|
-
}
|
49
|
-
// Addon and addon wrapper for buttons
|
50
|
-
.input-group-addon,
|
51
|
-
.input-group-btn {
|
52
|
-
width: 1%;
|
53
|
-
white-space: nowrap;
|
54
|
-
vertical-align: middle; // Match the inputs
|
55
|
-
}
|
56
|
-
|
57
|
-
// Text input groups
|
58
|
-
// -------------------------
|
59
|
-
.input-group-addon {
|
60
|
-
padding: $padding-base-vertical $padding-base-horizontal;
|
61
|
-
font-size: $font-size-base;
|
62
|
-
font-weight: normal;
|
63
|
-
line-height: 1;
|
64
|
-
color: $input-color;
|
65
|
-
text-align: center;
|
66
|
-
background-color: $input-group-addon-bg;
|
67
|
-
border: 1px solid $input-group-addon-border-color;
|
68
|
-
border-radius: $border-radius-base;
|
69
|
-
|
70
|
-
// Sizing
|
71
|
-
&.input-sm {
|
72
|
-
padding: $padding-small-vertical $padding-small-horizontal;
|
73
|
-
font-size: $font-size-small;
|
74
|
-
border-radius: $border-radius-small;
|
75
|
-
}
|
76
|
-
&.input-lg {
|
77
|
-
padding: $padding-large-vertical $padding-large-horizontal;
|
78
|
-
font-size: $font-size-large;
|
79
|
-
border-radius: $border-radius-large;
|
80
|
-
}
|
81
|
-
|
82
|
-
// Nuke default margins from checkboxes and radios to vertically center within.
|
83
|
-
input[type="radio"],
|
84
|
-
input[type="checkbox"] {
|
85
|
-
margin-top: 0;
|
86
|
-
}
|
87
|
-
}
|
88
|
-
|
89
|
-
// Reset rounded corners
|
90
|
-
.input-group .form-control:first-child,
|
91
|
-
.input-group-addon:first-child,
|
92
|
-
.input-group-btn:first-child > .btn,
|
93
|
-
.input-group-btn:first-child > .dropdown-toggle,
|
94
|
-
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
|
95
|
-
@include border-right-radius(0);
|
96
|
-
}
|
97
|
-
.input-group-addon:first-child {
|
98
|
-
border-right: 0;
|
99
|
-
}
|
100
|
-
.input-group .form-control:last-child,
|
101
|
-
.input-group-addon:last-child,
|
102
|
-
.input-group-btn:last-child > .btn,
|
103
|
-
.input-group-btn:last-child > .dropdown-toggle,
|
104
|
-
.input-group-btn:first-child > .btn:not(:first-child) {
|
105
|
-
@include border-left-radius(0);
|
106
|
-
}
|
107
|
-
.input-group-addon:last-child {
|
108
|
-
border-left: 0;
|
109
|
-
}
|
110
|
-
|
111
|
-
// Button input groups
|
112
|
-
// -------------------------
|
113
|
-
.input-group-btn {
|
114
|
-
position: relative;
|
115
|
-
white-space: nowrap;
|
116
|
-
|
117
|
-
// Negative margin to only have a 1px border between the two
|
118
|
-
&:first-child > .btn {
|
119
|
-
margin-right: -1px;
|
120
|
-
}
|
121
|
-
&:last-child > .btn {
|
122
|
-
margin-left: -1px;
|
123
|
-
}
|
124
|
-
}
|
125
|
-
.input-group-btn > .btn {
|
126
|
-
position: relative;
|
127
|
-
// Jankily prevent input button groups from wrapping
|
128
|
-
+ .btn {
|
129
|
-
margin-left: -4px;
|
130
|
-
}
|
131
|
-
// Bring the "active" button to the front
|
132
|
-
&:hover,
|
133
|
-
&:active {
|
134
|
-
z-index: 2;
|
135
|
-
}
|
136
|
-
}
|
@@ -1,46 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Jumbotron
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
.jumbotron {
|
7
|
-
padding: $jumbotron-padding;
|
8
|
-
margin-bottom: $jumbotron-padding;
|
9
|
-
font-size: $jumbotron-font-size;
|
10
|
-
font-weight: 200;
|
11
|
-
line-height: ($line-height-base * 1.5);
|
12
|
-
color: $jumbotron-color;
|
13
|
-
background-color: $jumbotron-bg;
|
14
|
-
|
15
|
-
h1,
|
16
|
-
.h1 {
|
17
|
-
line-height: 1;
|
18
|
-
color: $jumbotron-heading-color;
|
19
|
-
}
|
20
|
-
p {
|
21
|
-
line-height: 1.4;
|
22
|
-
}
|
23
|
-
|
24
|
-
.container & {
|
25
|
-
border-radius: $border-radius-large; // Only round corners at higher resolutions if contained in a container
|
26
|
-
}
|
27
|
-
|
28
|
-
.container {
|
29
|
-
max-width: 100%;
|
30
|
-
}
|
31
|
-
|
32
|
-
@media screen and (min-width: $screen-sm-min) {
|
33
|
-
padding-top: ($jumbotron-padding * 1.6);
|
34
|
-
padding-bottom: ($jumbotron-padding * 1.6);
|
35
|
-
|
36
|
-
.container & {
|
37
|
-
padding-left: ($jumbotron-padding * 2);
|
38
|
-
padding-right: ($jumbotron-padding * 2);
|
39
|
-
}
|
40
|
-
|
41
|
-
h1,
|
42
|
-
.h1 {
|
43
|
-
font-size: ($font-size-base * 4.5);
|
44
|
-
}
|
45
|
-
}
|
46
|
-
}
|
@@ -1,64 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Labels
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
.label {
|
6
|
-
display: inline;
|
7
|
-
padding: .2em .6em .3em;
|
8
|
-
font-size: 75%;
|
9
|
-
font-weight: bold;
|
10
|
-
line-height: 1;
|
11
|
-
color: $label-color;
|
12
|
-
text-align: center;
|
13
|
-
white-space: nowrap;
|
14
|
-
vertical-align: baseline;
|
15
|
-
border-radius: .25em;
|
16
|
-
|
17
|
-
// Add hover effects, but only for links
|
18
|
-
&[href] {
|
19
|
-
&:hover,
|
20
|
-
&:focus {
|
21
|
-
color: $label-link-hover-color;
|
22
|
-
text-decoration: none;
|
23
|
-
cursor: pointer;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
|
27
|
-
// Empty labels collapse automatically (not available in IE8)
|
28
|
-
&:empty {
|
29
|
-
display: none;
|
30
|
-
}
|
31
|
-
|
32
|
-
// Quick fix for labels in buttons
|
33
|
-
.btn & {
|
34
|
-
position: relative;
|
35
|
-
top: -1px;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
// Colors
|
40
|
-
// Contextual variations (linked labels get darker on :hover)
|
41
|
-
|
42
|
-
.label-default {
|
43
|
-
@include label-variant($label-default-bg);
|
44
|
-
}
|
45
|
-
|
46
|
-
.label-primary {
|
47
|
-
@include label-variant($label-primary-bg);
|
48
|
-
}
|
49
|
-
|
50
|
-
.label-success {
|
51
|
-
@include label-variant($label-success-bg);
|
52
|
-
}
|
53
|
-
|
54
|
-
.label-info {
|
55
|
-
@include label-variant($label-info-bg);
|
56
|
-
}
|
57
|
-
|
58
|
-
.label-warning {
|
59
|
-
@include label-variant($label-warning-bg);
|
60
|
-
}
|
61
|
-
|
62
|
-
.label-danger {
|
63
|
-
@include label-variant($label-danger-bg);
|
64
|
-
}
|
@@ -1,88 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// List groups
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
// Base class
|
6
|
-
//
|
7
|
-
// Easily usable on <ul>, <ol>, or <div>.
|
8
|
-
.list-group {
|
9
|
-
// No need to set list-style: none; since .list-group-item is block level
|
10
|
-
margin-bottom: 20px;
|
11
|
-
padding-left: 0; // reset padding because ul and ol
|
12
|
-
}
|
13
|
-
|
14
|
-
// Individual list items
|
15
|
-
// -------------------------
|
16
|
-
|
17
|
-
.list-group-item {
|
18
|
-
position: relative;
|
19
|
-
display: block;
|
20
|
-
padding: 10px 15px;
|
21
|
-
// Place the border on the list items and negative margin up for better styling
|
22
|
-
margin-bottom: -1px;
|
23
|
-
background-color: $list-group-bg;
|
24
|
-
border: 1px solid $list-group-border;
|
25
|
-
|
26
|
-
// Round the first and last items
|
27
|
-
&:first-child {
|
28
|
-
@include border-top-radius($list-group-border-radius);
|
29
|
-
}
|
30
|
-
&:last-child {
|
31
|
-
margin-bottom: 0;
|
32
|
-
@include border-bottom-radius($list-group-border-radius);
|
33
|
-
}
|
34
|
-
|
35
|
-
// Align badges within list items
|
36
|
-
> .badge {
|
37
|
-
float: right;
|
38
|
-
}
|
39
|
-
> .badge + .badge {
|
40
|
-
margin-right: 5px;
|
41
|
-
}
|
42
|
-
}
|
43
|
-
|
44
|
-
// Linked list items
|
45
|
-
a.list-group-item {
|
46
|
-
color: $list-group-link-color;
|
47
|
-
|
48
|
-
.list-group-item-heading {
|
49
|
-
color: $list-group-link-heading-color;
|
50
|
-
}
|
51
|
-
|
52
|
-
// Hover state
|
53
|
-
&:hover,
|
54
|
-
&:focus {
|
55
|
-
text-decoration: none;
|
56
|
-
background-color: $list-group-hover-bg;
|
57
|
-
}
|
58
|
-
|
59
|
-
// Active class on item itself, not parent
|
60
|
-
&.active,
|
61
|
-
&.active:hover,
|
62
|
-
&.active:focus {
|
63
|
-
z-index: 2; // Place active items above their siblings for proper border styling
|
64
|
-
color: $list-group-active-color;
|
65
|
-
background-color: $list-group-active-bg;
|
66
|
-
border-color: $list-group-active-border;
|
67
|
-
|
68
|
-
// Force color to inherit for custom content
|
69
|
-
.list-group-item-heading {
|
70
|
-
color: inherit;
|
71
|
-
}
|
72
|
-
.list-group-item-text {
|
73
|
-
color: lighten($list-group-active-bg, 40%);
|
74
|
-
}
|
75
|
-
}
|
76
|
-
}
|
77
|
-
|
78
|
-
// Custom content options
|
79
|
-
// -------------------------
|
80
|
-
|
81
|
-
.list-group-item-heading {
|
82
|
-
margin-top: 0;
|
83
|
-
margin-bottom: 5px;
|
84
|
-
}
|
85
|
-
.list-group-item-text {
|
86
|
-
margin-bottom: 0;
|
87
|
-
line-height: 1.3;
|
88
|
-
}
|
@@ -1,56 +0,0 @@
|
|
1
|
-
// Media objects
|
2
|
-
// Source: http://stubbornella.org/content/?p=497
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
// Common styles
|
7
|
-
// -------------------------
|
8
|
-
|
9
|
-
// Clear the floats
|
10
|
-
.media,
|
11
|
-
.media-body {
|
12
|
-
overflow: hidden;
|
13
|
-
zoom: 1;
|
14
|
-
}
|
15
|
-
|
16
|
-
// Proper spacing between instances of .media
|
17
|
-
.media,
|
18
|
-
.media .media {
|
19
|
-
margin-top: 15px;
|
20
|
-
}
|
21
|
-
.media:first-child {
|
22
|
-
margin-top: 0;
|
23
|
-
}
|
24
|
-
|
25
|
-
// For images and videos, set to block
|
26
|
-
.media-object {
|
27
|
-
display: block;
|
28
|
-
}
|
29
|
-
|
30
|
-
// Reset margins on headings for tighter default spacing
|
31
|
-
.media-heading {
|
32
|
-
margin: 0 0 5px;
|
33
|
-
}
|
34
|
-
|
35
|
-
|
36
|
-
// Media image alignment
|
37
|
-
// -------------------------
|
38
|
-
|
39
|
-
.media {
|
40
|
-
> .pull-left {
|
41
|
-
margin-right: 10px;
|
42
|
-
}
|
43
|
-
> .pull-right {
|
44
|
-
margin-left: 10px;
|
45
|
-
}
|
46
|
-
}
|
47
|
-
|
48
|
-
|
49
|
-
// Media list variation
|
50
|
-
// -------------------------
|
51
|
-
|
52
|
-
// Undo default ul/ol styles
|
53
|
-
.media-list {
|
54
|
-
padding-left: 0;
|
55
|
-
list-style: none;
|
56
|
-
}
|