diff options
Diffstat (limited to 'tosca2heat/tosca-parser/doc/source')
-rw-r--r-- | tosca2heat/tosca-parser/doc/source/conf.py | 74 | ||||
-rw-r--r-- | tosca2heat/tosca-parser/doc/source/contributing.rst | 1 | ||||
-rw-r--r-- | tosca2heat/tosca-parser/doc/source/index.rst | 38 | ||||
-rw-r--r-- | tosca2heat/tosca-parser/doc/source/installation.rst | 18 | ||||
-rw-r--r-- | tosca2heat/tosca-parser/doc/source/usage.rst | 16 |
5 files changed, 0 insertions, 147 deletions
diff --git a/tosca2heat/tosca-parser/doc/source/conf.py b/tosca2heat/tosca-parser/doc/source/conf.py deleted file mode 100644 index d5d9189..0000000 --- a/tosca2heat/tosca-parser/doc/source/conf.py +++ /dev/null @@ -1,74 +0,0 @@ -# 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. - -import os -import sys - -sys.path.insert(0, os.path.abspath('../..')) -# -- General configuration ---------------------------------------------------- - -# Add any Sphinx extension module names here, as strings. They can be -# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = [ - 'sphinx.ext.autodoc', - #'sphinx.ext.intersphinx', - 'oslosphinx' -] - -# autodoc generation is a bit aggressive and a nuisance when doing heavy -# text edit cycles. -# execute "export SPHINX_DEBUG=1" in your terminal to disable - -# The suffix of source filenames. -source_suffix = '.rst' - -# The master toctree document. -master_doc = 'index' - -# General information about the project. -project = u'tosca-parser' -copyright = u'2013, OpenStack Foundation' - -# If true, '()' will be appended to :func: etc. cross-reference text. -add_function_parentheses = True - -# If true, the current module name will be prepended to all description -# unit titles (such as .. function::). -add_module_names = True - -# The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' - -# -- Options for HTML output -------------------------------------------------- - -# The theme to use for HTML and HTML Help pages. Major themes that come with -# Sphinx are currently 'default' and 'sphinxdoc'. -# html_theme_path = ["."] -# html_theme = 'default' -# html_static_path = ['static'] - -# Output file base name for HTML help builder. -htmlhelp_basename = '%sdoc' % project - -# Grouping the document tree into LaTeX files. List of tuples -# (source start file, target name, title, author, documentclass -# [howto/manual]). -latex_documents = [ - ('index', - '%s.tex' % project, - u'%s Documentation' % project, - u'OpenStack Foundation', 'manual'), -] - -# Example configuration for intersphinx: refer to the Python standard library. -#intersphinx_mapping = {'http://docs.python.org/': None} diff --git a/tosca2heat/tosca-parser/doc/source/contributing.rst b/tosca2heat/tosca-parser/doc/source/contributing.rst deleted file mode 100644 index 8cb3146..0000000 --- a/tosca2heat/tosca-parser/doc/source/contributing.rst +++ /dev/null @@ -1 +0,0 @@ -.. include:: ../../CONTRIBUTING.rst
\ No newline at end of file diff --git a/tosca2heat/tosca-parser/doc/source/index.rst b/tosca2heat/tosca-parser/doc/source/index.rst deleted file mode 100644 index c3894f4..0000000 --- a/tosca2heat/tosca-parser/doc/source/index.rst +++ /dev/null @@ -1,38 +0,0 @@ -.. tosca-parser documentation master file, created by - sphinx-quickstart on Tue Jul 9 22:26:36 2013. - You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. - -Welcome to tosca-parser's documentation! -=========================================== - -The TOSCA Parser is developed to parse TOSCA Simple Profile in YAML. It reads -the TOSCA templates and creates an in-memory graph of TOSCA nodes and their -relationship. - -The TOSCA Parser can also be used for parsing TOSCA Simple Profile for Network -Functions Virtualization (NFV). The work to provide such a support was started -with the release of TOSCA Parser 0.4.0 PyPI release and it is ongoing. -The TOSCA Simple Profile for NFV can be accessed by using TOSCA version -"tosca_simple_profile_for_nfv_1_0_0" in the template. - -The TOSCA Parser now supports profile definition extensions that can be -accessed via a custom tosca_definitions_version. Extensions can be added by -creating a module in the "toscaparser/extensions" directory. See the "nfv" -module for an example. - -Contents: - -.. toctree:: - :maxdepth: 2 - - installation - usage - contributing - -Indices and tables -================== - -* :ref:`genindex` -* :ref:`modindex` -* :ref:`search` diff --git a/tosca2heat/tosca-parser/doc/source/installation.rst b/tosca2heat/tosca-parser/doc/source/installation.rst deleted file mode 100644 index 5476d41..0000000 --- a/tosca2heat/tosca-parser/doc/source/installation.rst +++ /dev/null @@ -1,18 +0,0 @@ -============ -Installation -============ - -PyPI Installation ------------------ -Tosca-Parser can be installed via a PyPI package. Refer to https://pypi.python.org/pypi/tosca-parser for available packages. -The latest release can be simply installed by running the following command:: - - sudo pip install tosca-parser - -Manual Installation -------------------- -You can manually install the latest code available at the TOSCA-Parser github repository by following these steps:: - - git clone https://github.com/openstack/tosca-parser - cd tosca-parser - sudo python setup.py install diff --git a/tosca2heat/tosca-parser/doc/source/usage.rst b/tosca2heat/tosca-parser/doc/source/usage.rst deleted file mode 100644 index 2b822a8..0000000 --- a/tosca2heat/tosca-parser/doc/source/usage.rst +++ /dev/null @@ -1,16 +0,0 @@ -===== -Usage -===== - -The TOSCA Parser can be used as a library by any client program, for example, -OpenStack heat-translator uses it to translate TOSCA to Heat Orchestration -Template (HOT). - -For an easy reference on how TOSCA Parser can be used programmatically or to -test that the a TOSCA template passes validation, refer to the tosca_parser.py -test program which is located at the root level of the project. Alternatively, -you can install 0.3.0 or higher PyPI release of TOSCA-Parser as available at the -https://pypi.python.org/pypi/tosca-parser and test use the parser via CLI -entry point as:: - tosca-parser --template-file=toscaparser/tests/data/tosca_helloworld.yaml -The value to the --template-file is required to be a relative or an absolute path. |