Commit Graph

1216 Commits

Author SHA1 Message Date
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
Anthony Johnson
0eab0dcbdf
Make webpack dev server config to be more useful
Don't rebuild the docs constantly, use the nice webpack livereload
feature instead. Changes are now instantaneous when working with CSS/JS
2020-05-01 20:38:10 -06:00
Álvaro Mondéjar
d068e83488 Upgrade node-sass to avoid security vulnerabilty 2020-04-26 15:18:40 +02:00
Álvaro Mondéjar
cbecb5906c
Fix indentation consistence 2020-04-26 15:13:23 +02:00
Aaron Carlisle
3503493094
Remove Extra Padding on Highlighted search results (#860)
* Remove Extra Padding on Highlighted search results

There are some cases where the highlighted CSS class creates overlapping text, for example on [Rendering » Shader Nodes » Texture](https://docs.blender.org/manual/en/dev/render/shader_nodes/textures/index.html?highlight=texture) when highlighting "texture". 

This issue is exacerbated by some custom styling rules that we have set, however, this issue is still visible in the stock theme.

* Address Review Comments

- Use constant instead of a magic number
- Remove Padding
2020-04-06 11:30:15 -04:00
mondeja
fd6f31fc14
Fix bold error for 5th level toctree on first click. (#895) 2020-04-04 17:48:58 -04:00
mondeja
e8736948d6
As was reported in #881, using the singlehtml builder, the captions for figures appears with 'font-size: 150%'. This is because '.toctree-wrapper p.caption' definitions was inserted to style '.toctree-wrapper compound' divs titles at readthedocs index page, but the h2 extend affects also to elements that are deeper in the dom tree, like caption figures. However, we can style only direct 'p.caption' childs of '.toctree-wrapper' divs because these titles are not appearing at any other place. The pull request that I sent does not fixes this problem, but this commit yes. (#892) 2020-03-26 17:39:01 -04:00
Sebastian Weigand
ca015a5704
Extend toc in sidebar indentation (#852)
* added vscode config to .gitignore

* implemented indentation for sidebar nav up to navigation_depth of 10

* removed .vscode from .gitignore

Co-authored-by: Aaron Carlisle <carlisle.b3d@gmail.com>
2020-02-24 21:55:07 -05:00
Jan Niklas Hasse
b3aa66d657
Add German translation, fix #587 (#873)
Based on the translation by Dennis Wegner <dennis@instant-thinking.de>.

Co-authored-by: Aaron Carlisle <carlisle.b3d@gmail.com>
2020-02-24 21:48:58 -05:00
Povilas Kanapickas
dfec3b7bce
Mark the extension as safe for parallel reading and writing (#874)
Co-authored-by: Aaron Carlisle <carlisle.b3d@gmail.com>
2020-02-23 12:13:13 -05:00
rdb
d8bd069e52
Move CSS link tags before JS script tags (#853)
This fixes flickering issues when switching pages.

Co-authored-by: Aaron Carlisle <carlisle.b3d@gmail.com>
2020-02-23 12:05:12 -05:00
David Fischer
68a19ca510 Update JS dependencies (#867)
* Update JS dependencies

- This should fix the github JS vulns warning

* Remove matchdep as a dependency
2020-01-20 12:56:39 -05:00
Anthony
ab7d388448
Merge pull request #845 from readthedocs/Blendify/fix-787
Don't allow select on code block shell prefixes
2019-11-11 11:58:50 -07:00
Anthony
31892ff84d
Merge branch 'master' into Blendify/fix-787 2019-11-11 11:45:16 -07:00
Anthony
2b8717a364
Merge pull request #848 from readthedocs/html5shivwebpack
Remove Modernizr, keep html5shiv (Webpack edition)
2019-11-08 13:27:50 -07:00
Anthony
d040bbace6
Merge branch 'master' into Blendify/fix-787 2019-11-01 11:54:00 -06:00
Aaron Carlisle
80ad848bfc
Correct Sass syntax 2019-10-26 10:35:13 -04:00
Jesse Tan
12458e0a6a Remove Modernizr, keep html5shiv (Webpack edition) 2019-10-25 14:54:52 +02:00
Anthony
2a1b2e1353
Merge pull request #844 from readthedocs/blendify/fix-837
Fix  #837 Duplicate CSS Properties
2019-10-24 10:32:41 -06:00
Anthony
b22ac46414
Merge branch 'master' into blendify/fix-837 2019-10-24 10:25:30 -06:00
Anthony
36bca69a8f
Merge pull request #846 from readthedocs/blendify/code-console
Docs: Fix use of code console
2019-10-24 10:22:43 -06:00
Anthony
00195f6945
Merge branch 'master' into blendify/fix-837 2019-10-24 10:17:41 -06:00
Aaron Carlisle
a4bacd2bab Docs: Fix use of code console 2019-10-23 11:08:08 -04:00
Reinout van Rees
c04c214a85 Documenting that google analytics is supported (#829)
See #411, released in `0.4.3`. It is now supported, so I've changed the documentation accordingly.
2019-10-23 04:36:31 -04:00
Aaron Carlisle
9138108f7f
Fix #787 2019-10-22 16:53:53 -04:00
Aaron Carlisle
256c3f2cbb
Fix #837 Duplicate CSS Properties 2019-10-22 16:45:50 -04:00