Rapptz
c31b443f91
Use new HTML5 <section> instead of <div class="section">
2020-12-18 21:18:52 -05:00
Jens Reidel
e46a854463
[matrix] Search to top, icon
...
* Search bar to top, magnifying glass
* Remove old file
* Remove empty style directive
2020-12-18 21:18:52 -05:00
Rapptz
e648cfbcad
First pass at centering content for large displays
2020-12-18 21:18:52 -05:00
Rapptz
0e75a21a67
Add dark theme for codeblocks
2020-12-18 21:18:52 -05:00
Rapptz
d05fd3552f
Actually make overflowing have a scrollbar on mobile
2020-12-18 21:18:52 -05:00
Rapptz
d69d509453
Fix codeblock related things with mobile responsiveness.
2020-12-18 21:18:51 -05:00
Josh
410a0c8794
Use default scrollbar for body on webkit browsers
2020-12-18 21:18:51 -05:00
Josh
9653ec5188
[matrix] Modal cleanup
...
* General modal cleanup
* Remove second scrollbar caused by modal
2020-12-18 21:18:51 -05:00
Josh
e7c6643730
[matrix] Dark Theme
...
* Apply width restructions to modals and images
* Dark theme 2.0
* Add webkit scrollbar
* Use Object.keys instead of Object.entries where applicable
2020-12-18 21:18:51 -05:00
Rapptz
51d76e819b
Proper padding for the copy button
2020-12-18 21:18:51 -05:00
Rapptz
385657179d
Reverse the related links
2020-12-18 21:18:51 -05:00
Rapptz
25e3a31827
Use html_js_files instead of the old approach to add JS files.
2020-12-18 21:18:51 -05:00
Rapptz
2e3b8dc3d1
Cleanup copy button CSS and add a hover-over explanation.
2020-12-18 21:18:51 -05:00
Rapptz
7607d3628d
Rewrite the DOM to use CSS grids
...
This also rewrites the CSS to use CSS variables. Currently this isn't
done to codeblocks however.
2020-12-18 21:18:51 -05:00
NCPlayz
ce0d0a20dd
add copy codeblock button
...
Apply suggestions from code review
Co-authored-by: Danny <Rapptz@users.noreply.github.com>
Change to icon, change according to slice's review
2020-12-18 21:18:51 -05:00
Josh
c21919cee5
[matrix] Add sans-serif font toggle to settings modal
...
* Add sans serif font toggle
* remove unnecessary boolean comparison from setFont
Co-authored-by: slice <ryaneft@gmail.com>
* Update checkbox title
Co-authored-by: slice <ryaneft@gmail.com>
* General cleanup of settings system
* Apply overflow hidden to modal
Co-authored-by: slice <ryaneft@gmail.com>
2020-12-18 21:18:50 -05:00
Josh
8be9ef38db
[matrix] Create settings modal
...
* Create settings modal
* Fix issue with spacing after settings button
* Fix issue with modal background on mobile devices
* Add close button to modal
* Add tooltip to close button
* Support closing modal with escape key
* Add missing semicolon to keydown event listener
2020-12-18 21:18:50 -05:00
Josh
70c73084b3
[matrix] Refactor docs JS
...
* Refactor custom.js
* Refactor scorer.js
* tables variable shoudn't be in global scope
2020-12-18 21:18:50 -05:00
Nadir Chowdhury
51f6787692
Add favicon
2020-12-18 21:18:50 -05:00
Rapptz
4dcf4bc6f4
Use actual viewport tag with initial-scale set to 1
2020-12-18 21:18:50 -05:00
Jens Reidel
e3ffe22129
Add fixed header links, fix some parts of mobile UI
...
Dynamic content width equal to old one if on 1080p
Fix mobile view
Disable fixed header on mobile
2020-12-18 21:18:50 -05:00
Riley Shaw
ad694d8348
make documentation sphinx 3.x compatible
2020-12-18 21:18:50 -05:00
Rapptz
5bd05b194d
Move table JS outside of scrolling
2020-12-18 21:18:50 -05:00
Rapptz
9b88c63163
Add attributetable and add some class-level sections.
...
The extensions have yet to receive this treatment and CSS needs work,
but for now this is fine.
2020-12-18 21:18:47 -05:00
Rapptz
3fe6d261f1
Add PartialMessage to allow working with channel/message_id pairs.
...
Fix #5905
2020-12-11 00:32:38 -05:00
Rapptz
44dc7a8e02
Add support for editing and deleting webhook messages.
...
Fix #6058
2020-12-09 20:15:35 -05:00
Josh
f8e428bd5b
Add support for chunking AsyncIterator objects
2020-12-03 18:32:53 -05:00
Rapptz
34f2fb36b1
Added MessageReference.resolved attribute to get replied to message
2020-11-27 02:24:39 -05:00
Rapptz
1014bfcb63
Allow MessageReference to be constructible by users
2020-11-27 01:08:52 -05:00
Rapptz
e65dab3b23
Implement role tags.
...
This comes with:
* The RoleTags class
* Role.is_premium_subscriber()
* Role.is_bot_managed()
* Role.is_integration()
* Guild.self_role
* Guild.premium_subscriber_role
2020-11-26 01:57:24 -05:00
Zomatree
344cb96c5d
Add sticker support
2020-11-23 05:09:20 -05:00
Maya
78c916a486
Emphasize intents in the constructors of the examples
2020-11-21 21:31:42 -05:00
Rapptz
abe54f5bdc
Translation sync with crowdin
2020-10-24 00:10:06 -04:00
Rapptz
0be2d37e7a
Add changelog for v1.5.1
2020-10-19 19:42:54 -04:00
numbermaniac
d6df55afe2
logging.rst: Fix some typos and grammar errors
2020-10-16 22:46:31 -04:00
Eric Chan
b96ed43082
Fix typo in event reference
2020-10-16 22:44:51 -04:00
Rapptz
022b5f7902
Update intent documentation to use defaults
2020-10-03 01:42:50 -04:00
Xua
1066f42f1f
Add intents to event reference
2020-10-01 04:42:32 -04:00
Rapptz
1518790c87
Some minor documentation fixes.
...
Make examples all mention where to put it for the unaware.
2020-09-28 21:42:32 -04:00
Rapptz
1919267e5c
Add changelog for v1.4.2
2020-09-28 20:56:00 -04:00
Rapptz
821d833c11
Add changelog for v1.5.0
2020-09-28 20:33:15 -04:00
Alex Nørgaard
759fb52e56
Update intents with small typo fixes
2020-09-27 19:08:19 -04:00
Rapptz
e4d7f44aa5
Make Intent class creation more intuitive
2020-09-24 09:00:54 -04:00
Rapptz
de6c5ef675
More intent documentation.
...
Mention that you can downgrade the library to revert. Also mention
that intents need to be updated in the code as well as the developer
portal.
2020-09-24 02:00:47 -04:00
Rapptz
59d514fcdf
More intent related documentation
2020-09-24 01:39:45 -04:00
Sebastian Law
2974663367
Fix typos in Intents documentation
2020-09-24 00:17:37 -04:00
Rapptz
2e06239d3c
Add documentation for gateway intents
2020-09-23 03:21:22 -04:00
Rapptz
bf8ca58996
Add a special exception for required privileged intents
2020-09-23 03:21:20 -04:00
Rapptz
23ae084b8c
Allow finer grained control over the member cache.
2020-09-23 03:21:20 -04:00
Rapptz
0b93fa3a82
Implement VoiceProtocol lower level hooks.
...
This allows changing the connect flow and taking control of it without
relying on internal events or tricks.
2020-09-23 03:20:35 -04:00