| 1 |
############################################################################ |
| 2 |
# Copyright (C) Internet Systems Consortium, Inc. ("ISC") |
| 3 |
# |
| 4 |
# SPDX-License-Identifier: MPL-2.0 |
| 5 |
# |
| 6 |
# This Source Code Form is subject to the terms of the Mozilla Public |
| 7 |
# License, v. 2.0. If a copy of the MPL was not distributed with this |
| 8 |
# file, you can obtain one at https://mozilla.org/MPL/2.0/. |
| 9 |
# |
| 10 |
# See the COPYRIGHT file distributed with this work for additional |
| 11 |
# information regarding copyright ownership. |
| 12 |
############################################################################ |
| 13 |
|
| 14 |
# |
| 15 |
# Configuration file for the Sphinx documentation builder. |
| 16 |
# |
| 17 |
# This file only contains a selection of the most common options. For a full |
| 18 |
# list see the documentation: |
| 19 |
# https://www.sphinx-doc.org/en/master/config |
| 20 |
|
| 21 |
# -- Path setup -------------------------------------------------------------- |
| 22 |
|
| 23 |
# If extensions (or modules to document with autodoc) are in another directory, |
| 24 |
# add these directories to sys.path here. If the directory is relative to the |
| 25 |
# documentation root, use os.path.abspath to make it absolute, like shown here. |
| 26 |
# |
| 27 |
# import os |
| 28 |
# import sys |
| 29 |
# sys.path.insert(0, os.path.abspath('.')) |
| 30 |
|
| 31 |
# -- Project information ----------------------------------------------------- |
| 32 |
|
| 33 |
project = "BIND 9" |
| 34 |
import datetime |
| 35 |
|
| 36 |
year = datetime.datetime.now().year |
| 37 |
copyright = "%d, Internet Systems Consortium" % year |
| 38 |
author = "Internet Systems Consortium" |
| 39 |
|
| 40 |
# -- General configuration --------------------------------------------------- |
| 41 |
|
| 42 |
# Build man pages directly in _build/man/, not in _build/man/<section>/. |
| 43 |
# This is what the shell code in Makefile.am expects. |
| 44 |
man_make_section_directory = False |
| 45 |
|
| 46 |
# Add any Sphinx extension module names here, as strings. They can be |
| 47 |
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
| 48 |
# ones. |
| 49 |
extensions = [] |
| 50 |
|
| 51 |
# Add any paths that contain templates here, relative to this directory. |
| 52 |
templates_path = ["../arm/_templates"] |
| 53 |
|
| 54 |
# List of patterns, relative to source directory, that match files and |
| 55 |
# directories to ignore when looking for source files. |
| 56 |
# This pattern also affects html_static_path and html_extra_path. |
| 57 |
exclude_patterns = [ |
| 58 |
"_build", |
| 59 |
"Thumbs.db", |
| 60 |
".DS_Store", |
| 61 |
] |
| 62 |
|
| 63 |
# The master toctree document. |
| 64 |
master_doc = "index" |
| 65 |
|
| 66 |
man_pages = [ |
| 67 |
( |
| 68 |
"arpaname", |
| 69 |
"arpaname", |
| 70 |
"translate IP addresses to the corresponding ARPA names", |
| 71 |
author, |
| 72 |
1, |
| 73 |
), |
| 74 |
("ddns-confgen", "ddns-confgen", "ddns key generation tool", author, 8), |
| 75 |
("delv", "delv", "DNS lookup and validation utility", author, 1), |
| 76 |
("dig", "dig", "DNS lookup utility", author, 1), |
| 77 |
( |
| 78 |
"dnssec-cds", |
| 79 |
"dnssec-cds", |
| 80 |
"change DS records for a child zone based on CDS/CDNSKEY", |
| 81 |
author, |
| 82 |
1, |
| 83 |
), |
| 84 |
("dnssec-dsfromkey", "dnssec-dsfromkey", "DNSSEC DS RR generation tool", author, 1), |
| 85 |
( |
| 86 |
"dnssec-importkey", |
| 87 |
"dnssec-importkey", |
| 88 |
"import DNSKEY records from external systems so they can be managed", |
| 89 |
author, |
| 90 |
1, |
| 91 |
), |
| 92 |
( |
| 93 |
"dnssec-keyfromlabel", |
| 94 |
"dnssec-keyfromlabel", |
| 95 |
"DNSSEC key generation tool", |
| 96 |
author, |
| 97 |
1, |
| 98 |
), |
| 99 |
("dnssec-keygen", "dnssec-keygen", "DNSSEC key generation tool", author, 1), |
| 100 |
( |
| 101 |
"dnssec-ksr", |
| 102 |
"dnssec-ksr", |
| 103 |
"create signed key response (SKR) files for offline KSK setups", |
| 104 |
author, |
| 105 |
1, |
| 106 |
), |
| 107 |
( |
| 108 |
"dnssec-revoke", |
| 109 |
"dnssec-revoke", |
| 110 |
"set the REVOKED bit on a DNSSEC key", |
| 111 |
author, |
| 112 |
1, |
| 113 |
), |
| 114 |
( |
| 115 |
"dnssec-settime", |
| 116 |
"dnssec-settime", |
| 117 |
"set the key timing metadata for a DNSSEC key", |
| 118 |
author, |
| 119 |
1, |
| 120 |
), |
| 121 |
("dnssec-signzone", "dnssec-signzone", "DNSSEC zone signing tool", author, 1), |
| 122 |
("dnssec-verify", "dnssec-verify", "DNSSEC zone verification tool", author, 1), |
| 123 |
( |
| 124 |
"dnstap-read", |
| 125 |
"dnstap-read", |
| 126 |
"print dnstap data in human-readable form", |
| 127 |
author, |
| 128 |
1, |
| 129 |
), |
| 130 |
( |
| 131 |
"filter-aaaa", |
| 132 |
"filter-aaaa", |
| 133 |
"filter AAAA in DNS responses when A is present", |
| 134 |
author, |
| 135 |
8, |
| 136 |
), |
| 137 |
( |
| 138 |
"filter-a", |
| 139 |
"filter-a", |
| 140 |
"filter A in DNS responses when AAAA is present", |
| 141 |
author, |
| 142 |
8, |
| 143 |
), |
| 144 |
("host", "host", "DNS lookup utility", author, 1), |
| 145 |
("mdig", "mdig", "DNS pipelined lookup utility", author, 1), |
| 146 |
( |
| 147 |
"named-checkconf", |
| 148 |
"named-checkconf", |
| 149 |
"named configuration file syntax checking tool", |
| 150 |
author, |
| 151 |
1, |
| 152 |
), |
| 153 |
( |
| 154 |
"named-checkzone", |
| 155 |
"named-checkzone", |
| 156 |
"zone file validity checking or converting tool", |
| 157 |
author, |
| 158 |
1, |
| 159 |
), |
| 160 |
( |
| 161 |
"named-compilezone", |
| 162 |
"named-compilezone", |
| 163 |
"zone file validity checking or converting tool", |
| 164 |
author, |
| 165 |
1, |
| 166 |
), |
| 167 |
( |
| 168 |
"named-journalprint", |
| 169 |
"named-journalprint", |
| 170 |
"print zone journal in human-readable form", |
| 171 |
author, |
| 172 |
1, |
| 173 |
), |
| 174 |
( |
| 175 |
"named-nzd2nzf", |
| 176 |
"named-nzd2nzf", |
| 177 |
"convert an NZD database to NZF text format", |
| 178 |
author, |
| 179 |
1, |
| 180 |
), |
| 181 |
( |
| 182 |
"named-rrchecker", |
| 183 |
"named-rrchecker", |
| 184 |
"syntax checker for individual DNS resource records", |
| 185 |
author, |
| 186 |
1, |
| 187 |
), |
| 188 |
("named.conf", "named.conf", "configuration file for **named**", author, 5), |
| 189 |
("named", "named", "Internet domain name server", author, 8), |
| 190 |
("nsec3hash", "nsec3hash", "generate NSEC3 hash", author, 1), |
| 191 |
("nslookup", "nslookup", "query Internet name servers interactively", author, 1), |
| 192 |
("nsupdate", "nsupdate", "dynamic DNS update utility", author, 1), |
| 193 |
("rndc-confgen", "rndc-confgen", "rndc key generation tool", author, 8), |
| 194 |
("rndc.conf", "rndc.conf", "rndc configuration file", author, 5), |
| 195 |
("rndc", "rndc", "name server control utility", author, 8), |
| 196 |
("tsig-keygen", "tsig-keygen", "TSIG key generation tool", author, 8), |
| 197 |
] |
| 198 |
|
| 199 |
# |
| 200 |
# The rst_epilog will be completely overwritten from the Makefile, |
| 201 |
# the definition here is provided purely for situations when |
| 202 |
# sphinx-build is run by hand. |
| 203 |
# |
| 204 |
rst_epilog = """ |
| 205 |
.. |rndc_conf| replace:: ``@sysconfdir@/rndc.conf`` |
| 206 |
.. |rndc_key| replace:: ``@sysconfdir@/rndc.key`` |
| 207 |
.. |named_conf| replace:: ``@sysconfdir@/named.conf`` |
| 208 |
.. |named_pid| replace:: ``@runstatedir@/named.pid`` |
| 209 |
.. |session_key| replace:: ``@runstatedir@/session.key`` |
| 210 |
""" |
| 211 |
|
| 212 |
|
| 213 |
def setup(app): |
| 214 |
app.add_crossref_type("iscman", "iscman", "pair: %s; manual page") |