distribution/docs
Olivier Gambier 3ad11ff363 Fix relinker
This fixes several flaws in the link rewriter:
- broken links on the docs side
- multiple links on one line being mangled
- byzantine logic

Also generalize the logic of the Dockerfile so it is no longer specific to "registry" (env variable), which is a first step in making it possible to upstream all this into the base image and docs project.

Added a number of tests (test.md) to validate the link replacer behavior (against test.compare.md), and embedded the test so that the doc build will fail if the link replacer does not behave.

This is still sed, unfortunately.

Signed-off-by: Olivier Gambier <olivier@docker.com>
2015-08-04 23:02:34 -07:00
..
images Breaking out README 2015-04-09 17:50:46 -07:00
osx docs: document running Registry natively on OS X 2015-04-26 18:41:36 -07:00
spec Add blob delete entry to api description and regenerate api.md 2015-08-03 11:59:19 -07:00
storage-drivers Merge pull request #514 from denverdino/master 2015-08-04 12:01:02 -07:00
architecture.md Updating for Hugo 2015-06-15 14:39:33 -07:00
authentication.md Fix a few typos in the docs 2015-07-31 13:36:43 +01:00
building.md Fix a few typos in the docs 2015-07-31 13:36:43 +01:00
configuration.md Fix a few typos in the docs 2015-07-31 13:36:43 +01:00
deploying.md update copy with content from @moxiegirl 2015-07-10 22:10:25 +01:00
Dockerfile Fix relinker 2015-08-04 23:02:34 -07:00
glossary.md Updating for Hugo 2015-06-15 14:39:33 -07:00
help.md Adding in the better sed 2015-06-17 17:31:13 -07:00
index.md Fixing old ref to DHE to DTR fixes #681 2015-07-08 14:05:49 -07:00
introduction.md Fix a few typos in the docs 2015-07-31 13:36:43 +01:00
Makefile Updating for Hugo 2015-06-15 14:39:33 -07:00
migration.md Updating for Hugo 2015-06-15 14:39:33 -07:00
mirror.md Add pull through cache functionality to the Registry which can be configured 2015-08-04 16:09:55 -07:00
mkdocs.yml Keeping in synch 2015-06-08 15:57:05 -07:00
notifications.md Fix a few typos in the docs 2015-07-31 13:36:43 +01:00
osx-setup-guide.md Updating for Hugo 2015-06-15 14:39:33 -07:00
storagedrivers.md add link to Aliyun OSS doc 2015-07-31 13:22:56 +08:00
test.compare.md Fix relinker 2015-08-04 23:02:34 -07:00
test.md Fix relinker 2015-08-04 23:02:34 -07:00