Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the docs build! + Remove unsupported options from Sphinx config + Update deps + add rst_prolog #404

Merged
merged 14 commits into from
Oct 29, 2024
8 changes: 8 additions & 0 deletions doc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
28 October 2024: Jeroen
- Merge #404: Introducing Sphinx substitution in code blocks.
As well as other fixes with Sphinx build.
- Merge #391: Update Copyright lines in help output
- Merge #395: Explain zonefile example better
- Merge #394: Fix doc path (fixes "Edit on GitHub" button in the docs)
melroy89 marked this conversation as resolved.
Show resolved Hide resolved
- Many thanks to Melroy van den Berg for the documentation improvements and fixes in PRs #391, #394, #395 and #404

24 October 2024: Wouter
- Fix #392: Inconsistent documentation about control-interface.
- Merge #395: Explain the zonefile example better.
Expand Down
5 changes: 5 additions & 0 deletions doc/RELNOTES
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ BUG FIXES:
- Merge #395: Explain the zonefile example better.
- Merge #394: Fix the path to use doc/manual/.
- Fix analyzer issue in do_print_cookie_secrets to check for failure.
- Merge #404: Introducing Sphinx substitution in code blocks.
As well as other fixes with Sphinx build.
- Update Copyright lines in help output
- Merge #395: Explain zonefile example better
- Merge #394: Fix doc path (fixes "Edit on GitHub" button in the docs)

4.10.1
================
Expand Down
7 changes: 5 additions & 2 deletions doc/manual/conf.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,10 @@ pygments_style = 'sphinx'
# a list of builtin themes.
#
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_logo = 'resources/nsd-duotone-white.png'
html_favicon = 'resources/favicon.ico'
html_theme_options = {
'logo_only': True,
'display_version': True,
}

# Theme options are theme-specific and customize the look and feel of a theme
Expand Down Expand Up @@ -298,3 +296,8 @@ rst_epilog = ".. |pidfile| replace:: @pidfile@\n" \
".. |logfile| replace:: @logfile@\n" \
".. |xfrdfile| replace:: @xfrdfile@\n" \
".. |zonelistfile| replace:: @zonelistfile@\n"


# -- Options for substitution extension --------------------------------------

rst_prolog = ".. |version| replace:: @version@"
2 changes: 1 addition & 1 deletion doc/manual/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ and the changelog. In this example we'll use version |version|. Please note
that this may not be the latest version currently.

.. code-block:: bash
:substitutions:
:substitutions:

wget https://nlnetlabs.nl/downloads/nsd/nsd-|version|.tar.gz
tar xzf nsd-|version|.tar.gz
Expand Down
6 changes: 3 additions & 3 deletions doc/manual/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Sphinx==7.2
Sphinx==8.1.3
sphinx-version-warning==1.1.2
sphinx-tabs==3.4.4
sphinx-tabs==3.4.7
sphinx-copybutton==0.5.2
sphinx-rtd-theme
sphinx-notfound-page
requests
sphinx-substitution-extensions
sphinx-substitution-extensions==2024.10.17