Commit Graph

1150 Commits

Author SHA1 Message Date
Anthony Johnson
a452102fff Bump version 2020-06-17 09:55:10 -06:00
Anthony Johnson
b9e8328695 Update changelog for 0.5.0 2020-06-17 09:46:01 -06:00
Anthony
1a32899ba3 Merge pull request #945 from readthedocs/agj/nested-list-item-bottom-margin
Add a bottom margin for anything that does not match p, ul, ol
2020-06-17 09:41:08 -06:00
Anthony Johnson
ac20ce75d4 Use only-child to limit margins on single paragraph list items
This is a compromise between the docutils intended style and more
consistent margins than 0.4.3.
2020-06-16 16:30:26 -06:00
Anthony Johnson
aa0a108543 Add complex list margins, use margin-less items for ul.simple margins
0.5.0 was moving in the direction of treating everything like a simple
list. 0.4.3 had some bugs that made complex lists look closer to the
spacing that complex lists use. This resolves both and adds specific
item margins for both cases.

See https://docutils.sourceforge.io/sandbox/html4strict/data/simple-lists.html
2020-06-16 13:54:47 -06:00
Anthony Johnson
d85f8f8927 Add a bottom margin for anything that does not match p, ul, ol
All other elements should maybe have a bottom margin, but paragraphs and
nested lists should not have a bottom margin.
2020-06-09 12:39:17 -06:00
Anthony Johnson
73fe2fba49 Add changelog dates 0.5.0rc2 2020-06-05 10:07:16 -06:00
Anthony Johnson
4de3f217a9 No, update changelog 2020-06-05 10:05:41 -06:00
Anthony Johnson
a7e656a8cf Update changelog 2020-06-05 10:04:54 -06:00
Anthony
9e1246e6ad Merge pull request #939 from readthedocs/agj/last-child-spacing-issues
Fix a number of issues around margins on last children
2020-06-05 09:55:42 -06:00
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
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
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