From 4e9e0f0334194ca3d8fd1884afdac53b62cd0e8d Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Fri, 17 Sep 2021 22:59:46 +0200 Subject: [PATCH] Fix some Sphinx documentation errors --- docs/api.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/api.rst b/docs/api.rst index 0ca49a8..1b0b653 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -35,7 +35,7 @@ order to avoid unexpected surprises. :members: :mod:`humanfriendly.case` ------------------------- +------------------------- .. automodule:: humanfriendly.case :members: @@ -50,7 +50,10 @@ order to avoid unexpected surprises. --------------------------- .. automodule:: humanfriendly.compat - :members: coerce_string, is_string, is_unicode, on_windows + :members: coerce_string, is_string, is_unicode, on_macos, on_windows + +.. The members above are defined explicitly so that Sphinx does not +.. embed documentation for all of the standard library aliases. :mod:`humanfriendly.decorators` -------------------------------