Skip to content

Commit 015a2bd

Browse files
committed
Add Read the Docs configuration for OpenQA Project
1 parent baca1fd commit 015a2bd

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

.readthedocs.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Read the Docs configuration file
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
# Required
5+
version: 2
6+
7+
# Set the OS, Python version, and other tools you might need
8+
build:
9+
os: ubuntu-24.04
10+
tools:
11+
python: "3.13"
12+
#jobs:
13+
# post_create_environment:
14+
# - pip install asciidoctor
15+
16+
# Build documentation in the "docs/" directory with Sphinx
17+
sphinx:
18+
configuration: docs/conf.py
19+
20+
# Optionally, but recommended,
21+
# declare the Python requirements required to build your documentation
22+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
23+
# python:
24+
# install:
25+
# - requirements: docs/requirements.txt
26+
27+
formats:
28+
- pdf
29+
- htmlzip
30+
python:
31+
install:
32+
- requirements: docs/requirements.txt
33+

docs/conf.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
project = 'OpenQA Project'
2+
#copyright = '20235, bn1k'
3+
author = 'b10n1k'
4+
5+
extensions = ['sphinxcontrib.asciidoc']
6+
7+
source_suffix = ['.adoc']
8+
9+
master_doc = 'index'

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sphinxcontrib-asciidoc

0 commit comments

Comments
 (0)