diff --git a/docs/Dockerfile b/docs/Dockerfile index bc2b73b..b9808b2 100644 --- a/docs/Dockerfile +++ b/docs/Dockerfile @@ -4,14 +4,24 @@ MAINTAINER SvenDowideit@docker.com # docker build -t docker:docs . && docker run -p 8000:8000 docker:docs # -RUN apt-get update && apt-get install -yq make python-pip python-setuptools - +RUN apt-get update && apt-get install -yq make python-pip python-setuptools RUN pip install mkdocs +RUN apt-get install -yq vim-tiny git pandoc + +# pip installs from docs/requirements.txt, but here to increase cacheability +RUN pip install Sphinx==1.2.1 +RUN pip install sphinxcontrib-httpdomain==1.2.0 + ADD . /docs + +#build the sphinx html +RUN make -C /docs clean docs + WORKDIR /docs -CMD ["mkdocs", "serve"] +#CMD ["mkdocs", "serve"] +CMD bash # note, EXPOSE is only last because of https://github.com/dotcloud/docker/issues/3525 EXPOSE 8000 diff --git a/docs/theme/docker/layout.html b/docs/theme/docker/layout.html index 7d78fb9..0dac9e0 100755 --- a/docs/theme/docker/layout.html +++ b/docs/theme/docker/layout.html @@ -63,48 +63,6 @@
-