Skip to content

Commit 204b0bb

Browse files
committed
Merge remote-tracking branch 'pages/gh-pages' into gh-pages
2 parents efcb224 + d25f656 commit 204b0bb

File tree

4 files changed

+19
-21
lines changed

4 files changed

+19
-21
lines changed

README.markdown

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ From within your Spring project's git checkout directory:
1515

1616
### Remove all files
1717

18-
git rm -rf *
19-
git rm -rf '.*'
18+
git rm -rf `git ls-files` && rm -rf *
2019

2120
### Add the gh-pages-upstream remote
2221

@@ -50,11 +49,11 @@ At this point you need to make a decision: is your project a "grouping project",
5049

5150
Based on your choice above, copy the correct sample page to `index.html`, e.g.:
5251

53-
$ cp sample-pages/project.html index.html
52+
$ cp _sample-pages/project.html index.html
5453

5554
or
5655

57-
$ cp sample-pages/project_group.html index.html
56+
$ cp _sample-pages/project_group.html index.html
5857

5958

6059
## Edit the content of your home page
@@ -96,9 +95,10 @@ Assuming you're already within your project's clone directory, and you've alread
9695

9796
### Install jekyll if you have not already
9897

99-
> **Note:** Jekyll 1.1.2 is a known good version.
98+
> **Note:** Jekyll 1.1.2 is a known good version, and it is specifically referred to in `Gemfile.lock` so you have to use `bundle` (not `gem install ...`) to install it:
10099
101-
gem install jekyll
100+
gem install bundler
101+
bundle
102102

103103
### Run jekyll
104104

_config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ custom_gradle_template: false
2929

3030
### The following properties are constant for most projects
3131

32-
main_site_url: http://spring.io
33-
projects_site_url: http://projects.spring.io
34-
questions_url: http://spring.io/questions
32+
main_site_url: https://spring.io
33+
projects_site_url: https://projects.spring.io
34+
questions_url: https://spring.io/questions

_includes/page.html

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<link rel="icon" type="image/png" href="{{site.baseurl}}/favicon.png"/>
55

66
<link rel="stylesheet" type="text/css" href="{{site.baseurl}}/bootstrap/css/bootstrap.min.css" />
7-
<link href='http://fonts.googleapis.com/css?family=Varela+Round|Montserrat:400,700' rel='stylesheet' type='text/css'>
7+
<link href='//fonts.googleapis.com/css?family=Varela+Round|Montserrat:400,700' rel='stylesheet' type='text/css'>
88
<link rel="stylesheet" type="text/css" href="{{site.baseurl}}/font-awesome/css/font-awesome.min.css" />
99
<link rel="stylesheet" type="text/css" href="{{site.baseurl}}/bootstrap/css/bootstrap-select.css" />
1010

@@ -114,15 +114,9 @@
114114
</div>
115115
</div>
116116
&copy; <script type="text/javascript"> var d = new Date();
117-
document.write(d.getFullYear());</script> <a href="http://www.pivotal.io">Pivotal Software</a>, Inc. All Rights Reserved.
118-
<a href="http://www.pivotal.io/terms-of-use">Terms of Use</a> and
119-
<a href="http://www.pivotal.io/privacy-policy">Privacy</a>
120-
</div>
121-
<div class="span4 footer-newsletter--wrapper pull-right">
122-
<div class="footer-newsletter--container">
123-
<label>Subscribe to our newsletter</label>
124-
<iframe frameborder="0" height="42px" scrolling="no" src="http://play.gopivotal.com/OSS_Website_Spring_SpringNewsletterSubscriptionEmailOnly.html" style="border:none" width="324px"></iframe>
125-
</div>
117+
document.write(d.getFullYear());</script> <a href="https://www.pivotal.io">Pivotal Software</a>, Inc. All Rights Reserved.
118+
<a href="https://www.pivotal.io/terms-of-use">Terms of Use</a> and
119+
<a href="https://www.pivotal.io/privacy-policy">Privacy</a>
126120
</div>
127121
</div>
128122
</div>

_includes/widget_templates.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@
1818
<div class="spring-icon {@= release.statusIconClass() @}"></div>
1919
</div>
2020
<div class="item--right-column">
21-
<a href='{@= release.refDocUrl @}' class="docs-link reference-link">Reference</a>
22-
<a href='{@= release.apiDocUrl @}' class="docs-link api-link">API</a>
21+
{@ if (release.refDocUrl !== '') { @}
22+
<a href='{@= release.refDocUrl @}' class="docs-link reference-link">Reference</a>
23+
{@ }; @}
24+
{@ if (release.apiDocUrl !== '') { @}
25+
<a href='{@= release.apiDocUrl @}' class="docs-link api-link">API</a>
26+
{@ }; @}
2327
</div>
2428
</div>
2529
{@ }); @}

0 commit comments

Comments
 (0)