Commit Graph

1412 Commits

Author SHA1 Message Date
Aaron Carlisle
695a4e164c
Update Breadcrumb Styles (#1073)
* Update Breadcrumb Styles

- Fixes extra padding to the left/right
- Used slash instead of >>
- Make literalls match other link style
- Adds demo docs for testing

* Update comment

* Update src/sass/_theme_breadcrumbs.sass

Co-authored-by: Ana Costa <anacosta.xl@gmail.com>

* Build theme.css for https://github.com/readthedocs/sphinx_rtd_theme/pull/1073

* Build theme.css for https://github.com/readthedocs/sphinx_rtd_theme/pull/1073

Co-authored-by: Benjamin Bach <benjamin@overtag.dk>
Co-authored-by: Ana Costa <anacosta.xl@gmail.com>
2022-08-27 22:47:23 +02:00
Ana Costa
ba0dc62448
CSS: Add overflow-wrap to links inside paragraphs (#1193)
* Add overflow-wrap to links inside paragraphs

* Add regression test for very long URLs

* Build theme.css for https://github.com/readthedocs/sphinx_rtd_theme/pull/1193

* build theme.css for https://github.com/readthedocs/sphinx_rtd_theme/pull/1193

* Build theme.css for https://github.com/readthedocs/sphinx_rtd_theme/pull/1193

Co-authored-by: Benjamin Bach <benjamin@overtag.dk>
2022-08-27 22:27:59 +02:00
Aaron Carlisle
918ca5bed8
Remove font-smoothing (#1094)
* Remove font-smoothing

This is a non standard css feature and is not supported on many platforms. And has been removed from the css standard specification.
It is advized to not use it according to MDN along with many other guides on the internet.

* rebuild theme.css and badge_only.css for https://github.com/readthedocs/sphinx_rtd_theme/pull/1094

Co-authored-by: Benjamin Bach <benjamin@overtag.dk>
2022-08-27 22:14:46 +02:00
Aaron Carlisle
15fdfa15dc
Fix definition lists inside api docs (#1084)
* Fix definition lists inside api docs

This is similar to #1080 (and is needed to fix citations in the demo here)

Fixes #1052

* Build Assets

* Build Assets 2

* New build of theme.css and theme.js

* Regenerate theme.css for https://github.com/readthedocs/sphinx_rtd_theme/pull/1084

Co-authored-by: Benjamin Bach <benjamin@overtag.dk>
2022-08-27 22:04:31 +02:00
Benjamin Balder Bach
aeae4c1cf6
Add Python 3.10 support (#1334)
* Add Python 3.10 support

* Add new Sphinx versions to tox test matrix, but do not allow docutils >= 0.17 on Sphinx>=4.3

* Stop py2 and py27 support from sphinxlatest because of build breakage

* Circle CI: Repeat sphinx versions for Python 2.7 (pending adjustments)

* tox.ini config: Ensure that we are getting the expected Sphinx version

* Set sphinx versions for Python 3.10
2022-08-27 09:18:02 +02:00
Benjamin Balder Bach
3e73d1ea1c
Build matrix fixes (#1338)
* Add new Sphinx versions to tox test matrix, but do not allow docutils >= 0.17 on Sphinx>=4.3

* Stop py2 and py27 support from sphinxlatest because of build breakage

* Circle CI: Repeat sphinx versions for Python 2.7 (pending adjustments)

* tox.ini config: Ensure that we are getting the expected Sphinx version
2022-08-27 08:17:19 +02:00
Ana Costa
b2f52f4328
Fixes #289: Inconsistent table typography sizing (#1215)
* Fix table typography inconsistent sizing

* Remove rule duplication

* Remove <ol> and fix build

* Build new theme.css for https://github.com/readthedocs/sphinx_rtd_theme/pull/1215

* Add an example rendering with paragraphs inside tables

* build theme.css for https://github.com/readthedocs/sphinx_rtd_theme/pull/1215

Co-authored-by: Benjamin Bach <benjamin@overtag.dk>
2022-08-27 00:55:59 +02:00
Aaron Carlisle
90463f0abe
Fix #1078: Citation not styled properly (#1080)
* Fix #1078: Citation not styled properly

Turns out our demo docs werent being rendered by sphinx as citations so this may have slipped though the sphinx 2 fixes.

I updated the demo docs and included the need style fixes.

* Group citations and footnotes

* Build Assets

* Build theme.css with "Fix #1078: Citation not styled properly #1080"

Co-authored-by: Benjamin Bach <benjamin@overtag.dk>
2022-08-26 21:37:36 +02:00
Benjamin Balder Bach
e741681526
Merge pull request #1332 from benjaoming/upper-bound-sphinx6
Add an upper bound for when Sphinx 6 is released
2022-08-24 23:55:51 +02:00
Benjamin Bach
8bdf730bf2
Add an upper bound for when Sphinx 6 is released 2022-08-24 23:10:59 +02:00
Benjamin Balder Bach
10e6562154
Merge pull request #1333 from benjaoming/fix-demo-targets-example
Demo: Replace non-existing `Body Elements` with `References`
2022-08-24 23:09:13 +02:00
Benjamin Bach
3d75e7c8f0
Fix a wrong example, replace non-existing Body Elements with References 2022-08-24 22:55:45 +02:00
Benjamin Balder Bach
03c941aad2
Merge pull request #1329 from readthedocs/agj/fix-js-package-version
Revert change to JS package
2022-08-24 22:33:09 +02:00
Benjamin Balder Bach
512447f84e
Merge pull request #1330 from readthedocs/agj/kbd-fixes
Tune kbd selectors
2022-08-24 22:30:19 +02:00
Anthony Johnson
bd7bdf3acf
Tune kbd selectors
Exclude option lists from selectors for kbd styling.
2022-08-24 13:05:09 -07:00
Anthony Johnson
4c4e1b5c6f
Revert change to JS package
This matches the version number in the Python package, and allows
bumpversion to continue working. We can revisit changing this version
later, but currently this version will never be updated again, as
bumpversion will not match this string anymore.

Fixes #1326
2022-08-24 12:48:56 -07:00
Benjamin Balder Bach
eb3fb1889c
Merge pull request #1319 from benjaoming/dockerize
Supplemental development process for Docker
2022-08-24 17:08:55 +02:00
Benjamin Bach
ba059c7970
Wrapping up the Docker work, using docker cp again in order to copy assets out of containers 2022-08-24 16:49:29 +02:00
Benjamin Bach
4393bd2039
Merge remote-tracking branch 'upstream/master' into dockerize 2022-08-23 23:40:55 +02:00
Benjamin Bach
445c923e2f
Merge remote-tracking branch 'upstream/master' into dockerize 2022-08-23 23:40:23 +02:00
Benjamin Bach
208c84d427
Fix node.js error in docker runtime, speed up build by not copying the entire context 2022-08-23 23:29:24 +02:00
Benjamin Balder Bach
b553aa6626
Merge pull request #1320 from benjaoming/fix-kbd
Fix <kbd> CSS selector
2022-08-20 00:57:30 +02:00
Benjamin Balder Bach
d343a1d4d4
Merge pull request #1321 from benjaoming/no-bumpversion-package-lock.json
Don't run bumpversion on package-lock.json
2022-08-20 00:48:58 +02:00
Benjamin Bach
a744d74584
Rebuild theme.css with "Fix <kbd> CSS selector #1320" 2022-08-20 00:47:55 +02:00
Benjamin Bach
55accf7f64
Merge remote-tracking branch 'upstream/master' into fix-kbd 2022-08-20 00:46:50 +02:00
Benjamin Bach
47a2582c54
Merge remote-tracking branch 'upstream/master' into no-bumpversion-package-lock.json 2022-08-20 00:41:03 +02:00
Benjamin Bach
83e122054c
Removes Makefile + double FROM in Dockerfile 2022-08-20 00:38:26 +02:00
Benjamin Bach
ba65499354
First updates migrating to docker-compose 2022-08-20 00:20:45 +02:00
Benjamin Balder Bach
487d517bfc
Merge pull request #1318 from benjaoming/version-fix
Bump to a valid version scheme, bump node-sass for Node 14 support
2022-08-19 22:56:55 +02:00
Benjamin Bach
7c43f45c9b
Do not build the python package in this step 2022-08-19 22:50:49 +02:00
Benjamin Bach
8e737d4c84
Make note about releasing package-lock.json 2022-08-19 22:46:19 +02:00
Benjamin Bach
e844040101
Build everything one step at a time 2022-08-19 22:38:22 +02:00
Benjamin Bach
8e65b61666
Adds wheel and a command to package bdist_wheel + sdist 2022-08-19 22:23:32 +02:00
Benjamin Bach
b50a451097
Remove some text @agjohnson 2022-08-19 21:14:51 +02:00
Benjamin Balder Bach
cc01a5109c
Merge pull request #1116 from astrojuanlu/static-metadata
Use static setuptools metadata
2022-08-19 18:03:45 +02:00
Benjamin Bach
5087916a03
Do not bump the version in auto-maintained file package-lock.json 2022-08-19 17:46:30 +02:00
Benjamin Bach
68aed9751a
Merge branch 'master' of github.com:readthedocs/sphinx_rtd_theme into HEAD 2022-08-19 17:28:38 +02:00
Benjamin Balder Bach
17d51de046
Merge pull request #1197 from readthedocs/nienn/fix-dl-double-margins
Fix #1196: Add CSS rule to remove double margins inside dl's
2022-08-19 16:03:02 +02:00
Benjamin Bach
0f76e9ba4a
Merge branch 'master' of github.com:readthedocs/sphinx_rtd_theme into HEAD 2022-08-19 15:50:16 +02:00
Benjamin Bach
85123c47de
Add a demo with Python types (regression test for #1196), rebuild theme.js 2022-08-19 15:47:32 +02:00
Benjamin Bach
a3703652ea
Fixes the fix from readthedocs#1315 - the CSS selector was wrong 2022-08-19 15:24:12 +02:00
Benjamin Bach
be9b6bcec9
Bump to a valid version scheme, bump node-sass for Node 14 support 2022-08-19 15:20:27 +02:00
Benjamin Bach
19977256de
Docker configuration for dev environment 2022-08-19 15:07:01 +02:00
Benjamin Bach
a08e3d696f
Bump to a valid version scheme, bump node-sass for Node 14 support 2022-08-19 13:17:39 +02:00
Benjamin Balder Bach
4efbdbc8eb
Merge pull request #1314 from readthedocs/agj/fix-ci
Unbreak CI config
2022-08-18 00:57:29 +02:00
Benjamin Balder Bach
5f2ba042e6
Merge branch 'master' into agj/fix-ci 2022-08-18 00:42:42 +02:00
Benjamin Balder Bach
e72adf2381
Merge pull request #1315 from readthedocs/agj/fix-kbd-errors
Fix SASS syntax errors from #967
2022-08-18 00:36:47 +02:00
Benjamin Balder Bach
71286aad6e
Merge pull request #1316 from readthedocs/agj/fix-jinja
Pin Jinja to pre-3.1 release
2022-08-18 00:36:20 +02:00
Benjamin Balder Bach
89085ae8f0
Merge pull request #1313 from readthedocs/agj/more-ignore
Ignore asdf configuration
2022-08-18 00:35:36 +02:00
Anthony Johnson
62e997658a
Pin Jinja to pre-3.1 release 2022-08-17 12:06:19 -07:00