Add index files for specs, specs/juno, specs/kilo
These 3 folders didn't have an index file. This patch adds one so it can contain a TOC for the accepted specs. Change-Id: Ib674688ba51765d70b555fa51bcc5d35a9b6bcad
This commit is contained in:
parent
6a0e71402a
commit
e79292d8d1
|
@ -0,0 +1,10 @@
|
||||||
|
================
|
||||||
|
Specifications
|
||||||
|
================
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:glob:
|
||||||
|
:maxdepth: 1
|
||||||
|
|
||||||
|
juno/index
|
||||||
|
kilo/index
|
|
@ -0,0 +1,10 @@
|
||||||
|
====================
|
||||||
|
Kilo Specifications
|
||||||
|
====================
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:glob:
|
||||||
|
:maxdepth: 2
|
||||||
|
|
||||||
|
*
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
====================
|
||||||
|
Kilo Specifications
|
||||||
|
====================
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:glob:
|
||||||
|
:maxdepth: 2
|
||||||
|
|
||||||
|
.. *
|
||||||
|
|
|
@ -93,7 +93,9 @@ class TestTitles(testtools.TestCase):
|
||||||
self.assertEqual(0, len(titles[refs]))
|
self.assertEqual(0, len(titles[refs]))
|
||||||
|
|
||||||
def test_template(self):
|
def test_template(self):
|
||||||
files = ['specs/template.rst'] + glob.glob('specs/*/*')
|
files = (['specs/template.rst'] +
|
||||||
|
filter(lambda x: not x.endswith('index.rst'),
|
||||||
|
glob.glob('specs/*/*')))
|
||||||
for filename in files:
|
for filename in files:
|
||||||
self.assertTrue(filename.endswith(".rst"),
|
self.assertTrue(filename.endswith(".rst"),
|
||||||
"spec's file must uses 'rst' extension.")
|
"spec's file must uses 'rst' extension.")
|
||||||
|
|
Loading…
Reference in New Issue