summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBIN HU <bh526r@att.com>2018-09-06 09:40:26 -0700
committerBIN HU <bh526r@att.com>2018-09-06 10:53:00 -0700
commit03b411fe60f8b32ff9c6e8734e752898425970dd (patch)
treeced6210aa1511376d85bc67bd8291f2423987c95
parent43cecdcd9655ac0ec5d225095c80264eb1efb03a (diff)
Submodule Transition in IPv6
Change-Id: Ida7c9b48d4cb947cbb54158ee238cb29c4be1430 Signed-off-by: BIN HU <bh526r@att.com>
-rw-r--r--docs/conf.py9
-rw-r--r--docs/conf.yaml3
-rw-r--r--docs/index.rst16
-rw-r--r--docs/requirements.txt6
-rw-r--r--tox.ini17
5 files changed, 51 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
new file mode 100644
index 0000000..0cfa9d7
--- /dev/null
+++ b/docs/conf.py
@@ -0,0 +1,9 @@
+#######################################################################
+# Copyright (c) 2018 AT&T
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#######################################################################
+
+from docs_conf.conf import *
diff --git a/docs/conf.yaml b/docs/conf.yaml
new file mode 100644
index 0000000..38ea565
--- /dev/null
+++ b/docs/conf.yaml
@@ -0,0 +1,3 @@
+---
+project_cfg: opnfv
+project: ipv6
diff --git a/docs/index.rst b/docs/index.rst
new file mode 100644
index 0000000..e89614b
--- /dev/null
+++ b/docs/index.rst
@@ -0,0 +1,16 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. http://creativecommons.org/licenses/by/4.0
+.. (c) Bin Hu (AT&T) and Sridhar Gaddam (RedHat)
+
+==================
+IPv6 Documentation
+==================
+
+.. toctree::
+ :numbered:
+ :maxdepth: 4
+
+ ./release/release-notes/index.rst
+ ./release/installation/index.rst
+ ./release/configguide/index.rst
+ ./release/userguide/index.rst
diff --git a/docs/requirements.txt b/docs/requirements.txt
new file mode 100644
index 0000000..29bb434
--- /dev/null
+++ b/docs/requirements.txt
@@ -0,0 +1,6 @@
+lfdocs-conf
+sphinx_opnfv_theme
+
+# Uncomment the following line if your project uses Sphinx to document
+# HTTP APIs
+# sphinxcontrib-httpdomain
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..69aa189
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,17 @@
+[tox]
+minversion = 1.6
+envlist =
+ docs,
+ docs-linkcheck
+skipsdist = true
+
+[testenv:docs]
+deps = -rdocs/requirements.txt
+commands =
+ sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
+ echo "Generated docs available in {toxinidir}/docs/_build/html"
+whitelist_externals = echo
+
+[testenv:docs-linkcheck]
+deps = -rdocs/requirements.txt
+commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck