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 up some docstrings for 6.6.x #1589

Merged
merged 4 commits into from
May 8, 2019
Merged

Fix up some docstrings for 6.6.x #1589

merged 4 commits into from
May 8, 2019

Conversation

dgw
Copy link
Member

@dgw dgw commented May 8, 2019

While I was using the live website over the weekend to reference Sopel's API docs, some annoyances jumped out at me in the page about other API features (formatting, various tools).

Today, I decided to fix them. Most of this is touching stuff that hasn't been overhauled (#1565) yet, but I'll probably have to deal with a merge conflict or two on stuff in tools that I did already fix in #1563. It's worth doing so our live site can have a bit better content—especially since I fixed an actual mistake!

@dgw dgw added this to the 6.6.8 milestone May 8, 2019
@dgw dgw requested a review from a team May 8, 2019 06:52
Copy link
Contributor

@Exirel Exirel left a comment

Choose a reason for hiding this comment

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

A few restructured & Sphinx domain tricks later and all is well.

sopel/tools/target.py Outdated Show resolved Hide resolved
sopel/tools/target.py Outdated Show resolved Hide resolved
sopel/tools/target.py Outdated Show resolved Hide resolved
sopel/tools/target.py Outdated Show resolved Hide resolved
sopel/formatting.py Outdated Show resolved Hide resolved
dgw and others added 4 commits May 8, 2019 03:02
Co-authored-by: Florian Strzelecki <florian.strzelecki@gmail.com>
Bad formatting/missing cross-references/incorrect information fixed.

What a doozy, that `Channel.users` was documented as containing a map of
`Identifier`s to `Channel` objects... That's pretty bad!

Co-authored-by: Florian Strzelecki <florian.strzelecki@gmail.com>
Replacing "Willie" with "Sopel" literally *everywhere* was a bad choice.
Some references to "Willie" should stay.

Note that this nested formatting doesn't even *work* in Sphinx (inline
formatting can't be nested, for some silly reason), but since this whole
docstring is already overhauled completely on `master` I'll just fix the
typo for 6.6.x and leave the rest to 7.0.
@dgw dgw force-pushed the 6.6.x-doc-fixes branch from 9774260 to 7962b53 Compare May 8, 2019 08:07
Copy link
Contributor

@Exirel Exirel left a comment

Choose a reason for hiding this comment

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

🚢

@dgw dgw merged commit 16730a2 into 6.6.x May 8, 2019
@dgw dgw deleted the 6.6.x-doc-fixes branch May 8, 2019 08:27
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.

2 participants