[DOC-24] Add Component Template, Sphinx 1.6.3 99/6899/1
authorRich Bennett <rb2745@att.com>
Tue, 8 Aug 2017 01:38:02 +0000 (21:38 -0400)
committerRich Bennett <rb2745@att.com>
Tue, 8 Aug 2017 01:52:58 +0000 (21:52 -0400)
Change-Id: Ib810ef3354ff17da35c57f563ecd8e15e9250fa3
Signed-off-by: Rich Bennett <rb2745@att.com>
docs/conf.py
docs/templates/component-info/consumed-apis.csv [new file with mode: 0644]
docs/templates/component-info/index.rst [new file with mode: 0644]
docs/templates/component-info/offered-apis.csv [new file with mode: 0644]
docs/templates/release/release-notes/index.rst [deleted file]
docs/templates/release/release-notes/release-notes.rst [deleted file]
etc/requirements.txt

index b3d7533..2ecd6d5 100644 (file)
@@ -24,7 +24,7 @@ import shlex
 # -- General configuration ------------------------------------------------
 
 # If your documentation needs a minimal Sphinx version, state it here.
-#needs_sphinx = '1.0'
+needs_sphinx = '1.6.3'
 
 # Add any Sphinx extension module names here, as strings. They can be
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
@@ -34,8 +34,9 @@ extensions = [
     'sphinx.ext.doctest',
     'sphinx.ext.graphviz',
     'sphinx.ext.todo',
-    'sphinx.ext.pngmath',
+    'sphinx.ext.imgmath',
     'sphinx.ext.viewcode',
+    'sphinxcontrib.blockdiag'
 ]
 
 # Add any paths that contain templates here, relative to this directory.
@@ -62,9 +63,9 @@ author = u'ONAP Contributors'
 # built documents.
 #
 # The short X.Y version.
-version = 'test'
+version = 'pre-release alpha'
 # The full version, including alpha/beta/rc tags.
-release = 'test'
+release = 'Amsterdam 0.1 alpha'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff --git a/docs/templates/component-info/consumed-apis.csv b/docs/templates/component-info/consumed-apis.csv
new file mode 100644 (file)
index 0000000..811d175
--- /dev/null
@@ -0,0 +1 @@
+repo.subrepo.subrepo|API Reference
diff --git a/docs/templates/component-info/index.rst b/docs/templates/component-info/index.rst
new file mode 100644 (file)
index 0000000..e438da8
--- /dev/null
@@ -0,0 +1,65 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. http://creativecommons.org/licenses/by/4.0
+
+XXXX Component Information
+==========================
+High level architecture, design, and packaging information for release planning and delivery.
+
+.. toctree::
+   :maxdepth: 1
+
+
+Delivery
+--------
+Th package component is composed of the functional layers and packaged into run-time components as illustrated in the following diagrams.
+
+.. blockdiag::
+   
+
+   blockdiag layers {
+   orientation = portrait
+   a -> m;
+   b -> n;
+   c -> x;
+   m -> y;
+   m -> z;
+   group l1 {
+       color = blue;
+       x; y; z;
+       }
+   group l2 {
+       color = yellow;
+       m; n; 
+       }
+   group l3 {
+       color = orange;
+       a; b; c;
+       }
+
+   }
+
+
+Offered APIs
+------------
+
+.. csv-table:: 
+   :header-rows: 0
+   :header: "Container or Library", "API Reference", "Purpose", "Protocol", "Port", "TCP/UDP"
+   :widths: 20, 25, 25, 10, 10, 10
+   :delim: |
+   :file: offered-apis.csv
+
+
+Consumed APIs
+-------------
+
+.. csv-table:: 
+   :header-rows: 0
+   :header: "Project Repo/Group ID", "Container or Library Offering API"
+   :widths: 30, 30
+   :delim: |
+   :file: consumed-apis.csv
+
+Logging & Diagnostic Information
+--------------------------------
+Description of how to interact with and diagnose problems with the components in the run-time packaging.
diff --git a/docs/templates/component-info/offered-apis.csv b/docs/templates/component-info/offered-apis.csv
new file mode 100644 (file)
index 0000000..6300998
--- /dev/null
@@ -0,0 +1,2 @@
+XXX Container|API Reference link|Create or Delete XYZ|xxx|9999|TCP
+YYY Library|API Reference link|Create or Delete XYZ|xxxx|xxxx|xxxx
diff --git a/docs/templates/release/release-notes/index.rst b/docs/templates/release/release-notes/index.rst
deleted file mode 100644 (file)
index e703944..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-.. This work is licensed under a Creative Commons Attribution 4.0 International License.
-.. http://creativecommons.org/licenses/by/4.0
-
-****************************
-<Project Name> Release Notes
-****************************
-
-.. toctree::
-   :maxdepth: 1
-
-   release-notes
diff --git a/docs/templates/release/release-notes/release-notes.rst b/docs/templates/release/release-notes/release-notes.rst
deleted file mode 100644 (file)
index 002463d..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-.. This work is licensed under a Creative Commons Attribution 4.0 International License.
-
-
-This document provides the release notes for <RELEASE> of <COMPONENT>.
-
-.. contents::
-   :depth: 3
-   :local:
-
-
-
-Important notes
-===============
-
-<STATE IMPORTANT NOTES/DEVIATIONS SINCE PREVIOUS ITERATIVE RELEASE AND OTHER IMPORTANT NOTES FOR THIS RELEASE>
-
-<EXAMPLE>:
-
-
-
-Summary
-=======
-
-<SUMMARIZE THE RELEASE - THE CONTENT - AND OTHER IMPORTANT HIGH LEVEL PROPERTIES>
-
-<EXAMPLE>:
-
index 8ad711f..f01ad1c 100644 (file)
@@ -1,8 +1,9 @@
 tox
-Sphinx==1.3.1
+Sphinx==1.6.3
 doc8
 docutils
 setuptools
 six
 sphinxcontrib-httpdomain
+sphinxcontrib-blockdiag
 sphinx_bootstrap_theme>=0.4.11