2021-10-26 20:48:27 +00:00
|
|
|
# Configuration file for the Sphinx documentation builder.
|
|
|
|
#
|
|
|
|
# This file only contains a selection of the most common options. For a full
|
|
|
|
# list see the documentation:
|
|
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
|
|
|
|
|
|
|
# -- Path setup --------------------------------------------------------------
|
|
|
|
|
|
|
|
# If extensions (or modules to document with autodoc) are in another directory,
|
|
|
|
# add these directories to sys.path here. If the directory is relative to the
|
|
|
|
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
|
|
|
#
|
|
|
|
# import os
|
|
|
|
# import sys
|
|
|
|
# sys.path.insert(0, os.path.abspath('.'))
|
|
|
|
|
2022-01-13 19:18:13 +00:00
|
|
|
import pathlib
|
|
|
|
|
2021-10-26 20:48:27 +00:00
|
|
|
# -- Project information -----------------------------------------------------
|
|
|
|
project = 'BTRFS'
|
|
|
|
|
2022-01-13 19:18:13 +00:00
|
|
|
version = pathlib.Path("../VERSION").read_text().strip('v\n')
|
2021-10-26 20:48:27 +00:00
|
|
|
|
|
|
|
# Add any paths that contain templates here, relative to this directory.
|
|
|
|
templates_path = ['_templates']
|
|
|
|
|
|
|
|
# List of patterns, relative to source directory, that match files and
|
|
|
|
# directories to ignore when looking for source files.
|
|
|
|
# This pattern also affects html_static_path and html_extra_path.
|
|
|
|
exclude_patterns = ['_build']
|
|
|
|
|
|
|
|
# The theme to use for HTML and HTML Help pages. See the documentation for
|
|
|
|
# a list of builtin themes.
|
|
|
|
html_theme = 'sphinx_rtd_theme'
|
|
|
|
|
|
|
|
# Add any paths that contain custom static files (such as style sheets) here,
|
|
|
|
# relative to this directory. They are copied after the builtin static files,
|
|
|
|
# so a file named "default.css" will overwrite the builtin "default.css".
|
|
|
|
html_static_path = ['_static']
|
2021-10-26 21:06:50 +00:00
|
|
|
|
2021-11-08 15:43:02 +00:00
|
|
|
# Disable em-dash translation to a single character as we use that for long
|
|
|
|
# command line options and this does not render in a copy & paste friendly way
|
|
|
|
# in html
|
|
|
|
smartquotes_action = 'qe'
|
|
|
|
|
2021-10-26 21:06:50 +00:00
|
|
|
man_pages = [
|
2022-01-13 17:49:11 +00:00
|
|
|
# Source file, page name, description, authors, section
|
|
|
|
('btrfs-select-super', 'btrfs-select-super', 'overwrite primary superblock with a backup copy', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('btrfstune', 'btrfstune', 'tune various filesystem parameters', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('fsck.btrfs', 'fsck.btrfs', 'do nothing, successfully', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('btrfs-send', 'btrfs-send', 'generate a stream of changes between two subvolume snapshots', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('btrfs-scrub', 'btrfs-scrub', 'scrub btrfs filesystem, verify block checksums', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('btrfs-restore', 'btrfs-restore', 'try to restore files from a damaged filesystem image', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('btrfs-rescue', 'btrfs-rescue', 'recover a damaged btrfs filesystem', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('btrfs-replace', 'btrfs-replace', 'replace devices managed by btrfs with other device', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('btrfs-receive', 'btrfs-receive', 'receive subvolumes from send stream', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('btrfs-quota', 'btrfs-quota', 'control the global quota status of a btrfs filesystem', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('btrfs-qgroup', 'btrfs-qgroup', 'control the quota group of a btrfs filesystem', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('btrfs-property', 'btrfs-property', 'get/set/list properties for given filesystem object', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('btrfs-inspect-internal', 'btrfs-inspect-internal', 'query various internal information', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('btrfs-image', 'btrfs-image', 'create/restore an image of the filesystem', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('btrfs-find-root', 'btrfs-find-root', 'filter to find btrfs root', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('btrfs-filesystem', 'btrfs-filesystem', 'command group that primarily does work on the whole filesystems', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('btrfs-device', 'btrfs-device', 'manage devices of btrfs filesystems', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('btrfs-convert', 'btrfs-convert', 'convert from ext2/3/4 or reiserfs filesystem to btrfs in-place', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('btrfs-check', 'btrfs-check', 'check or repair a btrfs filesystem', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('btrfs-balance', 'btrfs-balance', 'balance block groups on a btrfs filesystem', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('btrfs-subvolume', 'btrfs-subvolume', 'manage btrfs subvolumes', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('btrfs-map-logical', 'btrfs-map-logical', 'map btrfs logical extent to physical extent', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('btrfs', 'btrfs', 'a toolbox to manage btrfs filesystems', '', 8),
|
2021-10-26 22:45:24 +00:00
|
|
|
('mkfs.btrfs', 'mkfs.btrfs', 'create a btrfs filesystem', '', 8),
|
2022-01-13 17:49:11 +00:00
|
|
|
('btrfs-man5', 'btrfs', 'topics about the BTRFS filesystem (mount options, supported file attributes and other)', '', 5),
|
2021-10-26 21:06:50 +00:00
|
|
|
]
|
2023-12-05 15:23:27 +00:00
|
|
|
|
|
|
|
extensions = [ 'sphinx_rtd_theme' ]
|