Commit Graph

1381 Commits

Author SHA1 Message Date
Ana Costa
9a50ff9015
Adds max-width to the logo a tag (#1183) 2021-08-04 20:01:36 -04:00
Anthony
8a02619428
Merge pull request #1178 from readthedocs/agj/docs-testing
Add docs on QA testing theme changes
2021-08-02 19:31:52 -06:00
Anthony
8448bd238e
Merge branch 'master' into agj/docs-testing 2021-08-02 19:19:46 -06:00
Anthony Johnson
f5b02911ae
Update docs to note 1.6 as lowest version 2021-08-02 18:01:55 -07:00
Simon Hausmann
3532ffc89b
Fix support for logos as urls (#1171)
* Fix support for logos as urls

Sphinx since 4.0 appears to support html_logo to also contain urls.  As
a consequence, the other themes in sphinx appear to be just using the
new logo_url variable, and in this theme that fixes support for it, too.

* Add backwards compatibility and add favicon_url

Co-authored-by: Aaron Carlisle <carlisle.b3d@gmail.com>
2021-07-19 20:16:54 -04:00
Anthony Johnson
02d8fe0764
Add docs on qa testing theme changes 2021-07-19 17:57:57 -06:00
Anthony Johnson
9061c1e6de
Expand tox config
* Adds support for explicit tox environments for html4/5
* Adds utility factors for py2/3, for easy access to the system python3
  binary
* Adds a noop -qa postfix factor to make it easy to compare against
  master or a tag
2021-07-19 17:57:54 -06:00
Anthony
380647d159
Merge pull request #1123 from readthedocs/Blendify/sphinx4
Add compatibility for sphinx4
2021-07-19 17:56:43 -06:00
Anthony Johnson
0207996411
Fix automerge fuck up 2021-07-19 17:45:33 -06:00
Anthony Johnson
09e2a0dc2c
Merge branch 'master' into Blendify/sphinx4 2021-07-19 17:41:21 -06:00
Anthony
6417defbeb
Merge pull request #1175 from readthedocs/agj/add-build-test
Add a CI test for unbuilt assets
2021-07-19 14:15:39 -06:00
Anthony Johnson
51d41e6289
Add git status path 2021-07-19 13:40:17 -06:00
Anthony Johnson
c0c52f41ea
Update built assets 2021-07-17 10:42:30 -06:00
Anthony Johnson
92aa3989a9
Make schema correct 2021-07-17 10:33:03 -06:00
Anthony Johnson
21b5ed45d4
Try job dependency 2021-07-17 10:30:06 -06:00
Anthony Johnson
bd6a34135f
Fix typo in config 2021-07-17 10:22:51 -06:00
Aaron Carlisle
047169a972 Restore highlighted code lines span full width 2021-07-17 11:26:51 -04:00
Aaron Carlisle
8d93cdea10 Italize keywords 2021-07-17 11:13:35 -04:00
Anthony Johnson
e9fda1a5c1
How does sh work? 2021-07-15 12:32:23 -06:00
Anthony Johnson
1b38126245
Drop orb, fork code to apply more descriptive error 2021-07-15 12:27:47 -06:00
Aaron Carlisle
0073409aaa
Merge branch 'master' into agj/add-build-test 2021-07-15 08:49:08 -04:00
Anthony Johnson
e6bd3f0fc5
Don't use extension to add sphinx_version_info tuple to build context 2021-07-14 19:39:16 -06:00
Anthony Johnson
ee32a53ae2
Add a CI test for unbuilt assets
Many of our PRs have out of date assets, making it hard to test the
latest changes. This will at least throw an error on the PR when build
assets aren't updated.
2021-07-14 18:24:14 -06:00
Anthony Johnson
c1aa1b2c6b
Rebuild assets 2021-07-14 18:23:36 -06:00
Anthony Johnson
b85d3616dd
Add a CI test for unbuilt assets
Many of our PRs have out of date assets, making it hard to test the
latest changes. This will at least throw an error on the PR when build
assets aren't updated.
2021-07-14 17:38:48 -06:00
Aaron Carlisle
796e78bdf7 Make font usage conistent with sphinx<4.0
This fixes the different spacing issues that were noted.
2021-07-14 16:48:17 -04:00
Anthony Johnson
6597b25257
Fix styles on code block line numbers on Sphinx 4+ 2021-07-14 00:18:33 -06:00
Anthony Johnson
6f9501293b
Fix tests, missing theme extension 2021-07-13 22:45:43 -06:00
Aaron Carlisle
037890d1d1 Merge branch 'Blendify/sphinx4' of github.com:readthedocs/sphinx_rtd_theme into Blendify/sphinx4 2021-07-13 21:04:18 -04:00
Aaron Carlisle
da20decbbb Compare sphinx version using a tuple 2021-07-13 21:04:16 -04:00
Aaron Carlisle
d93528ef3e
Tests: Add missing sphinx version 2021-07-13 19:47:25 -04:00
Aaron Carlisle
e1716574e9
Merge branch 'master' into Blendify/sphinx4 2021-07-13 19:44:47 -04:00
Aaron Carlisle
2ab605a455
Tests: Fix deprecation warning with new sphinx versions (#1105)
* Tests: Fix deprecation warning with new sphinx versions

These builders where split in sphinx and the old import path will be removed in the upcoming Sphinx 4 release.

This patch requires sphinx 2 so this will be committed into the v2 release.

* Fix imports

* Use try/except for backwards compatibility
2021-07-13 05:16:47 -04:00
Aaron Carlisle
0ef60e7841 Tests: run against sphinx 4.1 2021-07-12 20:49:30 -04:00
Aaron Carlisle
15d91096b1 Fix api docs css for sphinx4 2021-07-12 20:27:15 -04:00
Aaron Carlisle
1f45c113b6 Fix user-select line numbers class name 2021-07-12 18:57:53 -04:00
Aaron Carlisle
b47f8b343b
Merge branch 'master' into Blendify/sphinx4 2021-07-12 18:36:08 -04:00
Aaron Carlisle
e94984caec
Make sphinx version comparison constistent
Co-authored-by: Anthony <aj@ohess.org>
2021-07-12 18:36:03 -04:00
Juan Luis Cano Rodríguez
bc6e9f0766
Merge pull request #1093 from readthedocs/Blendify/python-compat
Add python version requirements to setup.py
2021-06-23 07:32:21 +02:00
Aaron Carlisle
09e9e1004c
Merge branch 'master' into Blendify/sphinx4 2021-06-22 18:50:15 -04:00
Aaron Carlisle
b2323ce07f
Merge branch 'master' into Blendify/python-compat 2021-06-22 18:47:00 -04:00
Joe Nelson
71d6d182cf
Maintain aria-expanded along with .current in menu (#1151)
Use jquery setter chaining for speed
2021-06-22 17:46:45 -04:00
ThomasTNO
ef9a0584ef
Added support for gtag (#1129)
* Added support for gtag

* Fix missing curly braces

* Simplify gtag script import

* Fix tag

* Add gtag to docs

Co-authored-by: Aaron Carlisle <carlisle.b3d@gmail.com>
2021-06-18 13:59:46 -04:00
Joe Nelson
a2997e8888
Allow keyboard to toggle menu expansion (#1167)
Co-authored-by: Aaron Carlisle <carlisle.b3d@gmail.com>
2021-06-18 10:16:05 -04:00
Joe Nelson
da86e4dc62
Allow keyboard to activate permalink (#1162)
* Allow keyboard to activate permalink

* Change permalink icon with Blendify's suggestion

* Set permalink icon properly across Sphinx versions

* Match prior style better
2021-06-18 09:57:56 -04:00
Benjamin Balder Bach
05807985d6
Simplify example but add clarity. (#1144)
Some people might add the example code to the top of the file, in which case `alabaster` will overwrite later. Also, localization is important but not so important for people using this for the first time. My concern is that many people end up with Alabaster on RTD deployments after Sphinx 4 made it the default.

Co-authored-by: Aaron Carlisle <carlisle.b3d@gmail.com>
2021-06-10 17:26:13 -04:00
Aaron Carlisle
bd9010f14d
Update layout.html 2021-06-09 20:26:36 -04:00
Joe Nelson
392daf5047
Show keyboard focus on buttons (#1161) 2021-06-09 20:22:07 -04:00
Anders Kaseorg
671703c3fb
Remove discouraged type="text/javascript" from scripts (#1140)
type="text/javascript" is unnecessary and even discouraged by the
specification: “Authors should omit the type attribute instead of
redundantly setting it.”

https://html.spec.whatwg.org/multipage/scripting.html#attr-script-type

It causes the validator to raise warnings, too.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-04-30 21:50:03 -04:00
Erik Moqvist
2026bb61dd
Make mobile top navigation bar have the same background color as the side navigation header. (#1132) 2021-04-18 18:08:16 -04:00