Skip to content

Conversation

@jh0ker
Copy link
Member

@jh0ker jh0ker commented Apr 25, 2018

The Filters._Document documentation was completely missing from the sphinx build because it's a private member. Not sure if there's a better way of doing this with sphinx, but I'm happy with how it looks now.

I fixed a few minor documentation messes as well.

@jh0ker jh0ker added the ⚙️ documentation affected functionality: documentation label Apr 25, 2018
@Eldinnie
Copy link
Member

@jh0ker I'll check tomorrow, remind me if I forget :D

@Eldinnie
Copy link
Member

As discussed in chat. I think the solution for the document filter docs should basically be the same as for the status_update.

Copy link
Member

@Eldinnie Eldinnie left a comment

Choose a reason for hiding this comment

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

As discussed in chat. I think the solution for the document filter docs should basically be the same as for the status_update.

jsmnbom added a commit that referenced this pull request Feb 17, 2019
Superseeds #1089

- Remove `:obj:Filter` as it's pretty obvious that it's a filter since it's in this module. It also made the html output about 1/3 times longer to scroll through.
- Add an __all__ to reorder so Filter is at the top instead of BaseFilter
- Add a proper docstring for document that documents the attributes (this is the #1089 part)
- Also fix a couple of grammar errors.
@jsmnbom jsmnbom mentioned this pull request Feb 17, 2019
@jsmnbom
Copy link
Member

jsmnbom commented Feb 17, 2019

Superseeded by #1348.

@jsmnbom jsmnbom closed this Feb 17, 2019
jsmnbom added a commit that referenced this pull request Feb 18, 2019
* Clarify InlineKeyboardButton callback-data docstring

Fixes #1267

* Improve documentation slightly

- Prettier changelog
- Link to examples on frontpage
- Link to wiki on frontpage
- Put telegram.ext in own sidebar thingy

* Improve ext.Filters documentation

Superseeds #1089

- Remove `:obj:Filter` as it's pretty obvious that it's a filter since it's in this module. It also made the html output about 1/3 times longer to scroll through.
- Add an __all__ to reorder so Filter is at the top instead of BaseFilter
- Add a proper docstring for document that documents the attributes (this is the #1089 part)
- Also fix a couple of grammar errors.

* Fix indentation in telegram.rst

* Add `git describe --long --tags` to the `python -m telegram` output

* Use admonition for examples to make them *pop* better

* Remove automodule telegram

Sphinx was whining a lot and it doesn't actually seem to be needed in any way?

* Fix Filters.document docstring per CR

Co-Authored-By: jsmnbom <jsmnbom@gmail.com>

* Fix spelling error in docs index

Co-Authored-By: jsmnbom <jsmnbom@gmail.com>

* Setting needs_sphinx to 1.7.9

so we don't have more issues with incongruent versions

* Fixed last warnings

* Make pre-commit happy
@github-actions github-actions bot locked and limited conversation to collaborators Aug 20, 2020
@Bibo-Joshi Bibo-Joshi deleted the filters-docs branch November 23, 2020 09:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

⚙️ documentation affected functionality: documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants