Skip to content

Commit

Permalink
fix doco nits
Browse files Browse the repository at this point in the history
  • Loading branch information
rthalley committed May 10, 2020
1 parent a69d4db commit 4294dd6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions dns/dnssec.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,18 +170,18 @@ def make_ds(name, key, algorithm, origin=None):
:param name: Owner name of the DS record
:type name: string
:param key: a DNSKEY
:type key: :py:data:`dns.rdtypes.ANY.DNSKEY`
:type key: :py:data:`dns.rdtypes.ANY.DNSKEY.DNSKEY`
:param algorithm: a string describing which hash algorithm to
use. The currently supported hashes are "SHA1" and "SHA256". Case
does not matter for these strings.
use. The currently supported hashes are "SHA1" and "SHA256". Case
does not matter for these strings.
:type algorithm: string
:param origin: Will be used as origin if `key` is a relative name,
defaults to None
defaults to None
:type origin: :py:data:`dns.name.Name`, optional
:raises UnsupportedAlgorithm: If the algorithm is not either
"SHA1" or "SHA256" exception will be thrown
"SHA1" or "SHA256"
:return: a DS record
:rtype: :py:data:`dns.rdtypes.ANY.DS`
:rtype: :py:data:`dns.rdtypes.ANY.DS.DS`
"""

Expand Down
6 changes: 3 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
# built documents.
#
# The short X.Y version.
version = '1.16'
version = '2.0'
# The full version, including alpha/beta/rc tags.
release = '1.16.0'
release = '2.0.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down Expand Up @@ -91,7 +91,7 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'alabaster'
#html_theme = 'alabaster'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down
2 changes: 1 addition & 1 deletion doc/rdata-set-make.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. _rdata-make:
.. _rdata-set-make:

Making DNS Rdatasets and RRsets
===============================
Expand Down

0 comments on commit 4294dd6

Please sign in to comment.