Commit f3174b5
feat(docs): generate API docs from source and export all public types and enums
## Summary by Sourcery
Automate API docs generation from the codebase and align documentation, type exports, and method groupings with the current Electrogram feature set.
New Features:
- Automatically discover and generate documentation pages for client methods, types, bound methods, and enums directly from the source tree.
- Introduce a dedicated Stories method group for story-related operations and expose it through the main methods namespace.
- Export all public Telegram types, including stories-related types, from the types package for easier importing.
- Generate API enum documentation pages and toctrees based on the enums library.
Enhancements:
- Refine the HTML theme configuration and custom CSS to use an indigo color scheme, improve readability, and better style links, code blocks, and tables.
- Simplify the users methods mixin by moving story-related methods into the new Stories group and cleaning up its composition.
Documentation:
- Add social links for GitHub and Telegram to the documentation theme header and update API reference structure for methods, types, bound methods, and enums to match the new generator.
---------
Signed-off-by: 5hojib <yesiamshojib@gmail.com>
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>1 parent 3111b7c commit f3174b5
78 files changed
Lines changed: 698 additions & 1519 deletions
File tree
- compiler/docs
- template
- docs/source
- _static/css
- api/enums
- pyrogram
- methods
- stories
- users
- types
- bot_commands
- bots_and_keyboards
- bots
- input_media
- messages_and_media
- stories
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Large diffs are not rendered by default.
This file was deleted.
This file was deleted.
0 commit comments