mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Added redirect from old location of documentation (/documentation), these was the location when we were on github.
This commit is contained in:
parent
a1f54cad6c
commit
6de5ca1e64
2 changed files with 5 additions and 0 deletions
|
@ -51,6 +51,7 @@ docs:
|
|||
cp sources/dotcloud.yml $(BUILDDIR)/html/
|
||||
cp sources/CNAME $(BUILDDIR)/html/
|
||||
cp sources/.nojekyll $(BUILDDIR)/html/
|
||||
cp sources/nginx.conf $(BUILDDIR)/html/
|
||||
@echo
|
||||
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
|
||||
|
||||
|
|
4
docs/sources/nginx.conf
Normal file
4
docs/sources/nginx.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
# rule to redirect original links created when hosted on github pages
|
||||
rewrite ^/documentation/(.*).html http://docs.docker.io/en/latest/$1/ permanent;
|
||||
|
Loading…
Add table
Reference in a new issue