Add a smoke test

This commit is contained in:
Karolina Surma
2024-08-22 11:20:13 +02:00
parent 379ab359f3
commit f1121b8bac
5 changed files with 35 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
1
+5
View File
@@ -0,0 +1,5 @@
discover:
how: fmf
execute:
how: tmt
+9
View File
@@ -0,0 +1,9 @@
summary: run the basic documentation build
test: |
sphinx-build -M html source/ build/ &&
grep '<section id="test-docfile">' build/html/index.html &&
grep '<h1>Test docfile' build/html/index.html &&
rm -rf build/
require:
- python3-sphinx
- python3-sphinx-theme-alabaster
+5
View File
@@ -0,0 +1,5 @@
project = 'Test'
copyright = '2024, Test'
author = 'Test'
release = '0.3.0'
html_theme = 'alabaster'
+15
View File
@@ -0,0 +1,15 @@
Test docfile
============
.. toctree::
:maxdepth: 2
:caption: Contents:
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`