Skip to content

Conversation

@dgw
Copy link
Member

@dgw dgw commented Dec 11, 2022

Description

The top-level docs page for sopel.irc did, in fact, have an inline note about the irc module being for internal use. That wouldn't catch the eye of someone landing on a submodule via search (internal or web), though. Seemed prudent to beef up the presentation to .. warning:: and also add a notice to each submodule.

Annotating sopel.irc.isupport was extra fun, because part of it is included in the bot's public API.

Checklist

  • I have read CONTRIBUTING.md
  • I can and do license this contribution under the EFLv2
  • No issues are reported by make qa (runs make quality and make test)
    • Haven't run tests because this doesn't touch code, but make quality passes.
  • I have tested the functionality of the things this change touches
    • No code changes to test, but Sphinx didn't throw any (new) warnings and the HTML output seems to work as I intended.

The top-level docs page for `sopel.irc` did, in fact, have an inline
note about the `irc` module being for internal use. That wouldn't catch
the eye of someone landing on a submodule via search (internal or web),
though. Seemed prudent to beef up the presentation to `.. warning::` and
also add a notice to each submodule.

Annotating `sopel.irc.isupport` was extra fun, because part of it *is*
included in the bot's public API.
@dgw dgw added this to the 8.0.0 milestone Dec 11, 2022
@dgw dgw requested a review from a team December 11, 2022 14:00
Copy link
Contributor

@SnoopJ SnoopJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a nice improvement to the docs, especially the addition of descriptions about the top-level purpose of these modules and references to what users should use where possible.

@dgw dgw merged commit 396159c into master Jan 8, 2023
@dgw dgw deleted the irc-really-is-internal branch January 8, 2023 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants