Skip to content

Commit 8b9684f

Browse files
committed
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 <[email protected]>
1 parent cc2e3ab commit 8b9684f

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
.*
7474
!.editorconfig
7575
!.github
76+
!.readthedocs.yaml
7677

7778
/ci/images/*/devel.tar.gz
7879

.readthedocs.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
build:
3+
os: ubuntu-22.04
4+
tools:
5+
python: "3.12"
6+
sphinx:
7+
configuration: Documentation/conf.py
8+
python:
9+
install:
10+
- requirements: Documentation/requirements.txt

Documentation/conf.py

+2
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,5 @@
7171
('mkfs.btrfs', 'mkfs.btrfs', 'create a btrfs filesystem', '', 8),
7272
('btrfs-man5', 'btrfs', 'topics about the BTRFS filesystem (mount options, supported file attributes and other)', '', 5),
7373
]
74+
75+
extensions = [ 'sphinx_rtd_theme' ]

Documentation/requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sphinx_rtd_theme

0 commit comments

Comments
 (0)