Commit Graph

19 Commits

Author SHA1 Message Date
Lonami Exo
de46745926 Fix "methods returning this type" not accounting for vectors 2019-07-15 14:58:27 +02:00
Lonami Exo
e4158acd08 Update to layer 100 2019-05-30 13:23:47 +02:00
Lonami Exo
e5485f3d54 Document raw methods with friendly variants 2019-05-26 21:15:43 +02:00
Lonami Exo
63ef7284f7 Use classes when type hinting primitives 2019-05-02 19:12:11 +02:00
Lonami Exo
fce5cfea0e Update code generator to emit type hints on init methods 2019-05-02 10:19:15 +02:00
Lonami Exo
013525797a Fix date_* attributes not being of type datetime 2019-04-22 17:07:08 +02:00
Lonami Exo
a5f5d6ef23 Minor doc updates, fixes and improvements
In particular, removed code which no longer worked, made light
theme easier on the eyes, added slight syntax highlightning,
and fixed search for exact matches.
2019-03-16 17:19:19 +01:00
Lonami Exo
ae8f1fed05 Treat arguments with _until or _since in their name as dates 2019-03-06 08:38:21 +01:00
Lonami Exo
b57e3e3e0a Fix some open calls were not being made through pathlib
This was causing the documentation to fail to build under Python 3.5.
2019-01-06 21:36:32 +01:00
Lonami Exo
100cd807f6 Better GetAdminLogRequest example 2018-12-25 14:17:19 +01:00
Lonami Exo
8224e5aabf Make use of pathlib nearly everywhere (breaks docs gen)
Python 3.6 introduced support for the os.PathLike interface,
which means Python 3.5 did not have it yet and attempting to
use it in os functions would fail. Instead we can use pathlib
for everything, but not all work is done yet.
2018-12-21 13:24:16 +01:00
Lonami Exo
e852dccebf Prevent common pitfall when pulling new .tl files 2018-12-20 20:52:19 +01:00
Lonami Exo
da5c171346 Skip core types when parsing .tl files
This avoids the need to comment then every time the file changes.
2018-12-15 12:38:56 +01:00
Lonami Exo
932d3bd033 Improve autogenerated examples with more cases and synonyms 2018-12-15 11:47:52 +01:00
Lonami
52b179dba8
Never check channel constructor when generating objects 2018-12-14 17:31:15 +01:00
Lonami Exo
50b77d881d Clarify who can use methods in the documentation 2018-12-03 16:17:37 +01:00
Lonami Exo
477fbd8dc7 Generate simple examples for the docs 2018-10-16 09:29:48 +02:00
Lonami Exo
8f04ec820f Don't add functions as possible argument types 2018-10-15 21:12:10 +02:00
Lonami Exo
bb180a1db8 Split generator/tlobject into separate files 2018-10-15 19:29:32 +02:00