Source repo for Docker's Documentation
Go to file
John Mulhausen 1465790db0 Custom 404, Docs Archive, Archive Forwarding 2016-09-29 18:55:02 -07:00
_data Custom 404, Docs Archive, Archive Forwarding 2016-09-29 18:55:02 -07:00
_includes Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
_layouts Custom 404, Docs Archive, Archive Forwarding 2016-09-29 18:55:02 -07:00
apidocs Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
compose Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
cs-engine Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
css Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
docker-cloud Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
docker-for-mac Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
docker-for-windows Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
docker-hub Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
docker-store Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
docker-trusted-registry Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
engine Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
favicons Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
fonts Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
getting-started Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
images Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
js Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
kitematic Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
machine Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
notary Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
opensource Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
registry Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
stage-container Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
swarm Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
test Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
themes/docker-2016 Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
toolbox Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
ucp Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
.arcconfig Imitial import of https://github.com/docker/hub2-demo 2016-09-28 14:36:23 -07:00
.babelrc Initial commit -f https://github.com/docker/mercury-ui 2016-09-28 14:39:20 -07:00
.bumpversion.cfg Imitial import of https://github.com/docker/hub2-demo 2016-09-29 10:35:53 -07:00
.dockercfg.template Imitial import of https://github.com/docker/hub2-demo 2016-09-28 14:36:23 -07:00
.drone.yml Initial commit -f https://github.com/docker/orca 2016-09-28 14:33:25 -07:00
.editorconfig Imitial import of https://github.com/docker/hub2-demo 2016-09-28 14:36:23 -07:00
.eslintignore Initial commit -f https://github.com/docker/mercury-ui 2016-09-28 14:39:20 -07:00
.flowconfig Imitial import of https://github.com/docker/hub2-demo 2016-09-28 14:36:23 -07:00
.gitignore Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
.gitmodules Initial import of https://github.com/docker/dhe-engine 2016-09-28 14:25:04 -07:00
.htmllintrc Initial commit -f https://github.com/docker/mercury-ui 2016-09-28 14:39:20 -07:00
.lfsconfig Initial import of https://github.com/docker/pinata 2016-09-28 20:36:30 -07:00
.mailmap Initial import of https://github.com/docker/distribution 2016-09-28 14:45:00 -07:00
.npmrc Initial commit -f https://github.com/docker/mercury-ui 2016-09-28 14:39:20 -07:00
.pre-commit-config.yaml Tests use updated get_config_paths_from_options signature 2016-03-24 10:57:01 -07:00
.stylelintrc Initial commit -f https://github.com/docker/mercury-ui 2016-09-28 14:39:20 -07:00
404.md Custom 404, Docs Archive, Archive Forwarding 2016-09-29 18:55:02 -07:00
Dockerfile Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
Gemfile Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
LICENSE Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
Makefile Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
README.md Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
_config.yml Custom 404, Docs Archive, Archive Forwarding 2016-09-29 18:55:02 -07:00
docsarchive.md Custom 404, Docs Archive, Archive Forwarding 2016-09-29 18:55:02 -07:00
index.md Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
release-notes.md Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
robots.txt Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
search.md Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
thank-you-subscribing-docker-weekly.md Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
toc.txt Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00

README.md

This repo is for preview/dev purposes only

The docs team is in the process of migrating to this repo. During this time we're also converting from a Hugo-based doc system to a Jekyll-based doc system. That means there are lots of content errors and so forth at the preview URL. We're on it.

While this repo is not the source of truth, it's important to us that it be viewable so contributors can see what we're doing, and so that they can migrate open pull requests from other repos such as docker/docker that make doc changes, into this repo.

Timeline of migration

  • During the week of Monday, September 26th, any existing docs PRs need to be migrated over or merged.
  • Well do one last “pull” from the various docs repos on Wednesday, September 28th, at which time the docs/ folders in the various repos will be emptied.
  • Between the 28th and full cutover, the docs team will be testing the new repo and making sure all is well across every page.
  • Full cutover (production is drawing from the new repo, new docs work is pointed at the new repo, dissolution of old docs/ folders) is complete on Monday, October 3rd.

Docs @ Docker

Welcome to the repo for our documentation. This is the source for the URL served at docs.docker.com.

Feel free to send us pull requests and file issues. Our docs are completely open source and we deeply appreciate contributions from our community!

Staging

You have three options:

  1. (Most performant, slowest setup) Clone this repo, install the GitHub Pages Ruby gem, then run jekyll serve from within the directory.
  2. (Slower, fast setup) Clone this repo, and from within the directory, run: docker run -ti --rm -v "$PWD":/docs -p 4000:4000 docs/docstage
  3. (Edit entirely in the browser, no local clone) Fork this repo in GitHub, change your fork's repository name to YOUR_GITHUB_USERNAME.github.io, and make any changes.

In the first two options, the site will be staged at http://localhost:4000 (unless Jekyll is behaving in some non-default way).

In the third option, the site will be viewable at http://YOUR_GITHUB_USERNAME.github.io, about a minute after your first change is merged into your fork.

Important files

  • /_data/toc.yaml defines the left-hand navigation for the docs
  • /js/menu.js defines most of the docs-specific JS such as TOC generation and menu syncing
  • /css/documentation.css defines the docs-specific style rules
  • /_layouts/docs.html is the HTML template file, which defines the header and footer, and includes all the JS/CSS that serves the docs content

Relative linking for GitHub viewing

Feel free to link to ../foo.md so that the docs are readable in GitHub, but keep in mind that Jekyll templating notation {% such as this %} will render in raw text and not be processed. In general it's best to assume the docs are being read directly on docs.docker.com.

Code and documentation copyright 2016 Docker, inc, released under the Apache 2.0 license.