Skip to content

Commit b4d32dc

Browse files
committed
Added sphinx :ref: tags to docs.
1 parent e1c1d19 commit b4d32dc

9 files changed

Lines changed: 60 additions & 52 deletions

File tree

docs/api/index.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,16 @@
22
:description: -- todo: change me
33
:keywords: deis, documentation, tutorial, contributing, faq
44

5+
.. _api:
6+
57
API
68
===
9+
10+
.. automodule:: api.fields
11+
:members:
12+
13+
.. automodule:: api.models
14+
:members:
15+
16+
.. automodule:: api.routers
17+
:members:

docs/commandline/index.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
:title: Deis command line cheat sheet
1+
:title: CLI cheatsheet
22
:description: TODO
33
:keywords: todo
44

5-
Command line cheat sheet
6-
========================
5+
.. _cheatsheet:
6+
7+
CLI cheatsheet
8+
==============

docs/contributing/index.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
:title: Contributing to Deis
1+
:title: Contributing
22
:description: TOOD
33
:keywords: todo
44

5-
Contributing to Deis
6-
====================
5+
.. _contributing:
6+
7+
Contributing
8+
============

docs/faq.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
:title: Deis FAQ
1+
:title: FAQ
22
:description: Frequently Asked Questions about the Deis PaaS solution
33
:keywords: deis, PaaS, cloud, faq
44

5+
.. _faq:
6+
57
FAQ
68
===

docs/index.rst

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,31 @@
11
:title: Welcome to the Deis documentation
22
:description: An overview of the Deis documentation
3-
:keywords: deis, cloud, heroku
3+
:keywords: api, commandline, command-line, contributing, faq, terms, tutorial, deis, docker, heroku
44

5-
Welcome
6-
=======
5+
Documentation
6+
=============
77

88
.. image:: https://s3-us-west-2.amazonaws.com/deis-images/deis-graphic.png
99

10-
What is Deis?
11-
-------------
1210

1311
``deis`` is an open source PaaS that makes it easy to deploy
14-
:ref:`container_def`\s and :ref:`node_def`\s used to host applications,
12+
:ref:`container`\s and :ref:`node`\s used to host applications,
1513
databases, middleware and other services. Deis leverages Chef, Docker and
1614
Heroku Buildpacks to provide a private PaaS that is lightweight and flexible.
15+
For more about ``deis``, check our :ref:`faq`.
1716

18-
Deis comes with out-of-the-box support for Ruby, Python, Node.js, Java,
19-
Clojure, Scala, Play, PHP, Perl, Dart and Go. However, Deis can deploy
20-
*anything* using Heroku Buildpacks, Docker images, or Chef recipes. Deis is
21-
designed to work with any cloud provider, although only EC2 is currently
22-
supported.
17+
If you are new to ``deis``, start with the :ref:`tutorial`. The :ref:`tutorial`
18+
also references the :ref:`installation` guide.
19+
20+
Once you have set up a ``deis controller``, you will use the
21+
``deis`` **command-line client** to create an app, push your code, and
22+
scale your own cloud resources. ``deis --help`` is very helpful, but we
23+
also have a :ref:`cheatsheet` with examples of usage.
24+
25+
If you find a bug in ``deis``, please report it to the project at
26+
https://github.com/opdemand/deis/issues
27+
28+
Developers who want to use ``deis`` should browse the :ref:`api`. Then
29+
fork the open source deis repository and enjoy the freedom of your own
30+
private PaaS. The ``deis`` project won't ignore pull requests; please help
31+
us improve.

docs/terms/container.rst

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,8 @@
11
:title: Container
22
:description: What is a Deis Container?
3-
:keywords: deis, container
3+
:keywords: lxc container, lxc, container, deis, docker
44

5-
.. _container_def:
5+
.. _container:
66

7-
Container
8-
=========
9-
10-
You think water moves fast? You should see ice. It moves like it has a mind.
11-
Like it knows it killed the world once and got a taste for murder. After the
12-
avalanche, it took us a week to climb out. Now, I don't know exactly when we
13-
turned on each other, but I know that seven of us survived the slide... and
14-
only five made it out. Now we took an oath, that I'm breaking now. We said
15-
we'd say it was the snow that killed the other two, but it wasn't. Nature is
16-
lethal but it doesn't hold a candle to man.
17-
18-
Your bones don't break, mine do. That's clear. Your cells react to bacteria
19-
and viruses differently than mine. You don't get sick, I do. That's also
20-
clear. But for some reason, you and I react the exact same way to water. We
21-
swallow it too fast, we choke. We get some in our lungs, we drown. However
22-
unreal it may seem, we are connected, you and I. We're on the same curve, just
23-
on opposite ends.
7+
LXC Container
8+
=============

docs/terms/node.rst

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
11
:title: Chef Node
22
:description: What is a Chef Node in Deis?
3-
:keywords: deis, chef, node
3+
:keywords: chef node, chef, node, deis
44

5-
.. _node_def:
5+
.. _node:
66

77
Chef Node
88
=========
9-
10-
Do you see any Teletubbies in here? Do you see a slender plastic tag clipped
11-
to my shirt with my name printed on it? Do you see a little Asian child with a
12-
blank expression on his face sitting outside on a mechanical helicopter that
13-
shakes when you put quarters in it? No? Well, that's what you see at a toy
14-
store. And you must think you're in a toy store, because you're here shopping
15-
for an infant named Jeb.
16-
17-
Now that we know who you are, I know who I am. I'm not a mistake! It all makes
18-
sense! In a comic, you know how you can tell who the arch-villain's going to
19-
be? He's the exact opposite of the hero. And most times they're friends, like
20-
you and me! I should've known way back when... You know why, David? Because of
21-
the kids. They called me Mr Glass.

docs/tutorial/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22
:description: TODO
33
:keywords: todo
44

5+
.. _tutorial:
6+
57
Tutorial
68
========

docs/tutorial/installation.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
:title: Installation
2+
:description: TODO
3+
:keywords: todo
4+
5+
.. _installation:
6+
7+
Installation
8+
============

0 commit comments

Comments
 (0)