btrfs-progs: docs: add config file for readthedocs.io

There's another config required for building the RTD documentation,
https://docs.readthedocs.io/en/stable/config-file/ .

[ci skip]

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2023-12-05 16:23:27 +01:00
parent cc2e3ab03d
commit 8b9684f965
4 changed files with 14 additions and 0 deletions

1
.gitignore vendored
View File

@ -73,6 +73,7 @@
.*
!.editorconfig
!.github
!.readthedocs.yaml
/ci/images/*/devel.tar.gz

10
.readthedocs.yaml Normal file
View File

@ -0,0 +1,10 @@
version: 2
build:
os: ubuntu-22.04
tools:
python: "3.12"
sphinx:
configuration: Documentation/conf.py
python:
install:
- requirements: Documentation/requirements.txt

View File

@ -71,3 +71,5 @@ man_pages = [
('mkfs.btrfs', 'mkfs.btrfs', 'create a btrfs filesystem', '', 8),
('btrfs-man5', 'btrfs', 'topics about the BTRFS filesystem (mount options, supported file attributes and other)', '', 5),
]
extensions = [ 'sphinx_rtd_theme' ]

View File

@ -0,0 +1 @@
sphinx_rtd_theme