putting back in the index.md

Fixing bad image links
Fixing broken images redux
The (./index.md) doesn't resolve in hugo; fixing
Working script confirmed
fixing broken link

Signed-off-by: Mary Anthony <mary@docker.com>
This commit is contained in:
Mary Anthony 2015-06-16 05:34:56 -07:00
parent 1919f4beeb
commit bcd158aedb
6 changed files with 20 additions and 15 deletions

View File

@ -8,17 +8,23 @@ COPY . /docs/content/kitematic/
# Sed to process GitHub Markdown
# 1-2 Remove comment code from metadata block
# 3 Remove .md extension from link text
# 4 Change ](/ to ](/project/ in links
# 5 Change ](word) to ](/project/word)
# 6 Change ](../../ to ](/project/
# 7 Change ](../ to ](/project/word)
#
# 3 Change ](/word to ](/project/ in links
# 4 Change ](word.md) to ](/project/word)
# 5 Remove .md extension from link text
# 6 Change ](./ to ](/project/word)
# 7 Change ](../../ to ](/project/
# 8 Change ](../ to ](/project/
# 9 Change ](# to ](/project/
#
RUN find /docs/content/kitematic -type f -name "*.md" -exec sed -i.old \
-e '/^<!.*metadata]>/g' \
-e '/^<!.*end-metadata.*>/g' \
-e 's/\([(]\)\(.*\)\(\.md\)/\1\2/g' \
-e 's/\(\]\)\([(]\)\(\/\)/\1\2\/kitematic\//g' \
-e 's/\(\][(]\)\([A-z]*[)]\)/\]\(\/kitematic\/\2/g' \
-e 's/\(\][(]\)\([A-z].*\)\(\.md\)/\1\/kitematic\/\2/g' \
-e 's/\([(]\)\(.*\)\(\.md\)/\1\2/g' \
-e 's/\(\][(]\)\(\.\/\)/\1\/kitematic\//g' \
-e 's/\(\][(]\)\(\.\.\/\.\.\/\)/\1\/kitematic\//g' \
-e 's/\(\][(]\)\(\.\.\/\)/\1\/kitematic\//g' {} \;

View File

@ -38,17 +38,16 @@ container!
Kitematic is a self-contained .app, with an exception:
- It will install VirtualBox if it's not already installed.
convenience.
### Why does Kitematic need my root password?
Kitematic needs your root password for two reasons:
- Installing VirtualBox requires root as it includes Mac OS X kernel extensions.
- Installing VirtualBox requires root access as it includes Mac OS X kernel extensions.
- Copying `docker` and `docker-machine` to `/usr/local/bin` may require root
permission if the default permissions for this directory have been changed
prior to installing Kitematic.
## Next Steps
For information about using Kitematic, take a look at the [User Guide](../userguide).
For information about using Kitematic, take a look at the [User Guide](/userguide).

View File

@ -17,7 +17,7 @@ using Kitematic and Docker.
### Create Minecraft Server Container
First, if you haven't yet done so, [download and start
Kitematic](./kitematic-overview.md). Once installed and running, the app should look like this:
Kitematic](/). Once installed and running, the app should look like this:
Create a container from the recommended Minecraft image by clicking the "Create"
button.

View File

@ -25,7 +25,7 @@ Let's get to it!
#### Running the Nginx Web Server Container
First, if you haven't yet done so, [download and start
Kitematic](./kitematic-overview.md). Once installed and running, the app should look like this:
Kitematic](/). Once installed and running, the app should look like this:
![Nginx create](../images/nginx-create.png)

View File

@ -19,7 +19,7 @@ In this tutorial, you will:
### Setting up RethinkDB in Kitematic
First, if you haven't yet done so, [download and start
Kitematic](./kitematic-overview.md). Once open, the app should look like
Kitematic](/). Once open, the app should look like
this:
![Rethink create button](../images/rethink-create.png)

View File

@ -30,7 +30,7 @@ stream logs, and single click terminal into your Docker container all from the
GUI.
First, if you haven't yet done so, [download and start
Kitematic](./kitematic-overview.md).
Kitematic](/).
## Container list