Skip to content

Commit

Permalink
new: doc: Add linkcheck to CI
Browse files Browse the repository at this point in the history
Merge branch 'mnowak/rtd-add-linkcheck' into 'main'

See merge request isc-projects/bind9!9680
  • Loading branch information
Mno-hime committed Jan 24, 2025
2 parents 4dfc12c + 48eab76 commit 98522ab
Show file tree
Hide file tree
Showing 14 changed files with 47 additions and 20 deletions.
12 changes: 12 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,18 @@ changelog:
artifacts:
untracked: true

linkcheck:
<<: *base_image
stage: docs
script:
- pushd doc/arm/ > /dev/null && sphinx-build -b linkcheck . linkcheck_output/
artifacts:
paths:
- doc/arm/linkcheck_output/
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
needs: []

docs:
<<: *default_triggering_rules
<<: *base_image
Expand Down
4 changes: 2 additions & 2 deletions bin/dnssec/dnssec-signzone.rst
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ Options
with cached copies of the old DNSKEY RRset. The :option:`-Q` option forces
:program:`dnssec-signzone` to remove signatures from keys that are no longer
active. This enables ZSK rollover using the procedure described in
:rfc:`6781#4.1.1.1` ("Pre-Publish Key Rollover").
:rfc:`6781#section-4.1.1.1` ("Pre-Publish Zone Signing Key Rollover").

.. option:: -q

Expand All @@ -291,7 +291,7 @@ Options
This option is similar to :option:`-Q`, except it forces
:program:`dnssec-signzone` to remove signatures from keys that are no longer
published. This enables ZSK rollover using the procedure described in
:rfc:`6781#4.1.1.2` ("Double Signature Zone Signing Key
:rfc:`6781#section-4.1.1.2` ("Double Signature Zone Signing Key
Rollover").

.. option:: -S
Expand Down
9 changes: 5 additions & 4 deletions doc/arm/build.inc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@ unavailable, ``--disable-doh`` can be used to disable DoH support.

To support the HTTP statistics channel, the server must be linked with
at least one of the following libraries: ``libxml2``
(http://xmlsoft.org) or ``json-c`` (https://github.com/json-c/json-c).
If these are installed at a nonstandard location, then:
(https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home) or ``json-c``
(https://github.com/json-c/json-c). If these are installed at a
nonstandard location, then:

- for ``libxml2``, specify the prefix using ``--with-libxml2=/prefix``,
- for ``json-c``, adjust ``PKG_CONFIG_PATH``.
Expand All @@ -130,7 +131,7 @@ installed in a nonstandard location, specify the prefix using

For DNSTAP packet logging, ``libfstrm``
(https://github.com/farsightsec/fstrm) and ``libprotobuf-c``
(https://developers.google.com/protocol-buffers) must be installed, and
(https://protobuf.dev) must be installed, and
BIND must be configured with ``--enable-dnstap``.

To support internationalized domain names in :iscman:`dig`, ``libidn2``
Expand Down Expand Up @@ -176,6 +177,6 @@ macOS

Building on macOS assumes that the “Command Tools for Xcode” are
installed. These can be downloaded from
https://developer.apple.com/download/more/ or, if Xcode is already
https://developer.apple.com/xcode/resources/ or, if Xcode is already
installed, simply run ``xcode-select --install``. (Note that an Apple ID
may be required to access the download page.)
14 changes: 14 additions & 0 deletions doc/arm/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,20 @@ def setup(app):

latex_logo = "isc-logo.pdf"

# -- Options for linkcheck ----------------------------------------------
linkcheck_timeout = 10
linkcheck_ignore = [
"http://127.0.0.1",
"https://gitlab.isc.org",
"https://kb.isc.org",
"https://simpleicon.com/",
"https://www.dnssec-or-not.com/",
"https://www.flaticon.com/",
"https://www.freepik.com/",
"https://www.godaddy.com",
"https://www.icann.org",
]

#
# The rst_epilog will be completely overwritten from the Makefile,
# the definition here is provided purely for situations when
Expand Down
2 changes: 1 addition & 1 deletion doc/arm/general.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ The list is non-exhaustive.

.. _Internet Engineering Steering Group: https://www.ietf.org/about/groups/iesg/
.. _Internet Engineering Task Force: https://www.ietf.org/about/
.. _Request for Comments: https://www.ietf.org/standards/rfcs/
.. _Request for Comments: https://www.ietf.org/process/rfcs/

Some of these RFCs, though DNS-related, are not concerned with implementing
software.
Expand Down
2 changes: 1 addition & 1 deletion doc/arm/intro-dns-bind.inc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ that could be packed into a 512-byte UDP message, and not a perverse affinity fo
cultures treat as unlucky. The 512-byte UDP data limit
is no longer a limiting factor and all root servers now support both IPv4 and IPv6. In addition, almost all the
root servers use **anycast**, with well over
300 instances of the root servers now providing service worldwide (see further information at https://www.root-servers.org).
300 instances of the root servers now providing service worldwide (see further information at https://root-servers.org).
The root servers are the starting point for all **name resolution** within the DNS.

Name Resolution
Expand Down
2 changes: 1 addition & 1 deletion doc/arm/pkcs11.inc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Building SoftHSMv2
^^^^^^^^^^^^^^^^^^

SoftHSMv2, the latest development version of SoftHSM, is available from
https://github.com/opendnssec/SoftHSMv2. It is a software library
https://github.com/softhsm/SoftHSMv2. It is a software library
developed by the OpenDNSSEC project (https://www.opendnssec.org) which
provides a PKCS#11 interface to a virtual HSM, implemented in the form
of an SQLite3 database on the local filesystem. It provides less security
Expand Down
6 changes: 3 additions & 3 deletions doc/arm/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,7 @@ default is used.
https://github.com/farsightsec/fstrm) to send event payloads which
are encoded using Protocol Buffers (``libprotobuf-c``, a mechanism
for serializing structured data developed by Google, Inc.; see
https://developers.google.com/protocol-buffers/).
https://protobuf.dev).

To enable :any:`dnstap` at compile time, the ``fstrm`` and
``protobuf-c`` libraries must be available, and BIND must be
Expand Down Expand Up @@ -5743,7 +5743,7 @@ The following options can be specified in a :any:`tls` statement:
``TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256``.
The string must be formed according to the rules specified in the
OpenSSL documentation (see
https://www.openssl.org/docs/man1.1.1/man1/ciphers.html, section
https://docs.openssl.org/1.1.1/man1/ciphers/, section
"TLS v1.3 cipher suites" for details).

.. namedconf:statement:: ciphers
Expand All @@ -5753,7 +5753,7 @@ The following options can be specified in a :any:`tls` statement:
This option defines allowed ciphers, such as
``HIGH:!aNULL:!MD5:!SHA1:!SHA256:!SHA384``. The string must be
formed according to the rules specified in the OpenSSL documentation
(see https://www.openssl.org/docs/man1.1.1/man1/ciphers.html
(see https://docs.openssl.org/1.1.1/man1/ciphers/
for details).

.. namedconf:statement:: prefer-server-ciphers
Expand Down
4 changes: 2 additions & 2 deletions doc/arm/rpz.inc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -727,8 +727,8 @@ particular). This is a concern for some network administrators who do not
want their users' DNS queries to be rerouted unexpectedly. However,
Mozilla provides a mechanism to disable the DoH-by-default setting:
if the Mozilla-owned domain `use-application-dns.net
<https://use-application-dns.net>`_ returns an NXDOMAIN response code, Firefox
will not use DoH.
<https://support.mozilla.org/en-US/kb/canary-domain-use-application-dnsnet>`_
returns an NXDOMAIN response code, Firefox will not use DoH.

To accomplish this using RPZ:

Expand Down
2 changes: 1 addition & 1 deletion doc/arm/troubleshooting.inc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ back to plain DNS queries without EDNS.
Such workarounds cause unnecessary resolution delays, increase code
complexity, and prevent deployment of new DNS features. In February
2019, all major DNS software vendors removed these
workarounds; see https://dnsflagday.net/2019 for further details. This change
workarounds; see https://www.dnsflagday.net/2019/ for further details. This change
was implemented in BIND as of release 9.14.0.

As a result, some domains may be non-resolvable without manual
Expand Down
4 changes: 2 additions & 2 deletions doc/changelog/changelog-9.21.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ New Features
are loaded from the currently active bundle from the imported SKR.

The implementation is loosely based on:
https://www.iana.org/dnssec/archive/files/draft-icann-dnssec-
keymgmt-01.txt :gl:`#1128` :gl:`!9119`
https://www.iana.org/dnssec/archive/files/draft-icann-dnssec-keymgmt-01.txt
:gl:`#1128` :gl:`!9119`

- Implement the 'request-ixfr-max-diffs' configuration option.
``99b18bab7e1``
Expand Down
2 changes: 1 addition & 1 deletion doc/dnssec-guide/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ want to consider deploying DNSSEC:
requesting all ``.gov`` subdomains to be DNSSEC-signed by December
2009. This explains why ``.gov`` is the most-deployed DNSSEC domain
currently, with `around 90% of subdomains
signed. <https://fedv6-deployment.antd.nist.gov/cgi-bin/generate-gov>`__
signed. <https://usgv6-deploymon.nist.gov/cgi-bin/generate-gov>`__
.. _how_does_dnssec_change_my_job:

Expand Down
2 changes: 1 addition & 1 deletion doc/dnssec-guide/preface.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ Considerations" by S. Morris, J. Ihren, J. Dickinson, and W. Mekking,
subsequently published as :rfc:`7583`.

Icons made by `Freepik <https://www.freepik.com/>`__ and
`SimpleIcon <https://www.simpleicon.com/>`__ from
`SimpleIcon <https://simpleicon.com/>`__ from
`Flaticon <https://www.flaticon.com/>`__, licensed under `Creative Commons BY
3.0 <https://creativecommons.org/licenses/by/3.0/>`__.
2 changes: 1 addition & 1 deletion doc/dnssec-guide/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Configure your client computer to use the newly reconfigured recursive
server for DNS resolution; then use one of these web-based tests to
confirm that it is in fact validating DNS responses.

- `Internet.nl <https://en.conn.internet.nl/connection/>`__
- `Internet.nl <http://conn.internet.nl/connection/>`__

- `DNSSEC or Not (VeriSign) <https://www.dnssec-or-not.com/>`__

Expand Down

0 comments on commit 98522ab

Please sign in to comment.