Use reno for release notes 72/12572/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 13 Sep 2018 15:18:53 +0000 (11:18 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 13 Sep 2018 21:47:00 +0000 (17:47 -0400)
Change-Id: I9f08ef7c04f815203ec3a0aba8284f9ea187cf77
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
docs/conf.yaml
docs/index.rst
docs/release-notes.rst [new file with mode: 0644]
docs/requirements.txt [new file with mode: 0644]
tox.ini

index 3edd414..8066718 100644 (file)
@@ -1,3 +1,12 @@
 ---
 project_cfg: lfdocs
 project: lfdocs-conf
+
+extensions:
+  - reno.sphinxext
+  - sphinx.ext.autodoc
+  - sphinx.ext.doctest
+  - sphinx.ext.intersphinx
+  - sphinx.ext.todo
+  - sphinx.ext.coverage
+  - sphinx.ext.viewcode
index 43b24dd..c361340 100644 (file)
@@ -13,6 +13,7 @@ Contents:
 .. toctree::
     :maxdepth: 2
 
+    release-notes
     install
     config
 
diff --git a/docs/release-notes.rst b/docs/release-notes.rst
new file mode 100644 (file)
index 0000000..ec77acc
--- /dev/null
@@ -0,0 +1 @@
+.. release-notes:: Release Notes
diff --git a/docs/requirements.txt b/docs/requirements.txt
new file mode 100644 (file)
index 0000000..0f1068d
--- /dev/null
@@ -0,0 +1 @@
+reno~=2.10.0
diff --git a/tox.ini b/tox.ini
index 7d46d2b..134aa14 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -33,7 +33,12 @@ commands =
 skip_install=True
 
 [testenv:docs]
+deps = -rdocs/requirements.txt
 commands =
     sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
     echo "Generated docs available in {toxinidir}/docs/_build/html"
 whitelist_externals = echo
+
+[testenv:reno]
+deps = -rdocs/requirements.txt
+commands = reno {posargs:--help}