Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Commit d2057e5

Browse files
authored
Merge pull request #75 from microservices-demo/fix-documentation-links
Fix documentation links
2 parents 01cfcff + ddb9fbd commit d2057e5

29 files changed

+29
-36
lines changed

404.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ <h3><a id="user-content-visualizing-the-application" class="anchor" href="#visua
8585
-->
8686

8787
<div class="footer">
88-
<p>&copy;2016 <a href="http://weave.works/" target="_blank">Weaveworks, Inc</a></p>
88+
<p>&copy;2017 <a href="http://weave.works/" target="_blank">Weaveworks, Inc</a></p>
8989
</div>
9090

9191
</div>

README.md

+13-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1-
This directory contains the deployment and internal documentation.
1+
microservices-demo documentation
2+
================================
23

3-
Both are published on https://microservices-demo.github.io/microservices-demo/.
4+
> This directory contains the deployment and internal documentation.
5+
It is published at [microservices-demo.github.io](https://microservices-demo.github.io)
46

5-
There is a docker-compose included for local development. Note that it mounts `_config.yml.dev` in the place of `_config.yml`, to enable local linking.
7+
8+
## Getting started
9+
10+
There is a [docker-compose](https://docs.docker.com/compose/) included for
11+
local development, use the following command to start it:
12+
13+
```
14+
docker-compose up
15+
```

_config.yml

-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
# Production settings
2-
3-
baseurl: ""
4-
deploy_doc_url_prefix: https://microservices-demo.github.io/microservices-demo
5-
main_url_prefix: https://microservices-demo.github.io
6-
71
# Build settings
82
markdown: kramdown
93
exclude:

_config.yml.dev

-12
This file was deleted.

_includes/header.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<div class="header clearfix">
2-
<div class="header-home"><a href="{{site.main_url_prefix}}/">Sock Shop</a></div>
2+
<div class="header-home"><a href="/">Sock Shop</a></div>
33
<nav>
44
<ul class="nav header-nav">
55
<li class="{% if include.quickstart %}active{% endif %}"><a href="/docs/quickstart.html">Quickstart</a></li>
66
<li class="{% if include.docs %}active{% endif %}"><a href="/docs/index.html">Docs</a></li>
77
<li class="{% if include.api %}active{% endif %}"><a href="/api/index.html">API</a></li>
8-
<li><a href="http://github.com/microservices-demo" target="_blank">GitHub</a></li>
8+
<li><a href="https://github.com/microservices-demo" target="_blank">GitHub</a></li>
99
</ul>
1010
</nav>
1111
</div>

_layouts/api.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ <h1>API</h1>
4545
</div>
4646

4747
<div class="footer">
48-
<p>&copy;2016 <a href="http://weave.works/" target="_blank">Weaveworks, Inc</a></p>
48+
<p>&copy;2017 <a href="http://weave.works/" target="_blank">Weaveworks, Inc</a></p>
4949
</div>
5050
</div>
5151

_layouts/default.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h1>Documentation</h1>
3939
</div>
4040

4141
<div class="footer">
42-
<p>&copy;2016 <a href="http://weave.works/" target="_blank">Weaveworks, Inc</a></p>
42+
<p>&copy;2017 <a href="http://weave.works/" target="_blank">Weaveworks, Inc</a></p>
4343
</div>
4444

4545
</div>

_layouts/quickstart.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
<div class="inner">
2828
<h1>Documentation</h1>
29-
29+
3030
<div class="row">
3131
<div class="col-sm-3">
3232
{% include doc_menu.html %}
@@ -39,7 +39,7 @@ <h1>Documentation</h1>
3939
</div>
4040

4141
<div class="footer">
42-
<p>&copy;2016 <a href="http://weave.works/" target="_blank">Weaveworks, Inc</a></p>
42+
<p>&copy;2017 <a href="http://weave.works/" target="_blank">Weaveworks, Inc</a></p>
4343
</div>
4444

4545
</div>

assets/css/custom.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ code.highlighter-rouge {
6060
font-weight: bold;
6161
margin: 0.3em 0 0;
6262
padding: 0 0 0 30px;
63-
background-image: url({{ site.deploy_doc_url_prefix }}/assets/img/weaveworks-logo.png);
63+
background-image: url(/assets/img/weaveworks-logo.png);
6464
background-repeat: no-repeat;
6565
background-position-y: 0.3em;
6666
background-size: 1em 1em;
@@ -95,7 +95,7 @@ code.highlighter-rouge {
9595
}
9696

9797
.hero-banner {
98-
background: url(../img/hero_socks.png);
98+
background: url(/assets/img/hero_socks.png);
9999
margin: 0 0 2em;
100100
}
101101

docker-compose.yml

-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ services:
1313
- 4000:4000
1414
volumes:
1515
- .:/srv/jekyll
16-
- $PWD/_config.yml.dev:/srv/jekyll/_config.yml

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ <h3><a id="user-content-visualizing-the-application" class="anchor" href="#visua
113113
</div>
114114

115115
<div class="footer">
116-
<p>&copy;2016 <a href="http://weave.works/" target="_blank">Weaveworks, Inc</a></p>
116+
<p>&copy;2017 <a href="http://weave.works/" target="_blank">Weaveworks, Inc</a></p>
117117
</div>
118118

119119
</div>
File renamed without changes.
File renamed without changes.
File renamed without changes.

deployment/kubernetes-start.md renamed to microservices-demo/deployment/kubernetes-start.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ This explains how to deploy the Sock Shop onto any existing Kubernetes cluster.
1919

2020
1. [Clone the microservices-demo repository](https://github.com/microservices-demo/microservices-demo)
2121
2. Go to the *deploy/kubernetes* folder
22-
```
23-
kubectl create namespace sock-shop
24-
kubectl apply -f complete-demo.yaml
25-
```
22+
23+
```
24+
kubectl create namespace sock-shop
25+
26+
kubectl apply -f complete-demo.yaml
27+
```
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)