Source repo for Docker's Documentation
Go to file
Benjamin R. Haskell 65ec3a3763 Revert pull request #48
Reverts commit b3a620808a in order to
replace it with more-targeted blocks.
2016-10-07 00:56:17 -04:00
_data Fix for relative-path redirects causing infinite loops 2016-10-06 17:00:03 -07:00
_includes
_layouts Update docs.html 2016-10-06 09:39:18 -07:00
apidocs Revert pull request #48 2016-10-07 00:56:17 -04:00
compose Update compose-file.md 2016-10-05 11:40:42 -05:00
cs-engine
css
docker-cloud
docker-for-mac
docker-for-windows linked info re: GitHub issues from troubleshooting 2016-10-05 18:44:49 -07:00
docker-hub
docker-store
docker-trusted-registry
engine Revert pull request #48 2016-10-07 00:56:17 -04:00
favicons
fonts
getting-started Part 4 draft, Dockerfiles for vnext compose/machine 2016-10-05 22:35:42 -07:00
images
js
kitematic
machine Revert pull request #48 2016-10-07 00:56:17 -04:00
notary
opensource Deleted an extra /tr 2016-10-05 20:18:11 +03:00
registry
swarm Formatting fixes for Configure TLS page 2016-10-05 16:44:25 -07:00
toolbox
ucp
.arcconfig
.babelrc
.bumpversion.cfg
.dockercfg.template
.drone.yml
.editorconfig
.eslintignore
.flowconfig
.gitignore
.htmllintrc
.lfsconfig
.mailmap
.npmrc
.pre-commit-config.yaml
.stylelintrc
404.md Re-enabling redirects 2016-10-06 17:00:33 -07:00
Dockerfile Update Dockerfile 2016-10-05 15:31:14 -07:00
LICENSE
MIGRATION.md
README.md Add Compose file for development 2016-10-05 19:34:31 +01:00
_config.yml Fix for versioned docs 2016-10-06 14:42:11 -07:00
allpagelinks.md
docker-compose.yml Add Compose file for development 2016-10-05 19:34:31 +01:00
docsarchive.md Update docsarchive.md 2016-10-05 13:19:19 -07:00
index.md Update index.md 2016-10-05 22:17:47 -07:00
release-notes.md
robots.txt
search.md Update search.md 2016-10-05 16:04:13 -07:00
sorry.md
thank-you-subscribing-docker-weekly.md
toc.txt

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-compose up
    

    If you haven't got Docker Compose installed, follow these installation instructions.

  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.