GithubHelp home page GithubHelp logo

rushellphoto / docker.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from docker/docs

0.0 2.0 0.0 339.3 MB

Source repo for Docker's Documentation, output served at docs.docker.com

Home Page: https://docker.github.io

License: Apache License 2.0

HTML 11.06% Ruby 0.04% Makefile 0.03% Shell 0.06% JavaScript 84.46% CSS 4.35%

docker.github.io's Introduction

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.

Copyright and license

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

docker.github.io's People

Contributors

aanand avatar aaronlehmann avatar alexlarsson avatar aluzzardi avatar bfirsh avatar calavera avatar cpuguy83 avatar creack avatar cyli avatar dgageot avatar diogomonica avatar dnephin avatar ehazlett avatar jamtur01 avatar jeffdm avatar jessfraz avatar jmorganca avatar lk4d4 avatar metalivedev avatar runcom avatar seanli avatar shin- avatar stevvooe avatar svendowideit avatar thajeztah avatar tianon avatar tiborvass avatar unclejack avatar vdemeester avatar vieux avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.