Source repo for Docker's Documentation
Go to file
Vladimir Rutsky 210d261bb4 don't split verbatim text over few lines
Should fix improperly formatted documentation page.
2016-10-05 20:38:15 +04:00
_data Merge pull request #40 from sanscontext/api-2 2016-10-04 16:47:39 -07:00
_includes Update docker_elevator_pitch.md 2016-10-04 00:55:23 -07:00
_layouts Update docs.html 2016-10-04 18:40:58 -07:00
apidocs remove file that was causing a path conflict 2016-10-04 16:10:49 -07:00
compose Merge pull request #21 from pborreli/typos 2016-09-30 11:51:42 -07:00
cs-engine Rendering fixes, part 1 (up through cs-engine) 2016-09-30 19:38:30 -07:00
css Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
docker-cloud Rendering fixes, part 2 2016-10-03 16:05:09 -07:00
docker-for-mac PRs on shared drives and CAs, HTML fixes 2016-10-04 18:01:54 -07:00
docker-for-windows PRs on shared drives and CAs, HTML fixes 2016-10-04 18:01:54 -07:00
docker-hub Merge pull request #21 from pborreli/typos 2016-09-30 11:51:42 -07:00
docker-store fix bugs/html in cloud docs, remove two draft store docs 2016-10-03 15:29:12 -07:00
docker-trusted-registry Rendering fixes, part 2 2016-10-03 16:05:09 -07:00
engine don't split verbatim text over few lines 2016-10-05 20:38:15 +04: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 Fix for in-page anchor links 2016-09-29 22:56:42 -07:00
kitematic fixing HTML on Kitematic, Mac, Windows, Toolbox docs for github.io rendering, plus copyedits 2016-10-04 11:18:17 -07:00
machine Exoscale: fix letter casing 2016-10-05 07:35:42 +02:00
notary Rendering fixes, part 2 2016-10-03 16:05:09 -07:00
opensource Merge pull request #21 from pborreli/typos 2016-09-30 11:51:42 -07:00
registry Rendering fixes, part 2 2016-10-03 16:05:09 -07:00
swarm Merge pull request #21 from pborreli/typos 2016-09-30 11:51:42 -07:00
toolbox fixing HTML on Kitematic, Mac, Windows, Toolbox docs for github.io rendering, plus copyedits 2016-10-04 11:18:17 -07:00
ucp Update install.md 2016-10-04 17:02:58 -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
.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 All page links 2016-09-30 14:13:15 -07:00
Dockerfile Dockerfile fix for autobuild 2016-10-04 00:26:09 -07:00
LICENSE Content rendering fixes 2016-09-30 01:51:56 -07:00
MIGRATION.md Add migration details 2016-09-30 10:20:01 -07:00
README.md Staging container fixes 2016-10-04 15:38:40 -07:00
_config.yml Dockerfile fix for autobuild 2016-10-04 00:26:09 -07:00
allpagelinks.md All page links 2016-09-30 14:13:15 -07:00
docsarchive.md Staging container fixes 2016-10-04 15:38:40 -07:00
index.md /getting-started/ is a WIP at the moment 2016-10-03 15:17:20 -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
sorry.md Fixes for forwarding, custom 404 2016-09-29 19:39:14 -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

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 Ruby 2.3 or higher (required), install the GitHub Pages Ruby gem, then run jekyll serve from within the directory.

  2. (Slow performance on Mac/Windows, fast setup) Clone this repo and run our staging container:

    git clone https://github.com/docker/docker.github.io.git
    cd docker.github.io
    docker run -ti -v "$PWD":/usr/src/app -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.

Style guide

If you have questions about how to write for Docker's documentation, please see the style guide. The style guide provides guidance about grammar, syntax, formatting, styling, language, or tone. If something isn't clear in the guide, please submit an issue to let us know or submit a pull request to help us improve it.

Generate the man pages

For information on generating man pages (short for manual page), see the README.md document in the man page directory in this project.

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