[docs] Armada documentation warning-is-error True.
This PS adds warning-is-error = 1 under [build_sphinx] in setup.cfg so that warnings can be caught. A number of warnings/errors while building the docs are have been corrected by this PS as well. Change-Id: I445369c802e559c629a685024575bd562ea05a1b
This commit is contained in:
parent
542a5d9b76
commit
d143c6b487
4
.gitignore
vendored
4
.gitignore
vendored
@ -62,7 +62,8 @@ instance/
|
|||||||
.scrapy
|
.scrapy
|
||||||
|
|
||||||
# Sphinx documentation
|
# Sphinx documentation
|
||||||
docs/_build/
|
docs/build/
|
||||||
|
docs/source/_static
|
||||||
|
|
||||||
# PyBuilder
|
# PyBuilder
|
||||||
target/
|
target/
|
||||||
@ -88,4 +89,3 @@ ENV/
|
|||||||
|
|
||||||
# Rope project settings
|
# Rope project settings
|
||||||
.ropeproject
|
.ropeproject
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ Roadmap
|
|||||||
|
|
||||||
Detailed roadmap can be viewed `here <https://github.com/att-comdev/armada/milestones>`_
|
Detailed roadmap can be viewed `here <https://github.com/att-comdev/armada/milestones>`_
|
||||||
|
|
||||||
Issues can be reported `here <https://github.com/att-comdev/armada/issues>`_
|
Issues can be reported `on GitHub <https://github.com/att-comdev/armada/issues>`_
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
@ -26,7 +26,7 @@ Using armada `docs <docs/source/operations/guide-use-armada.rst>`_
|
|||||||
Getting Started
|
Getting Started
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
Get started guide can be found in our `docs <docs/source/development/getting-started.rst>`_
|
Get started guide can be found in our `Getting Started docs <docs/source/development/getting-started.rst>`_
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
0
docs/source/_static/.placeholder
Normal file
0
docs/source/_static/.placeholder
Normal file
@ -19,7 +19,6 @@
|
|||||||
# import os
|
# import os
|
||||||
# import sys
|
# import sys
|
||||||
# sys.path.insert(0, os.path.abspath('.'))
|
# sys.path.insert(0, os.path.abspath('.'))
|
||||||
import sphinx_rtd_theme
|
|
||||||
|
|
||||||
|
|
||||||
# -- General configuration ------------------------------------------------
|
# -- General configuration ------------------------------------------------
|
||||||
@ -31,10 +30,25 @@ import sphinx_rtd_theme
|
|||||||
# Add any Sphinx extension module names here, as strings. They can be
|
# Add any Sphinx extension module names here, as strings. They can be
|
||||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
||||||
# ones.
|
# ones.
|
||||||
extensions = []
|
extensions = [
|
||||||
|
'sphinx.ext.autodoc',
|
||||||
|
'sphinx.ext.todo',
|
||||||
|
'sphinx.ext.viewcode',
|
||||||
|
'oslo_config.sphinxconfiggen',
|
||||||
|
'oslo_policy.sphinxpolicygen'
|
||||||
|
]
|
||||||
|
|
||||||
|
# oslo_config.sphinxconfiggen options
|
||||||
|
config_generator_config_file = '../../etc/armada/config-generator.conf'
|
||||||
|
sample_config_basename = '_static/armada'
|
||||||
|
|
||||||
|
# oslo_policy.sphinxpolicygen options
|
||||||
|
|
||||||
|
policy_generator_config_file = '../../etc/armada/policy-generator.conf'
|
||||||
|
sample_policy_basename = '_static/armada'
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
# templates_path = ['_templates']
|
# templates_path = []
|
||||||
|
|
||||||
# The suffix(es) of source filenames.
|
# The suffix(es) of source filenames.
|
||||||
# You can specify multiple suffix as a list of string:
|
# You can specify multiple suffix as a list of string:
|
||||||
@ -83,7 +97,8 @@ todo_include_todos = False
|
|||||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||||
# a list of builtin themes.
|
# a list of builtin themes.
|
||||||
#
|
#
|
||||||
html_theme = 'sphinx_rtd_theme'
|
import sphinx_rtd_theme
|
||||||
|
html_theme = "sphinx_rtd_theme"
|
||||||
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
||||||
|
|
||||||
# Theme options are theme-specific and customize the look and feel of a theme
|
# Theme options are theme-specific and customize the look and feel of a theme
|
||||||
@ -95,7 +110,7 @@ html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
|||||||
# Add any paths that contain custom static files (such as style sheets) here,
|
# Add any paths that contain custom static files (such as style sheets) here,
|
||||||
# relative to this directory. They are copied after the builtin static files,
|
# relative to this directory. They are copied after the builtin static files,
|
||||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||||
# html_static_path = ['_static']
|
html_static_path = ['_static']
|
||||||
|
|
||||||
|
|
||||||
# -- Options for HTMLHelp output ------------------------------------------
|
# -- Options for HTMLHelp output ------------------------------------------
|
||||||
@ -150,6 +165,6 @@ man_pages = [
|
|||||||
# dir menu entry, description, category)
|
# dir menu entry, description, category)
|
||||||
texinfo_documents = [
|
texinfo_documents = [
|
||||||
(master_doc, 'Armada', u'Armada Documentation',
|
(master_doc, 'Armada', u'Armada Documentation',
|
||||||
author, 'Armada', 'One line description of project.',
|
author, 'Armada', 'A python REST orchestrator.',
|
||||||
'Miscellaneous'),
|
'Miscellaneous'),
|
||||||
]
|
]
|
||||||
|
1
docs/source/development/contributing.rst
Normal file
1
docs/source/development/contributing.rst
Normal file
@ -0,0 +1 @@
|
|||||||
|
.. include:: ../../../CONTRIBUTING.rst
|
@ -11,4 +11,4 @@ Developers Guide
|
|||||||
:caption: Contents:
|
:caption: Contents:
|
||||||
|
|
||||||
getting-started.rst
|
getting-started.rst
|
||||||
../../../CONTRIBUTING.rst
|
contributing.rst
|
||||||
|
@ -15,8 +15,6 @@ Welcome to Armada's documentation!
|
|||||||
operations/index
|
operations/index
|
||||||
commands/index
|
commands/index
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Indices and tables
|
Indices and tables
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
@ -19,26 +19,26 @@ Armada Endpoints
|
|||||||
:>json float timeout
|
:>json float timeout
|
||||||
|
|
||||||
|
|
||||||
.. code-block:: json
|
::
|
||||||
|
|
||||||
Request:
|
Request:
|
||||||
|
|
||||||
{
|
{
|
||||||
"file": "examples/openstack-helm.yaml",
|
"file": "examples/openstack-helm.yaml",
|
||||||
"options": {
|
"options": {
|
||||||
"debug": true,
|
"debug": true,
|
||||||
"disable_update_pre": false,
|
"disable_update_pre": false,
|
||||||
"disable_update_post": false,
|
"disable_update_post": false,
|
||||||
"enable_chart_cleanup": false,
|
"enable_chart_cleanup": false,
|
||||||
"skip_pre_flight": false,
|
"skip_pre_flight": false,
|
||||||
"dry_run": false,
|
"dry_run": false,
|
||||||
"wait": false,
|
"wait": false,
|
||||||
"timeout": false
|
"timeout": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.. code-block:: json
|
::
|
||||||
|
|
||||||
Results:
|
Results:
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ Tiller Endpoints
|
|||||||
Description: Retrieves tiller releases.
|
Description: Retrieves tiller releases.
|
||||||
|
|
||||||
|
|
||||||
.. code-block:: json
|
::
|
||||||
|
|
||||||
Results:
|
Results:
|
||||||
|
|
||||||
@ -78,7 +78,7 @@ Tiller Endpoints
|
|||||||
Retrieves the status of the Tiller server.
|
Retrieves the status of the Tiller server.
|
||||||
|
|
||||||
|
|
||||||
.. code-block:: json
|
::
|
||||||
|
|
||||||
Results:
|
Results:
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ armada/Manifest/v1
|
|||||||
+---------------------+--------+----------------------+
|
+---------------------+--------+----------------------+
|
||||||
|
|
||||||
Example
|
Example
|
||||||
~~~~~~~~
|
^^^^^^^
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ armada/ChartGroup/v1
|
|||||||
+-----------------+----------+------------------------------------------------------------------------+
|
+-----------------+----------+------------------------------------------------------------------------+
|
||||||
|
|
||||||
Example
|
Example
|
||||||
~~~~~~~~
|
^^^^^^^
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
@ -153,7 +153,7 @@ Update - Actions - Update/Delete
|
|||||||
Delete Actions only support type: 'job'
|
Delete Actions only support type: 'job'
|
||||||
|
|
||||||
Example
|
Example
|
||||||
~~~~~~~
|
^^^^^^^
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
@ -244,7 +244,7 @@ Source
|
|||||||
|
|
||||||
|
|
||||||
Example
|
Example
|
||||||
~~~~~~~
|
^^^^^^^
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
@ -323,7 +323,7 @@ Armada - Deploy Behavior
|
|||||||
the size of the chart definition will show example in multichart below
|
the size of the chart definition will show example in multichart below
|
||||||
|
|
||||||
Simple Example
|
Simple Example
|
||||||
~~~~~~~~~~~~~~
|
^^^^^^^^^^^^^^
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
@ -364,7 +364,7 @@ Simple Example
|
|||||||
- blog-group
|
- blog-group
|
||||||
|
|
||||||
Multichart Example
|
Multichart Example
|
||||||
~~~~~~~~~~~~~~~~~~
|
^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ Chartbuilder Exceptions
|
|||||||
+-----------------------------+-------------------------------------------------------------+
|
+-----------------------------+-------------------------------------------------------------+
|
||||||
|
|
||||||
Source Exceptions
|
Source Exceptions
|
||||||
===============
|
=================
|
||||||
|
|
||||||
+--------------------------+---------------------------------------------------------------------+
|
+--------------------------+---------------------------------------------------------------------+
|
||||||
| Exception | Error Description |
|
| Exception | Error Description |
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Armada Plugin
|
Armada Plugin
|
||||||
============
|
=============
|
||||||
|
|
||||||
The armada plugin extends all the functionality of Armada to be used as a plugin with Helm.
|
The armada plugin extends all the functionality of Armada to be used as a plugin with Helm.
|
||||||
|
|
||||||
|
@ -53,5 +53,5 @@ Issue
|
|||||||
-----
|
-----
|
||||||
|
|
||||||
If the issue that you are having does not appear here please check the aramda
|
If the issue that you are having does not appear here please check the aramda
|
||||||
issues `here <https://github.com/att-comdev/armada/issues>`_. If the issue does
|
issues `section <https://github.com/att-comdev/armada/issues>`_. If the issue does
|
||||||
not exist, please create an issue.
|
not exist, please create an issue.
|
||||||
|
@ -6,9 +6,9 @@ Prerequisites
|
|||||||
|
|
||||||
Kubernetes Cluster
|
Kubernetes Cluster
|
||||||
|
|
||||||
Tiller Service `here <http://github.com/kubernetes/helm>`_
|
`Tiller Service <http://github.com/kubernetes/helm>`_
|
||||||
|
|
||||||
Armada.yaml `here <guide-build-armada-yaml.rst>`_
|
`Armada.yaml <guide-build-armada-yaml.rst>`_
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
@ -15,3 +15,7 @@ Operations Guide
|
|||||||
guide-configure.rst
|
guide-configure.rst
|
||||||
guide-troubleshooting.rst
|
guide-troubleshooting.rst
|
||||||
guide-use-armada.rst
|
guide-use-armada.rst
|
||||||
|
guide-exceptions.rst
|
||||||
|
guide-helm-plugin.rst
|
||||||
|
sampleconf.rst
|
||||||
|
samplepolicy.rst
|
||||||
|
26
docs/source/operations/sampleconf.rst
Normal file
26
docs/source/operations/sampleconf.rst
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
..
|
||||||
|
Copyright 2017 AT&T Intellectual Property. All other rights reserved.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
Sample Configuration File
|
||||||
|
==========================
|
||||||
|
|
||||||
|
The following is a sample Armada configuration for adaptation and use. It is
|
||||||
|
auto-generated from Armada when this documentation is built, so
|
||||||
|
if you are having issues with an option, please compare your version of
|
||||||
|
Armada with the version of this documentation.
|
||||||
|
|
||||||
|
The sample configuration can also be viewed in `file form <../_static/armada.conf.sample>`_.
|
||||||
|
|
||||||
|
.. literalinclude:: ../_static/armada.conf.sample
|
25
docs/source/operations/samplepolicy.rst
Normal file
25
docs/source/operations/samplepolicy.rst
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
..
|
||||||
|
Copyright 2017 AT&T Intellectual Property. All other rights reserved.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
Sample Policy File
|
||||||
|
==================
|
||||||
|
The following is a sample Armada policy file for adaptation and use. It is
|
||||||
|
auto-generated from Armada when this documentation is built, so
|
||||||
|
if you are having issues with an option, please compare your version of
|
||||||
|
Armada with the version of this documentation.
|
||||||
|
|
||||||
|
The sample policy file can also be viewed in `file form <../_static/armada.policy.yaml.sample>`_.
|
||||||
|
|
||||||
|
.. literalinclude:: ../_static/armada.policy.yaml.sample
|
@ -32,6 +32,10 @@ packages =
|
|||||||
source-dir = docs/source
|
source-dir = docs/source
|
||||||
build-dir = docs/build
|
build-dir = docs/build
|
||||||
all_files = 1
|
all_files = 1
|
||||||
|
warning-is-error = 1
|
||||||
|
|
||||||
|
[upload_sphinx]
|
||||||
|
upload-dir = doc/build/html
|
||||||
|
|
||||||
[entry_points]
|
[entry_points]
|
||||||
console_scripts =
|
console_scripts =
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
tox
|
tox
|
||||||
|
|
||||||
# Docs
|
# Docs
|
||||||
Sphinx
|
sphinx>=1.6.2
|
||||||
|
sphinx_rtd_theme==0.2.4
|
||||||
|
|
||||||
# Testing
|
# Testing
|
||||||
flake8==3.3.0
|
flake8==3.3.0
|
||||||
|
Loading…
Reference in New Issue
Block a user