diff options
Diffstat (limited to 'tests/roots/test-setup')
-rw-r--r-- | tests/roots/test-setup/doc/conf.py | 4 | ||||
-rw-r--r-- | tests/roots/test-setup/doc/index.txt | 5 | ||||
-rw-r--r-- | tests/roots/test-setup/setup.cfg | 5 | ||||
-rw-r--r-- | tests/roots/test-setup/setup.py | 10 |
4 files changed, 24 insertions, 0 deletions
diff --git a/tests/roots/test-setup/doc/conf.py b/tests/roots/test-setup/doc/conf.py new file mode 100644 index 0000000..f4dc6d6 --- /dev/null +++ b/tests/roots/test-setup/doc/conf.py @@ -0,0 +1,4 @@ +project = 'Sphinx smallest project' +source_suffix = '.txt' +keep_warnings = True +exclude_patterns = ['_build'] diff --git a/tests/roots/test-setup/doc/index.txt b/tests/roots/test-setup/doc/index.txt new file mode 100644 index 0000000..56960f5 --- /dev/null +++ b/tests/roots/test-setup/doc/index.txt @@ -0,0 +1,5 @@ +contents +========= + +spam egg ham + diff --git a/tests/roots/test-setup/setup.cfg b/tests/roots/test-setup/setup.cfg new file mode 100644 index 0000000..cf2a7f5 --- /dev/null +++ b/tests/roots/test-setup/setup.cfg @@ -0,0 +1,5 @@ +[build_sphinx] +project = 'My project' +version = 1.2 +release = 1.2.0 +source-dir = doc diff --git a/tests/roots/test-setup/setup.py b/tests/roots/test-setup/setup.py new file mode 100644 index 0000000..efff6f2 --- /dev/null +++ b/tests/roots/test-setup/setup.py @@ -0,0 +1,10 @@ +from setuptools import setup + +from sphinx.setup_command import BuildDoc + +cmdclass = {'build_sphinx': BuildDoc} + +setup( + name='sphinxdoc', + cmdclass=cmdclass, +) |