diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 11:31:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 11:31:33 +0000 |
commit | e863fd965dd6253243c3342bd6f0adc4fc8aec4d (patch) | |
tree | a4c1b6491a82593950043c3f8b2530e80664d768 /tests/roots/test-setup | |
parent | Initial commit. (diff) | |
download | sphinx-e863fd965dd6253243c3342bd6f0adc4fc8aec4d.tar.xz sphinx-e863fd965dd6253243c3342bd6f0adc4fc8aec4d.zip |
Adding upstream version 5.3.0.upstream/5.3.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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, +) |