Skip to content

Conversation

@Paillat-dev
Copy link
Member

Summary

Misc doc fixes here and there

Information

  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed).
  • This PR is not a code change (e.g. documentation, README, typehinting,
    examples, ...).

Checklist

  • I have searched the open pull requests for duplicates.
  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • If type: ignore comments were used, a comment is also left explaining why.
  • I have updated the changelog to include these changes.

@pycord-app
Copy link

pycord-app bot commented Dec 19, 2025

Thanks for opening this pull request!
Please make sure you have read the Contributing Guidelines and Code of Conduct.

This pull request can be checked-out with:

git fetch origin pull/3030/head:pr-3030
git checkout pr-3030

This pull request can be installed with:

pip install git+https://github.com/Pycord-Development/pycord@refs/pull/3030/head

@Paillat-dev
Copy link
Member Author

cc @Lulalaby

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR contains miscellaneous documentation fixes including RST syntax corrections, import path fixes, and documentation clarifications.

Key changes:

  • Corrected RST hyperlink syntax from single underscore to double underscore for anonymous links
  • Fixed import path from ..interaction to ..interactions in ui/label.py
  • Added Sphinx directive to exclude 'cog' member from SlashCommand documentation

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
docs/api/application_commands.rst Added :exclude-members: cog directive to SlashCommand autodoc configuration
discord/ui/select.py Clarified documentation by replacing :attr:.type`` reference with clearer phrasing
discord/ui/label.py Fixed import path from ..interaction to ..interactions
discord/raw_models.py Corrected 18 RST hyperlink references from single underscore to double underscore for proper anonymous link syntax
discord/ext/commands/core.py Reordered docstring sections to place Examples before Parameters following standard conventions
discord/automod.py Corrected RST hyperlink syntax from single underscore to double underscore

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Lulalaby Lulalaby changed the title docs: 📝 FIxes docs: 📝 Fixes Dec 19, 2025
@Lulalaby Lulalaby added this to the v2.7 milestone Dec 19, 2025
@github-project-automation github-project-automation bot moved this to In Progress in Pycord Releases Dec 19, 2025
@Paillat-dev Paillat-dev linked an issue Dec 19, 2025 that may be closed by this pull request
@Lulalaby Lulalaby merged commit 43b422a into master Dec 23, 2025
25 checks passed
@Lulalaby Lulalaby deleted the docs-fixes-2 branch December 23, 2025 16:04
@github-project-automation github-project-automation bot moved this from In Progress to Done in Pycord Releases Dec 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Sphinx docstring issues

4 participants