mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Add test for latex obey numfig_secnum_depth feature
This commit is contained in:
10
tests/roots/test-latex-numfig/conf.py
Normal file
10
tests/roots/test-latex-numfig/conf.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
master_doc = 'index'
|
||||
|
||||
latex_documents = [
|
||||
('indexmanual', 'SphinxManual.tex', 'Test numfig manual',
|
||||
'Sphinx', 'manual'),
|
||||
('indexhowto', 'SphinxHowTo.tex', 'Test numfig howto',
|
||||
'Sphinx', 'howto'),
|
||||
]
|
||||
9
tests/roots/test-latex-numfig/index.rst
Normal file
9
tests/roots/test-latex-numfig/index.rst
Normal file
@@ -0,0 +1,9 @@
|
||||
=================
|
||||
test-latex-numfig
|
||||
=================
|
||||
|
||||
.. toctree::
|
||||
:numbered:
|
||||
|
||||
indexmanual
|
||||
indexhowto
|
||||
10
tests/roots/test-latex-numfig/indexhowto.rst
Normal file
10
tests/roots/test-latex-numfig/indexhowto.rst
Normal file
@@ -0,0 +1,10 @@
|
||||
=======================
|
||||
test-latex-numfig-howto
|
||||
=======================
|
||||
|
||||
This is a part
|
||||
==============
|
||||
|
||||
This is a section
|
||||
-----------------
|
||||
|
||||
13
tests/roots/test-latex-numfig/indexmanual.rst
Normal file
13
tests/roots/test-latex-numfig/indexmanual.rst
Normal file
@@ -0,0 +1,13 @@
|
||||
========================
|
||||
test-latex-numfig-manual
|
||||
========================
|
||||
|
||||
First part
|
||||
==========
|
||||
|
||||
This is chapter
|
||||
---------------
|
||||
|
||||
This is section
|
||||
~~~~~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user