Browse Source

Merge branch 'gh-pages' of https://github.com/spring-projects/gh-pages into gh-pages

pull/22681/head
Brian Clozel 9 years ago
parent
commit
f47cfae899
  1. 64
      Gemfile.lock
  2. 2
      README.markdown
  3. 4
      _includes/badges.html
  4. 42
      _includes/page.html
  5. 2
      js/projectDocumentationWidget.js

64
Gemfile.lock

@ -1,7 +1,6 @@
GEM GEM
remote: http://rubygems.org/ remote: http://rubygems.org/
specs: specs:
RedCloth (4.2.9)
activesupport (4.2.6) activesupport (4.2.6)
i18n (~> 0.7) i18n (~> 0.7)
json (~> 1.7, >= 1.7.7) json (~> 1.7, >= 1.7.7)
@ -14,36 +13,32 @@ GEM
execjs execjs
coffee-script-source (1.10.0) coffee-script-source (1.10.0)
colorator (0.1) colorator (0.1)
ethon (0.8.1) ethon (0.9.0)
ffi (>= 1.3.0) ffi (>= 1.3.0)
execjs (2.6.0) execjs (2.7.0)
faraday (0.9.2) faraday (0.9.2)
multipart-post (>= 1.2, < 3) multipart-post (>= 1.2, < 3)
ffi (1.9.10) ffi (1.9.13)
gemoji (2.1.0) gemoji (2.1.0)
github-pages (75) github-pages (86)
RedCloth (= 4.2.9)
github-pages-health-check (= 1.1.0) github-pages-health-check (= 1.1.0)
jekyll (= 3.0.4) jekyll (= 3.1.6)
jekyll-coffeescript (= 1.0.1) jekyll-coffeescript (= 1.0.1)
jekyll-feed (= 0.5.1) jekyll-feed (= 0.5.1)
jekyll-gist (= 1.4.0) jekyll-gist (= 1.4.0)
jekyll-github-metadata (= 1.11.1) jekyll-github-metadata (= 2.0.2)
jekyll-mentions (= 1.1.2) jekyll-mentions (= 1.1.3)
jekyll-paginate (= 1.1.0) jekyll-paginate (= 1.1.0)
jekyll-redirect-from (= 0.10.0) jekyll-redirect-from (= 0.10.0)
jekyll-sass-converter (= 1.3.0) jekyll-sass-converter (= 1.3.0)
jekyll-seo-tag (= 1.3.3) jekyll-seo-tag (= 2.0.0)
jekyll-sitemap (= 0.10.0) jekyll-sitemap (= 0.10.0)
jekyll-textile-converter (= 0.1.0)
jemoji (= 0.6.2) jemoji (= 0.6.2)
kramdown (= 1.10.0) kramdown (= 1.11.1)
liquid (= 3.0.6) liquid (= 3.0.6)
listen (= 3.0.6) listen (= 3.0.6)
mercenary (~> 0.3) mercenary (~> 0.3)
rdiscount (= 2.1.8) rouge (= 1.11.1)
redcarpet (= 3.3.3)
rouge (= 1.10.1)
terminal-table (~> 1.4) terminal-table (~> 1.4)
github-pages-health-check (1.1.0) github-pages-health-check (1.1.0)
addressable (~> 2.3) addressable (~> 2.3)
@ -51,11 +46,11 @@ GEM
octokit (~> 4.0) octokit (~> 4.0)
public_suffix (~> 1.4) public_suffix (~> 1.4)
typhoeus (~> 0.7) typhoeus (~> 0.7)
html-pipeline (2.4.0) html-pipeline (2.4.1)
activesupport (>= 2, < 5) activesupport (>= 2, < 5)
nokogiri (>= 1.4) nokogiri (>= 1.4)
i18n (0.7.0) i18n (0.7.0)
jekyll (3.0.4) jekyll (3.1.6)
colorator (~> 0.1) colorator (~> 0.1)
jekyll-sass-converter (~> 1.0) jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1) jekyll-watch (~> 1.1)
@ -69,9 +64,10 @@ GEM
jekyll-feed (0.5.1) jekyll-feed (0.5.1)
jekyll-gist (1.4.0) jekyll-gist (1.4.0)
octokit (~> 4.2) octokit (~> 4.2)
jekyll-github-metadata (1.11.1) jekyll-github-metadata (2.0.2)
jekyll (~> 3.1)
octokit (~> 4.0) octokit (~> 4.0)
jekyll-mentions (1.1.2) jekyll-mentions (1.1.3)
html-pipeline (~> 2.3) html-pipeline (~> 2.3)
jekyll (~> 3.0) jekyll (~> 3.0)
jekyll-paginate (1.1.0) jekyll-paginate (1.1.0)
@ -79,45 +75,43 @@ GEM
jekyll (>= 2.0) jekyll (>= 2.0)
jekyll-sass-converter (1.3.0) jekyll-sass-converter (1.3.0)
sass (~> 3.2) sass (~> 3.2)
jekyll-seo-tag (1.3.3) jekyll-seo-tag (2.0.0)
jekyll (~> 3.0) jekyll (~> 3.1)
jekyll-sitemap (0.10.0) jekyll-sitemap (0.10.0)
jekyll-textile-converter (0.1.0) jekyll-watch (1.4.0)
RedCloth (~> 4.0) listen (~> 3.0, < 3.1)
jekyll-watch (1.3.1)
listen (~> 3.0)
jemoji (0.6.2) jemoji (0.6.2)
gemoji (~> 2.0) gemoji (~> 2.0)
html-pipeline (~> 2.2) html-pipeline (~> 2.2)
jekyll (>= 3.0) jekyll (>= 3.0)
json (1.8.3) json (1.8.3)
kramdown (1.10.0) kramdown (1.11.1)
liquid (3.0.6) liquid (3.0.6)
listen (3.0.6) listen (3.0.6)
rb-fsevent (>= 0.9.3) rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9.7) rb-inotify (>= 0.9.7)
mercenary (0.3.6) mercenary (0.3.6)
mini_portile2 (2.0.0) mini_portile2 (2.1.0)
minitest (5.8.4) minitest (5.9.0)
multipart-post (2.0.0) multipart-post (2.0.0)
net-dns (0.8.0) net-dns (0.8.0)
nokogiri (1.6.7.2) nokogiri (1.6.8)
mini_portile2 (~> 2.0.0.rc2) mini_portile2 (~> 2.1.0)
pkg-config (~> 1.1.7)
octokit (4.3.0) octokit (4.3.0)
sawyer (~> 0.7.0, >= 0.5.3) sawyer (~> 0.7.0, >= 0.5.3)
pkg-config (1.1.7)
public_suffix (1.5.3) public_suffix (1.5.3)
rb-fsevent (0.9.7) rb-fsevent (0.9.7)
rb-inotify (0.9.7) rb-inotify (0.9.7)
ffi (>= 0.5.0) ffi (>= 0.5.0)
rdiscount (2.1.8) rouge (1.11.1)
redcarpet (3.3.3)
rouge (1.10.1)
safe_yaml (1.0.4) safe_yaml (1.0.4)
sass (3.4.22) sass (3.4.22)
sawyer (0.7.0) sawyer (0.7.0)
addressable (>= 2.3.5, < 2.5) addressable (>= 2.3.5, < 2.5)
faraday (~> 0.8, < 0.10) faraday (~> 0.8, < 0.10)
terminal-table (1.5.2) terminal-table (1.6.0)
thread_safe (0.3.5) thread_safe (0.3.5)
typhoeus (0.8.0) typhoeus (0.8.0)
ethon (>= 0.8.0) ethon (>= 0.8.0)
@ -132,4 +126,4 @@ DEPENDENCIES
rouge rouge
BUNDLED WITH BUNDLED WITH
1.11.2 1.12.5

2
README.markdown

@ -107,7 +107,7 @@ Assuming you're already within your project's clone directory, and you've alread
Use the `--watch` flag to pick up changes to files as you make them, allowing you a nice edit-and-refresh workflow. Use the `--watch` flag to pick up changes to files as you make them, allowing you a nice edit-and-refresh workflow.
jekyll serve --watch bundle exec jekyll serve --watch
> **Important:** Because the `baseurl` is set explicitly within your project's `_config.yml` file, you'll need to fully-qualify the URL to view your project. For example, if your project is named "spring-xyz", your URL when running Jekyll locally will be <http://localhost:4000/spring-xyz/>. Don't forget the trailing slash! You'll get a 404 without it. > **Important:** Because the `baseurl` is set explicitly within your project's `_config.yml` file, you'll need to fully-qualify the URL to view your project. For example, if your project is named "spring-xyz", your URL when running Jekyll locally will be <http://localhost:4000/spring-xyz/>. Don't forget the trailing slash! You'll get a 404 without it.

4
_includes/badges.html

@ -1,7 +1,7 @@
{% if page.badges.twitter %} {% if page.badges.twitter %}
<div class="project-sub-link"> <div class="project-sub-link">
<a href="https://twitter.com/{{ page.badges.twitter }}"> <a href="https://twitter.com/{{ page.badges.twitter }}">
<div class="spring-icon project-badges twitter" alt="Twitter" title="Twitter"> <div class="spring-icon project-badges twitter" title="Twitter">
</div> </div>
</a> </a>
</div> </div>
@ -9,7 +9,7 @@
{% for badge in page.badges.custom %} {% for badge in page.badges.custom %}
<div class="project-sub-link"> <div class="project-sub-link">
<a href="{{ badge.url }}"> <a href="{{ badge.url }}">
<div class="spring-icon project-badges {{ badge.icon }}" alt="{{ badge.name }}" title="{{ badge.name }}"> <div class="spring-icon project-badges {{ badge.icon }}" title="{{ badge.name }}">
</div> </div>
</a> </a>
</div> </div>

42
_includes/page.html

@ -1,10 +1,10 @@
<head> <head>
<title>{{ site.name }}</title> <title>{{ site.name }}</title>
<link rel="icon" type="image/png" href="{{site.baseurl}}/favicon.png"/> <link rel="icon" type="image/png" href="{{site.baseurl}}/favicon.png" />
<link rel="stylesheet" type="text/css" href="{{site.baseurl}}/bootstrap/css/bootstrap.min.css" /> <link rel="stylesheet" type="text/css" href="{{site.baseurl}}/bootstrap/css/bootstrap.min.css" />
<link href='//fonts.googleapis.com/css?family=Varela+Round|Montserrat:400,700' rel='stylesheet' type='text/css'> <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Varela+Round|Montserrat:400,700" />
<link rel="stylesheet" type="text/css" href="{{site.baseurl}}/font-awesome/css/font-awesome.min.css" /> <link rel="stylesheet" type="text/css" href="{{site.baseurl}}/font-awesome/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="{{site.baseurl}}/bootstrap/css/bootstrap-select.css" /> <link rel="stylesheet" type="text/css" href="{{site.baseurl}}/bootstrap/css/bootstrap-select.css" />
@ -18,21 +18,21 @@
{{ head_links }} {{ head_links }}
<script type="text/javascript" src="{{site.baseurl}}/js/jquery.js"></script> <script src="{{site.baseurl}}/js/jquery.js"></script>
<script type="text/javascript" src="{{site.baseurl}}/bootstrap/js/bootstrap.min.js"></script> <script src="{{site.baseurl}}/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="{{site.baseurl}}/bootstrap/js/bootstrap-select.js"></script> <script src="{{site.baseurl}}/bootstrap/js/bootstrap-select.js"></script>
<script type="text/javascript" src="{{site.baseurl}}/js/underscore.js"></script> <script src="{{site.baseurl}}/js/underscore.js"></script>
<script type="text/javascript" src="{{site.baseurl}}/js/backbone.js"></script> <script src="{{site.baseurl}}/js/backbone.js"></script>
<script type="text/javascript" src="{{site.baseurl}}/js/projectDocumentationWidget.js"></script> <script src="{{site.baseurl}}/js/projectDocumentationWidget.js"></script>
<script type="text/javascript" src="{{site.baseurl}}/js/application.js"></script> <script src="{{site.baseurl}}/js/application.js"></script>
<script type="text/javascript" src="{{site.baseurl}}/js/clipboard.min.js"></script> <script src="{{site.baseurl}}/js/clipboard.min.js"></script>
<script type="text/javascript"> <script>
var apiBaseUrl = "{{ site.main_site_url }}"; var apiBaseUrl = "{{ site.main_site_url }}",
var projectId = "{{ site.project }}"; projectId = "{{ site.project }}",
var siteBaseUrl = "{{ site.baseurl }}"; siteBaseUrl = "{{ site.baseurl }}";
</script> </script>
<script type="text/javascript" src="{{site.baseurl}}/js/copySnippets.js"></script> <script src="{{site.baseurl}}/js/copySnippets.js"></script>
<meta name="google-site-verification" content="7qGntFPD9lWAVCtUu5U77v4l68PsTHf6xpzgjQv2j2M" /> <meta name="google-site-verification" content="7qGntFPD9lWAVCtUu5U77v4l68PsTHf6xpzgjQv2j2M" />
<script> <script>
var _gaq = _gaq || []; var _gaq = _gaq || [];
@ -84,12 +84,12 @@
<div class="container-fluid"> <div class="container-fluid">
<div class="search-form--container"> <div class="search-form--container">
<form class="form-inline form-search" <form class="form-inline form-search"
action="{{site.main_site_url}}/search" method="get"> action="{{site.main_site_url}}/search">
<input type="text" <input type="search"
class="search-query search-form--form js-search-input" class="search-query search-form--form js-search-input"
placeholder="Search for documention, guides, and posts..." placeholder="Search for documention, guides, and posts..."
name="q" /> name="q" />
<button type="submit" class="search-form--submit"> <button class="search-form--submit">
<i class="icon-search"></i> <i class="icon-search"></i>
</button> </button>
</form> </form>
@ -113,10 +113,10 @@
</ul> </ul>
</div> </div>
</div> </div>
&copy; <script type="text/javascript"> var d = new Date(); &copy; <script> var d = new Date();
document.write(d.getFullYear());</script> <a href="https://www.pivotal.io">Pivotal Software</a>, Inc. All Rights Reserved. document.write(d.getFullYear());</script> <a href="https://www.pivotal.io">Pivotal Software</a>, Inc. All Rights Reserved.
<a href="https://www.pivotal.io/terms-of-use">Terms of Use</a> and <a href="https://pivotal.io/terms-of-use">Terms of Use</a> and
<a href="https://www.pivotal.io/privacy-policy">Privacy</a> <a href="https://pivotal.io/privacy-policy">Privacy</a>
</div> </div>
</div> </div>
</div> </div>

2
js/projectDocumentationWidget.js

@ -95,7 +95,7 @@ Spring.SnippetView = Backbone.View.extend({
this.combinedTemplate = _.template( this.combinedTemplate = _.template(
"<div class=\"highlight\"><pre><code>" + "<div class=\"highlight\"><pre><code>" +
downloadTemplate.find("code:first").html() + downloadTemplate.find("code:first").html() +
"{@ if (repository) { @}" + "{@ if (typeof(repository) != \"undefined\") { @}" +
repositoryTemplate.find("code:first").html() + repositoryTemplate.find("code:first").html() +
"{@ } @}" + "{@ } @}" +
"</code></pre></div>" "</code></pre></div>"

Loading…
Cancel
Save