Skip to content

Commit fe8fb24

Browse files
author
Mary Anthony
committed
In with the old menu layout
Signed-off-by: Mary Anthony <mary@docker.com>
1 parent 83d809f commit fe8fb24

File tree

5 files changed

+42
-16
lines changed

5 files changed

+42
-16
lines changed

docs/Dockerfile

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,32 @@ COPY ./release.sh release.sh
3737
#
3838
#ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/mkdocs.yml /docs/mkdocs-distribution.yml
3939

40-
#ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/overview.md /docs/sources/distribution/overview.md
41-
#RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/distribution/overview.md
40+
ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/images/notifications.png /docs/sources/registry/images/notifications.png
41+
ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/images/registry.png /docs/sources/registry/images/registry.png
4242

43-
#ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/install.md /docs/sources/distribution/install.md
44-
#RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/distribution/install.md
43+
ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/overview.md /docs/sources/registry/overview.md
44+
RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/registry/overview.md
4545

46-
#ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/architecture.md /docs/sources/distribution/architecture.md
47-
#RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/distribution/architecture.md
46+
ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/deploying.md /docs/sources/registry/deploying.md
47+
RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/registry/deploying.md
4848

49+
ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/configuration.md /docs/sources/registry/configuration.md
50+
RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/registry/configuration.md
51+
52+
ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/storagedrivers.md /docs/sources/registry/storagedrivers.md
53+
RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/registry/storagedrivers.md
54+
55+
ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/notifications.md /docs/sources/registry/notifications.md
56+
RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/registry/notifications.md
57+
58+
ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/spec/api.md /docs/sources/registry/spec/api.md
59+
RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/registry/spec/api.md
60+
61+
ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/spec/json.md /docs/sources/registry/spec/json.md
62+
RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/registry/spec/json.md
63+
64+
ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/spec/auth/token.md /docs/sources/registry/spec/auth/token.md
65+
RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/registry/spec/auth/token.md
4966

5067
# Docker Swarm
5168
#ADD https://raw.githubusercontent.com/docker/swarm/${SWARM_BRANCH}/docs/mkdocs.yml /docs/mkdocs-swarm.yml
@@ -88,4 +105,4 @@ ADD https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/word
88105
RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/compose/wordpress.md
89106

90107
# Then build everything together, ready for mkdocs
91-
RUN /docs/build.sh
108+
RUN /docs/build.sh

docs/mkdocs.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,19 @@ pages:
133133
- ['swarm/scheduler/filter.md', 'Reference', 'Swarm filters']
134134
- ['swarm/API.md', 'Reference', 'Swarm API']
135135
- ['reference/api/index.md', '**HIDDEN**']
136+
- ['registry/overview.md', 'Reference', 'Docker Registry 2.0']
137+
- ['registry/deploying.md', 'Reference', '&nbsp;&nbsp;&nbsp;&nbsp;&blacksquare;&nbsp; Deploy a registry' ]
138+
- ['registry/configuration.md', 'Reference', '&nbsp;&nbsp;&nbsp;&nbsp;&blacksquare;&nbsp; Configure a registry' ]
139+
- ['registry/storagedrivers.md', 'Reference', '&nbsp;&nbsp;&nbsp;&nbsp;&blacksquare;&nbsp; Storage driver model' ]
140+
- ['registry/notifications.md', 'Reference', '&nbsp;&nbsp;&nbsp;&nbsp;&blacksquare;&nbsp; Work with notifications' ]
141+
- ['registry/spec/api.md', 'Reference', '&nbsp;&nbsp;&nbsp;&nbsp;&blacksquare;&nbsp; Registry Service API v2' ]
142+
- ['registry/spec/json.md', 'Reference', '&nbsp;&nbsp;&nbsp;&nbsp;&blacksquare;&nbsp; JSON format' ]
143+
- ['registry/spec/auth/token.md', 'Reference', '&nbsp;&nbsp;&nbsp;&nbsp;&blacksquare;&nbsp; Authenticate via central service' ]
144+
- ['reference/api/hub_registry_spec.md', 'Reference', 'Docker Hub and Registry 1.0']
145+
- ['reference/api/registry_api.md', 'Reference', '&nbsp;&nbsp;&nbsp;&nbsp;&blacksquare;&nbsp;Docker Registry API v1']
146+
- ['reference/api/registry_api_client_libraries.md', 'Reference', '&nbsp;&nbsp;&nbsp;&nbsp;&blacksquare;&nbsp;Docker Registry 1.0 API Client Libraries']
147+
#- ['reference/image-spec-v1.md', 'Reference', 'Docker Image Specification v1.0.0']
136148
- ['reference/api/docker-io_api.md', 'Reference', 'Docker Hub API']
137-
- ['reference/api/registry_api.md', 'Reference', 'Docker Registry API']
138-
- ['reference/api/registry_api_client_libraries.md', 'Reference', 'Docker Registry API Client Libraries']
139-
- ['reference/api/hub_registry_spec.md', 'Reference', 'Docker Hub and Registry Spec']
140149
#- ['reference/image-spec-v1.md', 'Reference', 'Docker Image Specification v1.0.0']
141150
- ['reference/api/docker_remote_api.md', 'Reference', 'Docker Remote API']
142151
- ['reference/api/docker_remote_api_v1.19.md', 'Reference', 'Docker Remote API v1.19']

docs/sources/reference/api/hub_registry_spec.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ page_title: Registry Documentation
22
page_description: Documentation for docker Registry and Registry API
33
page_keywords: docker, registry, api, hub
44

5-
# The Docker Hub and the Registry spec
5+
# The Docker Hub and the Registry 1.0 spec
66

77
## The three roles
88

@@ -28,9 +28,9 @@ The Docker Hub is authoritative for that information.
2828
There is only one instance of the Docker Hub, run and
2929
managed by Docker Inc.
3030

31-
### Registry
31+
### Docker Registry 1.0
3232

33-
The registry has the following characteristics:
33+
The 1.0 registry has the following characteristics:
3434

3535
- It stores the images and the graph for a set of repositories
3636
- It does not have user accounts data

docs/sources/reference/api/registry_api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ page_title: Registry API
22
page_description: API Documentation for Docker Registry
33
page_keywords: API, Docker, index, registry, REST, documentation
44

5-
# Docker Registry API
5+
# Docker Registry API v1
66

77
## Introduction
88

9-
- This is the REST API for the Docker Registry
9+
- This is the REST API for the Docker Registry 1.0
1010
- It stores the images and the graph for a set of repositories
1111
- It does not have user accounts data
1212
- It has no notion of user accounts or authorization

docs/sources/reference/api/registry_api_client_libraries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ page_title: Registry API Client Libraries
22
page_description: Various client libraries available to use with the Docker registry API
33
page_keywords: API, Docker, index, registry, REST, documentation, clients, C#, Erlang, Go, Groovy, Java, JavaScript, Perl, PHP, Python, Ruby, Rust, Scala
44

5-
# Docker Registry API Client Libraries
5+
# Docker Registry 1.0 API Client Libraries
66

77
These libraries have not been tested by the Docker maintainers for
88
compatibility. Please file issues with the library owners. If you find

0 commit comments

Comments
 (0)