Skip to content

Commit f3174b5

Browse files
Mehedi Hasan Shojibgoogle-labs-jules[bot]
andauthored
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

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

compiler/docs/compiler.py

Lines changed: 296 additions & 754 deletions
Large diffs are not rendered by default.

compiler/docs/template/bound-methods.rst

Lines changed: 0 additions & 167 deletions
This file was deleted.

compiler/docs/template/enums.rst

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)