Commit Graph

1381 Commits

Author SHA1 Message Date
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
Anthony Johnson
db0f25787c Merge branch 'agj/more-webpack-fixes' 2019-10-17 10:34:34 -06:00
Anthony Johnson
6cfc95fb0e Remove extra font path again. 2019-10-15 16:37:13 -06:00
David Fischer
83540ff93f Upgrade and unpin sass-loader 2019-10-15 16:31:22 -06:00
David Fischer
d87006d384 Commit package-lock.json 2019-10-15 16:31:22 -06:00
Anthony Johnson
4549aaa56e Also update the files included in the package
Adds moved font files
2019-10-15 16:31:22 -06:00
Anthony Johnson
ff594d23ff Fix a number of issues with Webpack
A few of these squeezed by QA and testing:

* badge_only.css was copied to the static output path, it wasn't
  actually building it seems. Added second entry for this to make it
  easier.
* jQuery was not being treated as an external library and was vendored
  into our JS bundle!
* Having the fonts in a relative path from CSS ('../fonts'), causes CORS
  issues. Moved `/fonts` to `/sphinx_rtd_theme/static/css/fonts` essentially
* The dev server wasn't compiling assets consistently for me, tuned it hopefully

Requires #807
2019-10-15 16:31:22 -06:00
Anthony
1d6f240a57
Merge pull request #826 from readthedocs/davidfischer/setuppy-fixes
Small fixes to setup.py
2019-10-14 13:55:40 -06:00
David Fischer
d4466432ea
Small fixes to setup.py
Ensure `setup.py build` and `setup.py test`
work on a clean repo
2019-10-08 15:26:20 -07:00
Jesse Tan
8d484197f2 Also bump version in documentation conf.py 2019-10-03 20:48:58 +02:00
Jesse Tan
80580324c8 Update instructions 2019-10-03 20:37:52 +02:00
Jesse Tan
6fce074312 Also bump package.json 2019-10-03 20:27:53 +02:00
Anthony
ddf840cb72
Merge pull request #809 from readthedocs/agj/setup-webpack-commands
Add webpack commands into setup.py
2019-10-03 10:51:53 -06:00
Anthony
6947fea9c0
Merge branch 'master' into agj/setup-webpack-commands 2019-10-03 10:43:17 -06:00
Jesse Tan
085eb32179 Use bump2version for version number management 2019-10-03 12:09:36 +02:00
Anthony
feb0beb44a
Merge pull request #807 from readthedocs/agj/format-webpack-js
Run webpack js through Prettier JS formatter
2019-08-22 12:45:22 -06:00
Anthony
b3143a5811
Merge branch 'master' into agj/format-webpack-js 2019-08-22 12:39:37 -06:00
Anthony
9fee2a2585
Update setup.py
Co-Authored-By: Jesse Tan <jessetan@users.noreply.github.com>
2019-08-22 12:33:15 -06:00
Anthony
04f5c9281c
Update setup.py
Co-Authored-By: Jesse Tan <jessetan@users.noreply.github.com>
2019-08-22 12:33:05 -06:00
Manuel Kaufmann
5ba05cd1fa
Remove "Free document hosting provided by Read the Docs" message (#811)
Remove "Free document hosting provided by Read the Docs" message
2019-08-22 14:26:08 +02:00
Manuel Kaufmann
39a7172f55 Remove "Free document hosting provided by Read the Docs" message 2019-08-21 16:00:50 +02:00
Anthony
6909b4acb2
Merge pull request #805 from readthedocs/agj/more-api-docs
Add more domain doc examples
2019-08-03 08:59:53 -06:00
Eric Holscher
604fe08d19
Merge branch 'master' into agj/more-api-docs 2019-07-31 16:23:56 -07:00
Anthony Johnson
28ca8458a3 Old classes are The Worst 2019-07-29 11:29:49 -06:00
Anthony Johnson
00cc82c2f2 Not an object class anyways, drop super 2019-07-29 11:10:31 -06:00
Anthony Johnson
af521d644d Make super() py2/3 compat 2019-07-29 11:04:41 -06:00
Anthony Johnson
4672249962 Fix webpack command to run in CI 2019-07-29 10:56:44 -06:00
Anthony Johnson
e2a173d393 Add webpack commands into setup.py
This is a POC that shows building webpack through standard `setup.py`
commands. Any call to `setup.py build` or `bdist` or `sdist` will
trigger a Webpack build of the assets first. A non-zero exit code will
halt the process.

Also, moved the `npm run dev` command, which here is `python setup.py
watch`, though there is perhaps something better here. There is already
`python setup.py develop`, which has a separate function, so I don't
want to collide there.

Example output here:
https://gist.github.com/agjohnson/cdaab364fe598daa7f3bef750cfb84dd

Refs #797
2019-07-26 17:14:36 -06:00
Anthony
a732d61d27
Merge pull request #804 from readthedocs/agj/force-neat-19
Comment on why bourbon-neat is pinned
2019-07-26 16:19:05 -06:00
Anthony
abc57aa633
Merge branch 'master' into agj/force-neat-19 2019-07-26 15:53:46 -06:00
Anthony Johnson
2d874544b2 Run webpack js through Prettier JS formatter
Uses Prettier with no options. I'm fine accepting this as the default
style for our Javascript and autoformatting src/js/*.js as well. I left
those changes out for now.
2019-07-26 15:35:35 -06:00
Anthony Johnson
9b58009a97 Add a bit more error logging to preinstall check 2019-07-26 09:35:10 -06:00
Anthony
78287f0634
Merge pull request #806 from readthedocs/agj/more-localization
Add more localized strings
2019-07-26 09:27:44 -06:00
Anthony Johnson
8f327360a5 Add more localized strings
This adds altext on the home icon, copyright is already translated on the footer.html

Fixes #795
2019-07-25 19:43:39 -06:00
Anthony Johnson
1bfa504f97 Add more domain doc examples
These are a few domain examples pulled from the Sphinx test doc roots.
2019-07-25 19:27:22 -06:00
Anthony Johnson
35320c29f6 Comment on why bourbon-neat is pinned
This will actually fail `npm install` if you try upgrading the version.
2019-07-25 19:12:34 -06:00