Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ <h3><a id="user-content-visualizing-the-application" class="anchor" href="#visua
-->

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

</div>
Expand Down
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
This directory contains the deployment and internal documentation.
microservices-demo documentation
================================

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

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.

## Getting started

There is a [docker-compose](https://docs.docker.com/compose/) included for
local development, use the following command to start it:

```
docker-compose up
```
6 changes: 0 additions & 6 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# Production settings

baseurl: ""
deploy_doc_url_prefix: https://microservices-demo.github.io/microservices-demo
main_url_prefix: https://microservices-demo.github.io

# Build settings
markdown: kramdown
exclude:
Expand Down
12 changes: 0 additions & 12 deletions _config.yml.dev

This file was deleted.

4 changes: 2 additions & 2 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<div class="header clearfix">
<div class="header-home"><a href="{{site.main_url_prefix}}/">Sock Shop</a></div>
<div class="header-home"><a href="/">Sock Shop</a></div>
<nav>
<ul class="nav header-nav">
<li class="{% if include.quickstart %}active{% endif %}"><a href="/docs/quickstart.html">Quickstart</a></li>
<li class="{% if include.docs %}active{% endif %}"><a href="/docs/index.html">Docs</a></li>
<li class="{% if include.api %}active{% endif %}"><a href="/api/index.html">API</a></li>
<li><a href="http://github.com/microservices-demo" target="_blank">GitHub</a></li>
<li><a href="https://github.com/microservices-demo" target="_blank">GitHub</a></li>
</ul>
</nav>
</div>
2 changes: 1 addition & 1 deletion _layouts/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h1>API</h1>
</div>

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

Expand Down
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h1>Documentation</h1>
</div>

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

</div>
Expand Down
4 changes: 2 additions & 2 deletions _layouts/quickstart.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

<div class="inner">
<h1>Documentation</h1>

<div class="row">
<div class="col-sm-3">
{% include doc_menu.html %}
Expand All @@ -39,7 +39,7 @@ <h1>Documentation</h1>
</div>

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

</div>
Expand Down
4 changes: 2 additions & 2 deletions assets/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ code.highlighter-rouge {
font-weight: bold;
margin: 0.3em 0 0;
padding: 0 0 0 30px;
background-image: url({{ site.deploy_doc_url_prefix }}/assets/img/weaveworks-logo.png);
background-image: url(/assets/img/weaveworks-logo.png);
background-repeat: no-repeat;
background-position-y: 0.3em;
background-size: 1em 1em;
Expand Down Expand Up @@ -95,7 +95,7 @@ code.highlighter-rouge {
}

.hero-banner {
background: url(../img/hero_socks.png);
background: url(/assets/img/hero_socks.png);
margin: 0 0 2em;
}

Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ services:
- 4000:4000
volumes:
- .:/srv/jekyll
- $PWD/_config.yml.dev:/srv/jekyll/_config.yml
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ <h3><a id="user-content-visualizing-the-application" class="anchor" href="#visua
</div>

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

</div>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ This explains how to deploy the Sock Shop onto any existing Kubernetes cluster.

1. [Clone the microservices-demo repository](https://github.com/microservices-demo/microservices-demo)
2. Go to the *deploy/kubernetes* folder
```
kubectl create namespace sock-shop
kubectl apply -f complete-demo.yaml
```

```
kubectl create namespace sock-shop

kubectl apply -f complete-demo.yaml
```