Commit Graph

1441 Commits

Author SHA1 Message Date
Anthony Johnson
6f0de13baf
Fix a number of issues around margins on last children
The HTML4 writer depended on the `.last` selector, a class added by
Sphinx directly on output. Both writers are not using that method
anymore and instead relying on well supported CSS selectors.

This actually also addresses a number of inconsistencies with margin
spacing in lists. Version 0.4.3 and prior have a number of odd issues
around nested lists that are resolved with this change.
2020-06-05 09:50:22 -06:00
Anthony
67008af78f
Merge pull request #940 from readthedocs/agj/add-package-lock-bump2version
Also change the package lock file
2020-06-05 09:48:45 -06:00
Anthony Johnson
0272204bf9
Regenerate assets 2020-06-05 09:42:53 -06:00
Anthony Johnson
10de27a0c7
Also change the package lock file
This was missed and not picked up until after release.
2020-06-05 09:38:30 -06:00
Anthony
77d95c9060
Merge pull request #941 from readthedocs/agj/parameter-colon
Add colon after field list terms
2020-06-05 09:37:17 -06:00
Anthony Johnson
67d2a08419
Add colon after field list terms
Currently, python method parameter/etc field lists are the same class as
general field lists, so we can't treat them differently. This reverts
styling the field list without the colon for now, and is comparable to
how the HTML 4 writer outputs field/parameter lists.
2020-06-04 15:55:59 -06:00
Santos Gallegos
bdd77df7bb Search page: don't show "edit on" links
This page is autogenerated, so it doesn't have "a real page".

Fixes https://github.com/readthedocs/sphinx_rtd_theme/issues/934
2020-06-01 14:02:08 -05:00
David Fischer
48a9c21b67
Merge pull request #929 from xi/fix-list-style-cascade
fix list style on nested lists
2020-05-21 15:03:29 -07:00
Tobias Bengfort
1379b98415 fix list style on nested lists 2020-05-20 11:56:15 +02:00
Anthony
01ea6c71a6
Merge pull request #917 from readthedocs/agj/fix-fout
Change FOUT back to FOIT
2020-05-07 14:24:20 -06:00
Anthony Johnson
fe33f6c5de
Change FOUT back to FOIT
The fonts loaded in 0.4.3 did not have a configuration for the CSS
`font-display`, and they were switched to `font-display: swap` in
0.5.0rc1. The old behavior was FOIT, and `swap` changed the behavior to
FOUT, which was more noticeable. This changes back to a long block
period while the fonts are loading.

For more information on the FOUT/FOIT and the font-display mechanism:
https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display
2020-05-07 12:27:46 -06:00
Anthony
8494a58358
Merge pull request #915 from readthedocs/agj/fix-dl-simple
Address issue with dl.simple definition lists
2020-05-07 12:22:00 -06:00
Anthony Johnson
33625141ec
Address issue with dl.simple definition lists
This was not a test case in our demo docs, and I'm still not entirely
sure why the style needs to be different. 🤷

Fixes #913
2020-05-06 19:24:30 -06:00
Anthony Johnson
8732ce06b5
Bump to next release, 0.5.0rc2 or greater 2020-05-06 16:14:39 -06:00
Anthony
7de6da682c
Merge pull request #912 from readthedocs/release/0.5.0rc1
Release 0.5.0rc1
2020-05-06 15:52:19 -06:00
Anthony Johnson
729ac2f5b9
Release 0.5.0rc1
This is a release candidate for 0.5.0, which adds support for both HTML4
and HTML5 writers, which should support the default writer regardless of
your version of Sphinx.

Also included in this release are localization efforts and 10 language
translations.

You will need to specify the release manually to test, if there are no
major issues, we will have a 0.5.0 release shortly.

Closes #886
Closes #712
2020-05-06 15:22:02 -06:00
Anthony
6cd6162937
Merge pull request #822 from readthedocs/use-bumpversion
Use bumpversion for version number management
2020-05-06 15:12:34 -06:00
Anthony
bcb142a463
Merge branch 'master' into use-bumpversion 2020-05-06 15:06:10 -06:00
Anthony Johnson
b4769ec0ae
Start off with 0.4.3alpha1
We use a 1-based indexing for dev part as `rc0` sounds funny. This was
also a test commit of the change.
2020-05-06 14:53:43 -06:00
Anthony Johnson
512ad422d1
Move bumpversion config and reconfigure
I moved the configuration to setup.cfg, with the rest of the tooling
configurations.

I had trouble getting the parsing to work for both the current pattern
that exists in this repository (`0.4.3.dev0`), and the pattern we use in
other repositories (`0.4.3alpha1` and `0.4.3rc1`).

The release pattern would potentially be:

* Version is `0.4.3alpha1`
* Bump to `0.5.0alpha1` or `0.5.0rc1` for testing release, `0.5.0` for
  full release
* Commit, tag, etc the new release
* Release to PyPI
* Bump to `0.5.1alpha1` and commit. This is the next development release
  that would be in `master` branch
2020-05-06 14:47:03 -06:00
Anthony
d71b3f6602
Merge pull request #911 from readthedocs/agj/tune-localization
Update transifex usage and localization context
2020-05-06 14:36:03 -06:00
Anthony
c4601fe12c
Merge pull request #906 from mondeja/upgrade-node-sass
Upgrade node-sass to avoid security vulnerabilty
2020-05-06 14:35:22 -06:00
Anthony
2780e66779
Merge branch 'master' into upgrade-node-sass 2020-05-06 14:28:30 -06:00
Anthony
9a14187f4e
Merge branch 'master' into agj/tune-localization 2020-05-06 14:22:07 -06:00
Anthony
4bab2fd843
Merge pull request #909 from readthedocs/agj/i18n-20200502
Update translations
2020-05-06 14:02:51 -06:00
Anthony Johnson
25cedf59e3
Update all translations from transifex
This uses the transifex changes in #911 to regenerate all of the files
from transifex. Any differences in the translated files should be
handled at transifex, as it looks there were some manual translations
that were overridden in this process.
2020-05-06 13:42:45 -06:00
Anthony Johnson
de63fe9526
Also, pull all translations 2020-05-06 13:33:07 -06:00
Anthony Johnson
67f6b26bfd
Tune translation strings and extract 2020-05-06 13:25:19 -06:00
Anthony Johnson
7efb81803e
Update transifex usage
This uses force mode to download po files, always. Normal operation is
to use the file modification date for comparison, which doesn't work
because of Git.

This also sets `onlyreviewed` mode, which will omit strings which are
not translated yet. This will result in the underlying source
translation being used in place, until the string is reviewed in
transifex.
2020-05-06 13:24:14 -06:00
Anthony
a13a7b4b44
Merge pull request #838 from readthedocs/agj/fix-dl-styles
Address Sphinx 2 compatibility issues
2020-05-05 14:39:06 -06:00
Anthony Johnson
f4c56d044b
Regenerate assets 2020-05-05 14:16:29 -06:00
Anthony
18681b5eba
Increase left padding on field lists and footnotes
Co-authored-by: David Fischer <david@readthedocs.org>
2020-05-05 14:16:29 -06:00
Anthony Johnson
8a47eef3c4
Add definition list classifier pretext 2020-05-05 14:16:29 -06:00
Anthony Johnson
fb84183e71
Remove debug line 2020-05-05 14:16:29 -06:00
Anthony Johnson
31e8ec71b5
Debug log theme location 2020-05-05 14:16:29 -06:00
Anthony Johnson
16d874d984
Use the local theme for PR builds on RTD 2020-05-05 14:16:29 -06:00
Anthony Johnson
20ca43724c
Trigger PR builder with latest Sphinx version 2020-05-05 14:16:29 -06:00
Anthony Johnson
ce04147bb3
Drop travis docs project, we're already building them 27 times 2020-05-05 14:16:29 -06:00
Anthony Johnson
ca75c343e2
Just drop Sphinx 1.5, the translator exception is not due to this theme 2020-05-05 14:16:28 -06:00
Anthony Johnson
1dd3cd0988
Alter travis python versions 2020-05-05 14:16:28 -06:00
Anthony Johnson
8534484967
Limit theme registration to 1.6+
This call was added in 1.6
2020-05-05 14:16:28 -06:00
Anthony Johnson
69e594d6a1
Regenerate assets 2020-05-05 14:16:28 -06:00
Anthony Johnson
8a08ebec1a
Prune tox Sphinx/Python versions 2020-05-05 14:16:28 -06:00
Anthony Johnson
e9b5b5b4a0
Clean up a number of issues with lists, tables, and footnotes
This is using CSS `grid` on the html5 writer, which is mostly supported
by now.
2020-05-05 14:16:28 -06:00
Anthony Johnson
20abc2fc1c
Add method to test badge only CSS
Also a small bug fix I found to line-height.
2020-05-05 14:16:28 -06:00
Anthony Johnson
ebc87bc0a2
Address Sphinx 2 compatibility issues
The main change here is that we load information into the template so
that CSS can make decisions about what element hierarchy it can expect,
instead of covering both html4 and html5 writer with a single set of
rules. I also fixed the tox config so that it generates docs for
testing.

This is also in part going to revert the changes in #785. Instead of
maintaining a list of `dl` classes to apply the domain styles to, this
PR instead maintains a list of definition list classes to *not* apply
the domain definition list styling too. There are too many possibilities
to cover with an include list.
2020-05-05 14:16:28 -06:00
Eric Holscher
c3a9306b8d
Merge pull request #908 from readthedocs/agj/better-webpack-dev-server
Improve webpack dev server
2020-05-04 14:48:26 -07:00
Aaron Carlisle
cb16df13b4
Merge branch 'master' into agj/better-webpack-dev-server 2020-05-04 16:41:16 -04:00
Álvaro Mondéjar
0f7fb8b426
Merge branch 'master' into upgrade-node-sass 2020-05-03 14:24:45 +02:00
Anthony
db4fae9837
Merge pull request #905 from mondeja/patch-1
Fix indentation consistence
2020-05-02 16:04:53 -06:00