瀏覽代碼

Merge pull request #10522 from SvenDowideit/fix-swarm-links

use the same paths as in the swarm repo, so that their links magically w...
Fred Lifton 10 年之前
父節點
當前提交
8a91926cd9
共有 2 個文件被更改,包括 3 次插入4 次删除
  1. 2 3
      docs/Dockerfile
  2. 1 1
      docs/mkdocs-swarm.yml

+ 2 - 3
docs/Dockerfile

@@ -64,11 +64,10 @@ CMD ["mkdocs", "serve"]
 # Sven plans to move each Dockerfile into the respective repository
 
 # Docker Swarm
-ADD https://raw.githubusercontent.com/docker/swarm/master/logo.png /docs/sources/swarm/logo.png
-ADD https://raw.githubusercontent.com/docker/swarm/master/README.md /docs/sources/swarm/README.md
+ADD https://raw.githubusercontent.com/docker/swarm/master/userguide.md /docs/sources/swarm/README.md
 ADD https://raw.githubusercontent.com/docker/swarm/master/discovery/README.md /docs/sources/swarm/discovery.md
 ADD https://raw.githubusercontent.com/docker/swarm/master/api/README.md /docs/sources/swarm/API.md
-ADD https://raw.githubusercontent.com/docker/swarm/master/scheduler/filter/README.md /docs/sources/swarm/filters.md
+ADD https://raw.githubusercontent.com/docker/swarm/master/scheduler/filter/README.md /docs/sources/swarm/scheduler/filter.md
 
 # Docker Machine
 ADD https://raw.githubusercontent.com/docker/machine/master/docs/dockermachine.md /docs/sources/machine/userguide.md

+ 1 - 1
docs/mkdocs-swarm.yml

@@ -2,4 +2,4 @@
 - ['swarm/README.md', 'User Guide', 'Docker Swarm' ]
 - ['swarm/discovery.md', 'Reference', 'Swarm discovery']
 - ['swarm/API.md', 'Reference', 'Swarm API']
-- ['swarm/filters.md', 'Reference', 'Swarm filters']
+- ['swarm/scheduler/filter.md', 'Reference', 'Swarm filters']