Skip to content

Commit

Permalink
doc: Create directory structure
Browse files Browse the repository at this point in the history
Create a series of sections, all of which are currently empty, using
the general design established by Jacob Kaplan-Moss and the Django
project [1]. Five sections are provided:

- intro
- tutorials
- topics
- howto
- ref
- faq
- internals

The purpose of each section is described in the documents themselves.

[1] https://jacobian.org/writing/great-documentation/

Signed-off-by: Stephen Finucane <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
stephenfin authored and blp committed Dec 12, 2016
1 parent daf5079 commit 11820a1
Show file tree
Hide file tree
Showing 11 changed files with 329 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Documentation/automake.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,15 @@ EXTRA_DIST += \
Documentation/_static/logo.png \
Documentation/conf.py \
Documentation/index.rst \
Documentation/contents.rst
Documentation/contents.rst \
Documentation/intro/index.rst \
Documentation/intro/install/index.rst \
Documentation/tutorials/index.rst \
Documentation/topics/index.rst \
Documentation/howto/index.rst \
Documentation/ref/index.rst \
Documentation/faq/index.rst \
Documentation/internals/index.rst

# You can set these variables from the command line.
SPHINXOPTS =
Expand Down
11 changes: 11 additions & 0 deletions Documentation/contents.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,14 @@ Open vSwitch Documentation Contents
:maxdepth: 3

index

.. toctree::
:maxdepth: 3

intro/index
tutorials/index
topics/index
howto/index
ref/index
faq/index
internals/index
31 changes: 31 additions & 0 deletions Documentation/faq/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
..
Copyright (c) 2016, Stephen Finucane <[email protected]>
Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.

Convention for heading levels in Open vSwitch documentation:

======= Heading 0 (reserved for the title in a document)
------- Heading 1
~~~~~~~ Heading 2
+++++++ Heading 3
''''''' Heading 4

Avoid deeper levels because they do not render well.

================
Open vSwitch FAQ
================

.. toctree::
:maxdepth: 2
34 changes: 34 additions & 0 deletions Documentation/howto/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
..
Copyright (c) 2016, Stephen Finucane <[email protected]>
Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.

Convention for heading levels in Open vSwitch documentation:

======= Heading 0 (reserved for the title in a document)
------- Heading 1
~~~~~~~ Heading 2
+++++++ Heading 3
''''''' Heading 4

Avoid deeper levels because they do not render well.

=============
How-to Guides
=============

Answers to common "How do I?"-style questions. For more information on the
topics covered herein, refer to :doc:`/topics/index`.

.. toctree::
:maxdepth: 2
40 changes: 40 additions & 0 deletions Documentation/index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
..
Copyright (c) 2016, Stephen Finucane <[email protected]>
Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at
Expand All @@ -25,4 +27,42 @@
Open vSwitch Documentation
==========================

How the Documentation is Organised
----------------------------------

The Open vSwitch documentation is organised into multiple sections:

- :doc:`Installation guides </intro/install/index>` guide you through
installing Open vSwitch (OVS) and Open Virtual Network (OVN) on a variety of
different platforms
- :doc:`Tutorials </tutorials/index>` take you through a series of steps to
configure OVS and OVN in sandboxed environments
- :doc:`Topic guides </topics/index>` provide a high level overview of OVS and
OVN internals and operation
- :doc:`How-to guides </howto/index>` are recipes or use-cases for OVS and OVN.
They are more advanced than the tutorials.

First Steps
-----------

**TODO**

Deeper Dive
-----------

**TODO**

The Open vSwitch Project
------------------------

Learn more about the Open vSwitch project and about how you can contribute:

**TODO**

Getting Help
-------------

- Seeing an issue of potential bug? Report problems to [email protected]

- Looking for specific information? Try the :ref:`genindex`, :ref:`modindex` or
the :doc:`detailed table of contents <contents>`.
34 changes: 34 additions & 0 deletions Documentation/internals/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
..
Copyright (c) 2016, Stephen Finucane <[email protected]>
Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.

Convention for heading levels in Open vSwitch documentation:

======= Heading 0 (reserved for the title in a document)
------- Heading 1
~~~~~~~ Heading 2
+++++++ Heading 3
''''''' Heading 4

Avoid deeper levels because they do not render well.

======================
Open vSwitch Internals
======================

Information for people who want to know more about the Open vSwitch project
itself and how they might involved.

.. toctree::
:maxdepth: 2
35 changes: 35 additions & 0 deletions Documentation/intro/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
..
Copyright (c) 2016, Stephen Finucane <[email protected]>
Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.

Convention for heading levels in Open vSwitch documentation:

======= Heading 0 (reserved for the title in a document)
------- Heading 1
~~~~~~~ Heading 2
+++++++ Heading 3
''''''' Heading 4

Avoid deeper levels because they do not render well.

===============
Getting Started
===============

How to get started with Open vSwitch.

.. toctree::
:maxdepth: 2

install/index
34 changes: 34 additions & 0 deletions Documentation/intro/install/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
..
Copyright (c) 2016, Stephen Finucane <[email protected]>
Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.

Convention for heading levels in Open vSwitch documentation:

======= Heading 0 (reserved for the title in a document)
------- Heading 1
~~~~~~~ Heading 2
+++++++ Heading 3
''''''' Heading 4

Avoid deeper levels because they do not render well.

=======================
Installing Open vSwitch
=======================

A collection of guides detailing how to install Open vSwitch in a variety of
different environments and using different configurations.

.. toctree::
:maxdepth: 2
33 changes: 33 additions & 0 deletions Documentation/ref/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
..
Copyright (c) 2016, Stephen Finucane <[email protected]>
Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.

Convention for heading levels in Open vSwitch documentation:

======= Heading 0 (reserved for the title in a document)
------- Heading 1
~~~~~~~ Heading 2
+++++++ Heading 3
''''''' Heading 4

Avoid deeper levels because they do not render well.

===============
Reference Guide
===============

Man Pages
---------

**TODO**
34 changes: 34 additions & 0 deletions Documentation/topics/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
..
Copyright (c) 2016, Stephen Finucane <[email protected]>
Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.

Convention for heading levels in Open vSwitch documentation:

======= Heading 0 (reserved for the title in a document)
------- Heading 1
~~~~~~~ Heading 2
+++++++ Heading 3
''''''' Heading 4

Avoid deeper levels because they do not render well.

======================
Open vSwitch Deep Dive
======================

How Open vSwitch is implemented and, where necessary, why it was implemented
that way.

.. toctree::
:maxdepth: 2
34 changes: 34 additions & 0 deletions Documentation/tutorials/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
..
Copyright (c) 2016, Stephen Finucane <[email protected]>
Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.

Convention for heading levels in Open vSwitch documentation:

======= Heading 0 (reserved for the title in a document)
------- Heading 1
~~~~~~~ Heading 2
+++++++ Heading 3
''''''' Heading 4

Avoid deeper levels because they do not render well.

=========
Tutorials
=========

Getting started with Open vSwitch (OVS) and Open Virtual Network (OVN) for Open
vSwitch.

.. toctree::
:maxdepth: 2

0 comments on commit 11820a1

Please sign in to comment.