rs-praxis-docs 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg width="52px" height="37px" viewBox="0 0 52 37" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
3
+ <!-- Generator: Sketch 3.3.2 (12043) - http://www.bohemiancoding.com/sketch -->
4
+ <title>product-icon-ss</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <defs></defs>
7
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
8
+ <g id="Application-Branding-Guide" sketch:type="MSArtboardGroup" transform="translate(-168.000000, -901.000000)">
9
+ <g id="product-icon-ss" sketch:type="MSLayerGroup" transform="translate(168.000000, 901.000000)">
10
+ <path d="M45.7,16.9 L45.7,16 C45.7,7.5 38.6,0 30.1,0 C23.9,0 18.8,4.1 16.3,9.3 C15.1,8.4 13.6,7.8 11.9,7.8 C8,7.9 4.8,11 4.8,15 C4.8,15.7 4.9,16.5 5.1,17.1 C2,18.9 0,22.3 0,26.1 C0,31.8 4.3,36.9 10,37 L42.1,37 C47.8,37 52,32 52,26.4 C52,22.1 49.4,18.5 45.7,16.9 L45.7,16.9 Z" id="Shape" fill="#F7A626" sketch:type="MSShapeGroup"></path>
11
+ <path d="M22.6,20 L23.5,23 L28,23 L28,20 L22.6,20 Z M29,20 L29,23 L32.8,23 L33.8,20 L29,20 Z M38,15.7 L37.7,15.7 C37.2,15.7 36.8,16 36.7,16.5 L36.5,17 L20.3,17 L19.7,14.9 C19.6,14.4 19.1,14 18.6,14 L13,14 C12.4,14 11.9,14.5 11.9,15.1 C11.9,15.7 12.3,16 12.9,16 L17.6,16 L20.2,25.2 C20.3,25.7 20.8,26 21.3,26 L34.6,26 C35.1,26 35.5,25.8 35.6,25.3 L38.4,17.2 C38.4,17.1 38.5,16.9 38.5,16.8 C38.6,16.3 38.4,15.9 38,15.7 L38,15.7 Z M34,24 L21.9,24 L20.8,19 L35.8,19 L34,24 L34,24 Z" id="Shape" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>
12
+ <circle id="Oval" fill="#FFFFFF" sketch:type="MSShapeGroup" cx="24" cy="29" r="2"></circle>
13
+ <circle id="Oval" fill="#FFFFFF" sketch:type="MSShapeGroup" cx="32" cy="29" r="2"></circle>
14
+ </g>
15
+ </g>
16
+ </g>
17
+ </svg>
@@ -0,0 +1,59 @@
1
+ <div class="header">
2
+ <div class="navbar navbar-default navbar-fixed-top" role="navigation">
3
+ <div class="container-fluid">
4
+ <div class="navbar-header">
5
+ <a class="navbar-brand visible-xs" href="#">
6
+ <img alt="RightScale API Browser" src="logo.svg">
7
+ </a>
8
+ <ul class="nav navbar-nav navbar-left hidden-xs hidden-print">
9
+ <li class="dropdown" dropdown on-toggle="toggled(open)">
10
+ <a href="#" class="navbar-brand header-logo dropdown-toggle dropdown-api-toggle" dropdown-toggle>RightScale API Browser <span class="caret"></span></a>
11
+ <div class="dropdown-menu">
12
+ <div class="dropdown-section section-cm">
13
+ <h3><a href="http://docs.rightscale.com/api/general_usage.html">Cloud Management</a></h3>
14
+ <ul>
15
+ <li ng-class="{active: info.name == '1.5'}"><a href="http://reference.rightscale.com/api1.5/index.html">API 1.5</a></li>
16
+ <li ng-class="{active: info.name == '1.6'}"><a href="http://reference.rightscale.com/api1.6/index.html">API 1.6</a></li>
17
+ </ul>
18
+ </div>
19
+ <div class="dropdown-section section-ca">
20
+ <h3><a href="http://docs.rightscale.com/ca/analytics_api.html">Cloud Analytics</a></h3>
21
+ <ul>
22
+ <li ng-class="{active: info.name == 'Cloud Analytics'}"><a href="http://reference.rightscale.com/cloud_analytics/analytics_api/index.html#/">Cloud Analytics</a></li>
23
+ <li ng-class="{active: info.name == 'Pricing Service'}"><a href="http://reference.rightscale.com/cloud_analytics/pricing_api/index.html#/">Pricing Service</a></li>
24
+ </ul>
25
+ </div>
26
+ <div class="dropdown-section section-ss">
27
+ <h3><a href="http://docs.rightscale.com/ss/guides/ss_api_guide.html">Self Service</a></h3>
28
+ <ul>
29
+ <li ng-class="{active: info.name == 'Manager'}"><a href="http://reference.rightscale.com/selfservice/manager/index.html#/1.0/controller/V1::Controller::Execution">Manager</a></li>
30
+ <li ng-class="{active: info.name == 'Designer'}"><a href="http://reference.rightscale.com/selfservice/designer/index.html#/1.0/controller/V1::Controller::Schedule">Designer</a></li>
31
+ <li ng-class="{active: info.name == 'Catalog'}"><a href="http://reference.rightscale.com/selfservice/catalog/index.html#/1.0/controller/V1::Controller::UserPreference">Catalog</a></li>
32
+ </ul>
33
+ </div>
34
+ </div>
35
+ </li>
36
+ </ul>
37
+ <button type="button" class="navbar-toggle collapsed" ng-init="navCollapsed = true" ng-click="navCollapsed = !navCollapsed" aria-expanded="false">
38
+ <span class="sr-only">Toggle navigation</span>
39
+ <span class="icon-bar"></span>
40
+ <span class="icon-bar"></span>
41
+ <span class="icon-bar"></span>
42
+ </button>
43
+ </div>
44
+
45
+ <div class="collapse navbar-collapse" ng-class="!navCollapsed && 'in'" ng-click="navCollapsed=true">
46
+ <ul class="nav navbar-nav navbar-right">
47
+ <li><a href="http://www.rightscale.com/about" target="_blank">About</a></li>
48
+ <li><a href="http://www.rightscale.com/blog/" target="_blank">Blog</a></li>
49
+ <li><a href="http://www.rightscale.com/contact" target="_blank">Contact</a></li>
50
+ <li><a href="http://my.rightscale.com" target="_blank">Log In</a></li>
51
+ </ul>
52
+ <ul class="nav navbar-nav navbar-right nav-status">
53
+ <li><a href="http://status.rightscale.com" target="_blank">System Status</a></li>
54
+ </ul>
55
+ <search-form class="navbar-form navbar-left"></search-form>
56
+ </div>
57
+ </div>
58
+ </div>
59
+ </div>
@@ -0,0 +1,19 @@
1
+ require "rs-praxis-docs/version"
2
+ require "praxis-docs-search"
3
+
4
+ module RSPraxisDocs
5
+ class Plugin < ::Praxis::Plugin
6
+ include Singleton
7
+ def setup!
8
+ docs = Praxis::DocsSearch.instance
9
+
10
+ register_doc_browser_plugin File.join(File.dirname(__FILE__), 'api_browser')
11
+ docs.application = self.application
12
+ docs.setup!
13
+ end
14
+
15
+ def config_key
16
+ :rs_praxis_docs
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,3 @@
1
+ module RSPraxisDocs
2
+ VERSION = "0.1.0"
3
+ end
data/nav.png ADDED
Binary file
@@ -0,0 +1,34 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'rs-praxis-docs/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "rs-praxis-docs"
8
+ spec.version = RSPraxisDocs::VERSION
9
+ spec.authors = ["Jakub Hampl"]
10
+ spec.email = ["jakub.hampl@rightscale.com"]
11
+
12
+ spec.summary = %q{A Praxis plugin containing common Doc Browser Customizations}
13
+ # spec.description = %q{TODO: Write a longer description or delete this line.}
14
+ spec.homepage = "https://github.com/rightscale/rs-praxis-docs"
15
+
16
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
17
+ # delete this section to allow pushing this gem to any host.
18
+ if spec.respond_to?(:metadata)
19
+ spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
20
+ else
21
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
22
+ end
23
+
24
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
+ spec.bindir = "exe"
26
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
+ spec.require_paths = ["lib"]
28
+
29
+ spec.add_development_dependency "bundler", "~> 1.10"
30
+ spec.add_development_dependency "rake", "~> 10.0"
31
+
32
+ spec.add_dependency "praxis-docs-search", "~> 0.1.0"
33
+ spec.add_dependency "praxis", "~> 0.20.1"
34
+ end
metadata ADDED
@@ -0,0 +1,134 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rs-praxis-docs
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Jakub Hampl
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-05-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.10'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.10'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: praxis-docs-search
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: 0.1.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 0.1.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: praxis
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 0.20.1
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: 0.20.1
69
+ description:
70
+ email:
71
+ - jakub.hampl@rightscale.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - .gitignore
77
+ - .travis.yml
78
+ - Gemfile
79
+ - README.md
80
+ - Rakefile
81
+ - bin/setup
82
+ - lib/api_browser/bower.json
83
+ - lib/api_browser/ca-mark.svg
84
+ - lib/api_browser/cm-mark.svg
85
+ - lib/api_browser/favicon.ico
86
+ - lib/api_browser/fonts/bariol_bold-webfont.eot
87
+ - lib/api_browser/fonts/bariol_bold-webfont.svg
88
+ - lib/api_browser/fonts/bariol_bold-webfont.ttf
89
+ - lib/api_browser/fonts/bariol_bold-webfont.woff
90
+ - lib/api_browser/fonts/bariol_regular-webfont.eot
91
+ - lib/api_browser/fonts/bariol_regular-webfont.svg
92
+ - lib/api_browser/fonts/bariol_regular-webfont.ttf
93
+ - lib/api_browser/fonts/bariol_regular-webfont.woff
94
+ - lib/api_browser/icon-caret.svg
95
+ - lib/api_browser/icon-email.svg
96
+ - lib/api_browser/icon-feedback.svg
97
+ - lib/api_browser/icon-phone.svg
98
+ - lib/api_browser/icon-search.svg
99
+ - lib/api_browser/logo.svg
100
+ - lib/api_browser/main.js
101
+ - lib/api_browser/request-examples-curl.js
102
+ - lib/api_browser/request-examples-overrides.js
103
+ - lib/api_browser/rs-praxis-doc-browser.scss
104
+ - lib/api_browser/ss-mark.svg
105
+ - lib/api_browser/views/navbar.html
106
+ - lib/rs-praxis-docs.rb
107
+ - lib/rs-praxis-docs/version.rb
108
+ - nav.png
109
+ - rs-praxis-docs.gemspec
110
+ homepage: https://github.com/rightscale/rs-praxis-docs
111
+ licenses: []
112
+ metadata:
113
+ allowed_push_host: ! 'TODO: Set to ''http://mygemserver.com'''
114
+ post_install_message:
115
+ rdoc_options: []
116
+ require_paths:
117
+ - lib
118
+ required_ruby_version: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - ! '>='
121
+ - !ruby/object:Gem::Version
122
+ version: '0'
123
+ required_rubygems_version: !ruby/object:Gem::Requirement
124
+ requirements:
125
+ - - ! '>='
126
+ - !ruby/object:Gem::Version
127
+ version: '0'
128
+ requirements: []
129
+ rubyforge_project:
130
+ rubygems_version: 2.4.5
131
+ signing_key:
132
+ specification_version: 4
133
+ summary: A Praxis plugin containing common Doc Browser Customizations
134
+ test_files: []