Commit Graph

23 Commits

Author SHA1 Message Date
Joao Fernandes 5e73d6295d Automate display of urls for DDC offline install 2016-12-12 09:43:44 -08:00
John Mulhausen eebf584fb3 Merge pull request #674 from thaJeztah/optimize-dockerfile
Optimize Dockerfile
2016-11-28 16:35:26 -08:00
Joao Fernandes b673510ecf Update Datacenter offline install docs 2016-11-28 11:20:53 -08:00
Joao Fernandes 2b08ae1ee6 Update DDC offline install 2016-11-22 12:09:11 -08:00
Sebastiaan van Stijn 721f9d2aba
Optimize Dockerfile
This optimizes the Dockerfile a bit by;

- putting the docs archives at the top to
  optimize caching and to prevent having
  to clone the github repository on each
  build. Note that '--no-cache' is needed
  to forcefully break the cache, but the
  archives should not frequently change
- grouping RUN lines to reduce image size.
- using a loop for the archived versions to
  reduce the amount of duplicated code.
- using the local files for the *current*
  version of the docs instead of the git
  clone from GitHub. this makes it also
  use the right source instead of "master"
- adding a .dockerignore to prevent busting
  the cache if not needed, and to prevent
  uploading the '.git' repository, which
  is not used for the "current" docs

Difference in size before/after;

    REPOSITORY     TAG     IMAGE ID      CREATED         SIZE
    docs           latest  36f6ad029e6a  3 minutes ago   1.722 GB
    docs-orig      latest  4f1a3e3fda4f  16 minutes ago  3.344 GB

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-11-22 00:20:02 +01:00
John Mulhausen 50ca4181d3 Update _config.yml 2016-11-11 15:17:44 -08:00
Adrien Duermael d94864d091 remove jekyll-gist from _config.yml (#547)
jekyll-gist gem is not being used anymore.

Signed-off-by: Adrien Duermael <adrien@duermael.com>
2016-11-11 13:49:47 -08:00
Joao Fernandes 821d1566cd Merge remote-tracking branch 'docs-private/vnext-datacenter' into vnext-datacenter 2016-11-11 11:39:43 -08:00
John Mulhausen 80b3c2c4c1 Implement auto-assigned ticketing (#527)
* Implement auto-assigned ticketing

* Update _config.yml

* Update docs.html

* Update _config.yml
2016-11-10 16:51:27 -08:00
Joao Fernandes b405004e07 Add canonical urls to datacenter articles 2016-11-10 14:34:15 -08:00
Joao Fernandes b154bb1152 Remove old datacenter docs from sitemap, robots.txt 2016-11-10 14:11:49 -08:00
John Mulhausen 590448c863 Removal of IP-based docs archive, now that subfolders are back 2016-11-07 14:09:22 -08:00
John Mulhausen 9bf89d47cd Update _config.yml 2016-11-04 13:50:37 -07:00
John Mulhausen b9f22af9be Fix for docker-compose up and incorrect canonical URLs 2016-10-11 19:15:00 -07:00
John Mulhausen 6be7f53413 Merge branch 'jekyll-seo-tag' of https://github.com/mstanleyjones/docker.github.io into mstanleyjones-jekyll-seo-tag 2016-10-11 12:57:56 -07:00
Misty Stanley-Jones 2e4d66999b Add jekyll-seo-tag to Jekyll template
Makes title, description, and keywords populate the right tags
See https://github.com/jekyll/jekyll-seo-tag

An example of this in action:
```
<!-- Begin Jekyll SEO tag v2.0.0 -->
<title>Docker Engine - Docker</title>
<meta property="og:title" content="Docker Engine" />
<meta name="description" content="Engine" />
<meta property="og:description" content="Engine" />
<meta property="og:site_name" content="Docker" />
<script type="application/ld+json">
  {
    "@context": "http://schema.org",
    "@type": "WebPage",
    "headline": "Docker Engine",
    "description": "Engine",
    "url": "/engine/"
  }
</script>
<!-- End Jekyll SEO tag -->
```
2016-10-10 17:13:33 -07:00
John Mulhausen 4a2953dcc6 Update _config.yml 2016-10-10 16:23:13 -07:00
John Mulhausen 6559df42aa Fix for versioned docs 2016-10-06 14:42:11 -07:00
John Mulhausen 8f61311862 Dockerfile fix for autobuild 2016-10-04 00:26:09 -07:00
John Mulhausen e71693c545 baseurl fix 2016-10-03 19:44:11 -07:00
John Mulhausen d3141e1381 /getting-started/ is a WIP at the moment 2016-10-03 15:17:20 -07:00
John Mulhausen 1465790db0 Custom 404, Docs Archive, Archive Forwarding 2016-09-29 18:55:02 -07:00
Misty Stanley-Jones d53c6798c9 Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00