Merge branch 'pspacek/rtd-style-changes' into 'main'

ReadTheDocs style changes

See merge request isc-projects/bind9!6385
This commit is contained in:
Petr Špaček
2022-06-02 15:22:56 +00:00
3 changed files with 30 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ EXTRA_DIST = \
troubleshooting.inc.rst \
tsig.inc.rst \
zones.inc.rst \
_static/custom.css \
../dnssec-guide \
../misc/acl.grammar.rst \
../misc/controls.grammar.rst \

View File

@@ -0,0 +1,25 @@
/*
Copyright (C) Internet Systems Consortium, Inc. ("ISC")
SPDX-License-Identifier: MPL-2.0
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, you can obtain one at https://mozilla.org/MPL/2.0/.
See the COPYRIGHT file distributed with this work for additional
information regarding copyright ownership.
*/
/* make table content wrappable */
.wy-table-responsive table td {
white-space:normal;
}
/* readability improvements */
.rst-content code.literal {
color: black;
}
.rst-content code.xref {
text-decoration: underline dotted gray;
}

View File

@@ -154,6 +154,10 @@ master_doc = 'index'
# a list of builtin themes.
#
html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']
html_css_files = [
'custom.css'
]
# -- Options for EPUB output -------------------------------------------------