Commit Graph
564 Commits
Author SHA1 Message Date
Josh B 5cb1b109bb Set colours for active sidebar elements 2020-06-08 19:21:44 +10:00
TarekandGitHub f2fa613057 Fix minor markdown typo in migrating.rst 2020-06-04 23:40:16 -04:00
Josh B 3c56240e5f Fix sidebar active link selection 2020-06-01 00:38:37 +10:00
Rapptz 90596485a2 First pass at double header display 2020-05-31 09:12:26 -04:00
Josh B b78f6a310b Create settings icon for mobile 2020-05-31 00:11:03 +10:00
Rapptz 74bdd8485e Use new HTML5 <section> instead of <div class="section"> 2020-05-30 04:59:31 -04:00
Jens ReidelandGitHub f03ecdbc69 [matrix] Search to top, icon
* Search bar to top, magnifying glass

* Remove old file

* Remove empty style directive
2020-05-29 23:42:50 -04:00
JohnyTheCarrotandRapptz ab5f995d78 Add support for public user flags 2020-05-29 22:40:14 -04:00
Rapptz d14bf7f412 First pass at centering content for large displays 2020-05-29 09:34:21 -04:00
Rapptz 742b14a705 Add dark theme for codeblocks 2020-05-29 07:23:00 -04:00
Rapptz 71f6b950d1 Actually make overflowing have a scrollbar on mobile 2020-05-29 06:45:44 -04:00
Rapptz 8a94adcbcd Fix codeblock related things with mobile responsiveness. 2020-05-29 06:21:05 -04:00
JoshandGitHub a31cf94699 Use default scrollbar for body on webkit browsers 2020-05-29 03:52:56 -04:00
JoshandGitHub dc545f570e [matrix] Modal cleanup
* General modal cleanup

* Remove second scrollbar caused by modal
2020-05-29 03:25:13 -04:00
JoshandGitHub 24c9e7b5fc [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-05-29 02:57:00 -04:00
Rapptz 38529e6e21 Proper padding for the copy button 2020-05-28 02:21:01 -04:00
Rapptz 439081081c Reverse the related links 2020-05-28 01:33:16 -04:00
Rapptz aedd40e585 Use html_js_files instead of the old approach to add JS files. 2020-05-28 01:07:17 -04:00
Rapptz da4e345f3d Cleanup copy button CSS and add a hover-over explanation. 2020-05-28 01:06:06 -04:00
Rapptz 4e9fdc6e4f 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-05-27 23:43:58 -04:00
0a8b87cae7 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-05-27 23:39:11 -04:00
38a7cbb6a5 [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-05-27 10:05:40 -04:00
JoshandGitHub e6712d76d1 [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-05-27 02:22:21 -04:00
JoshandGitHub 1e471b64e6 [matrix] Refactor docs JS
* Refactor custom.js

* Refactor scorer.js

* tables variable shoudn't be in global scope
2020-05-27 00:56:38 -04:00
Nadir ChowdhuryandGitHub 509cc135d4 Add favicon 2020-05-26 23:18:42 -04:00
Rapptz 04cec0ec10 Use actual viewport tag with initial-scale set to 1 2020-05-26 07:04:58 -04:00
Jens ReidelandRapptz f2482d4fb3 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-05-25 22:37:01 -04:00
Riley ShawandGitHub 3c558af0cb make documentation sphinx 3.x compatible 2020-05-25 21:39:59 -04:00
Rapptz 2eb9e3bc56 Move table JS outside of scrolling 2020-05-25 12:17:13 -04:00
Rapptz 771c1c85d8 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-05-25 11:48:16 -04:00
Rapptz 66c6be50d8 Prepare for the discord.com domain rename 2020-05-23 21:44:30 -04:00
chickenmattyandRapptz 0cef8c1f60 Remove from the FAQ that there's no event for invites being created 2020-04-14 03:24:46 -04:00
jack1142andRapptz 91a8044497 Update copyright year for documentation 2020-04-14 03:24:46 -04:00
apple502j 6d0db182b9 Add new alias VerificationLevel.very_high 2020-04-09 17:10:44 +09:00
Rapptz 041785937e Add support for configuring allowed mentions per message or bot wide. 2020-04-04 07:40:51 -04:00
NCPlayzandRapptz 1b0e806245 [commands] Implement commands.before/after_invoke 2020-04-04 02:57:20 -04:00
Rapptz 465438fb3c Add changelog for v1.3.3 2020-04-04 01:47:01 -04:00
Rapptz 07720fabd4 Add changelog for v1.3.2 2020-02-22 19:33:27 -05:00
the-white-lightandRapptz c11dfbca6d on_invite_create requires Manage Channels
Event on_invite_create (and presumably _delete) require Manage Channels permission.
2020-02-22 19:04:39 -05:00
DenizandRapptz e42ad50f99 Add discord.ChannelType.category to documentation 2020-02-16 21:52:20 -05:00
Rapptz 090110eaf6 Add changelog for v1.3.1 2020-01-26 17:40:08 -05:00
Rapptz d5589dcc27 Document the new opus loading behaviour 2020-01-25 22:21:14 -05:00
HarmonandDanny e469174071 Documentation fixes (#2531)
* Fix indentation for versionadded for Team.members
* Replace tabs with spaces in API Reference documentation
2020-01-24 20:53:34 -05:00
Rapptz 215fed831c Mention that you can create Permissions via kwargs now 2020-01-23 00:04:45 -05:00
HarmonandDanny 6f9793fe5e Fixes and improvements for v1.3 documentation
* Add missing versionadded strings for v1.3
* Add missing versionchanged string for Message.edit
* Consistently use versionadded for attributes
* Consistently use versionchanged for parameters
* Use versionchanged for Bot.is_owner
* Fix references in v1.3 changelog
* Improve grammar in v1.3 changelog
2020-01-22 23:55:05 -05:00
Io MintzandGitHub 03d9005eec 1.3.0 changelog: fetch_roles fetches roles, not members 2020-01-22 20:34:10 -06:00
Rapptz 2ba28bbfe2 One last superfluous .0 in versionadded 2020-01-22 21:12:02 -05:00
Rapptz 956b155cc5 Fix up some links and mention IDENTIFY change 2020-01-22 20:58:15 -05:00
Rapptz cecd45d503 Add changelog for v1.3 2020-01-22 20:44:58 -05:00
Josh BandRapptz d0a1956be9 Improve usability of utils.sleep_until
Fix issue where sleeping for an extended period on python 3.5
would cause an exception

Add sleep_until to API docs

Add result argument to sleep_until
2020-01-21 20:28:14 -05:00