Simon Legner
cf0f7da5b2
Revert "Update dependency sprockets to 4.2.1"
...
This reverts commit 1b58ff1ac0
.
2024-01-13 22:44:02 +01:00
Simon Legner
53a96537c7
Fix sprockets.css_compressor=:sassc
...
See #2106 .
2024-01-07 09:33:14 +01:00
Nicholas La Roux
b633af5a3d
Remove deprecated active_support/per_thread_registry usage
2024-01-07 08:15:31 +09:00
Simon Legner
5017405fb9
Replace :terser with Terser.new
...
https://github.com/ahorek/terser-ruby#usage
2024-01-06 18:21:23 +01:00
Simon Legner
66d682eae9
Replace uglifier with terser
...
> UglifyJS only works with ES5. If you need to compress ES6, ruby-terser is a better option.
https://github.com/ahorek/terser-ruby
2024-01-06 18:15:26 +01:00
Simon Legner
a06462f6e3
Uglifier::Error: Unexpected token: punc ()).
...
To use ES6 syntax, harmony mode must be enabled with Uglifier.new(:harmony => true).
2024-01-06 18:03:54 +01:00
Paul Sernatinger
2da05d74db
Specs all passing
2022-11-14 08:30:30 -06:00
Simon Legner
5ca0a8172d
Remove support for Internet Explorer
...
"DevDocs being a developer tool, the browser requirements are high" (README)
2021-11-01 13:22:00 +01:00
Oliver Eyton-Williams
fb7db1e253
fix: remove reference to dom_events
...
Since the MDN scrapers have been updated, this no longer exists.
2021-04-22 12:10:19 +02:00
Oliver Eyton-Williams
72ac0a2101
fix: s/devdocs.in/devdocs.io/g
2021-02-16 11:49:32 +01:00
Oliver Eyton-Williams
f8aaaf4f61
fix: change docs_origin to documents.devdocs.in
2021-02-16 11:44:58 +01:00
Oliver Eyton-Williams
c6264eb1bf
fix: remove cdn entirely and rely on Cloudflare
2021-02-16 11:44:57 +01:00
Jasper van Merle
dc47573a08
Optimize spritesheets using OptiPNG
2019-09-03 19:52:53 +02:00
Jasper van Merle
8a71af9c2f
Fix merge conflicts
2019-07-20 03:15:20 +02:00
Jasper van Merle
def4b286e3
Merge pull request #848 from jmerle/generate-docs-json
...
Automatically generate public/docs/docs.json when it's needed
2019-07-20 01:55:10 +02:00
Jasper van Merle
52e982b5e7
Formatting
2019-07-10 22:43:52 +02:00
Jasper van Merle
5dc1437631
Better cache name creation
2019-07-10 22:38:33 +02:00
Jasper van Merle
576f32dae1
Make service worker opt-in in development
2019-07-10 19:48:36 +02:00
Jasper van Merle
dd23a6c7b7
Move all styling configuration to the client
2019-07-08 01:42:34 +02:00
Jasper van Merle
aaf9904cb3
Remove redundant server-side styling
2019-07-07 15:21:29 +02:00
Jasper van Merle
35dd78f191
Refactoring
2019-07-07 14:30:31 +02:00
Jasper van Merle
0e9aa8847b
Add preference to bypass service worker cache
2019-07-07 14:11:39 +02:00
Jasper van Merle
8ed1f4ace1
Replace AppCache with a service worker
2019-07-07 00:55:58 +02:00
Jasper van Merle
e2063f3256
Fix paths
2019-07-06 21:01:42 +02:00
Jasper van Merle
9663ab67ff
Update manifest_asset_urls
2019-07-06 21:00:00 +02:00
Jasper van Merle
f80d07412c
Merge master
2019-06-11 21:17:05 +02:00
Jasper van Merle
9fa2131994
Merge branch 'master' into generate-docs-json
2019-02-16 20:09:00 +01:00
Thibaut Courouble
817dac1c48
Enable HTTP Strict-Transport-Security
2018-11-25 13:17:33 -05:00
Thibaut Courouble
5c886a4e10
Remove http:// URLs from CSP
2018-10-21 18:18:48 -04:00
Jasper van Merle
bf53a00ca9
Fix merge conflicts
2018-10-21 19:04:30 +02:00
Jed Fox
a30fcf9d9a
Switch from SASS variables to CSS variables
...
* Switch from SASS variables to CSS variables for most styling
These are the simple cases, and the more complex ones will be covered by future commits. I’ve also replaced $fooZ ± 1 with the appropriate variable to avoid a runtime `calc()`.
* Eliminate the `$style` variable 🔥
I’ve added a `--absolute` variable that’s `white` in dark mode and `black` in regular mode.
* Remove `$inputFocusBorder` 🔥
* Switch the Prism styles to CSS variables
* Convert `$mediumScreen` to a mixin
* 🔥 `$selectionText`
* Eliminate the final uses of SCSS variables
I’ve dropped the 95% opacity on the background of the method source code overlay in RDoc since the difference isn’t noticeable but it makes implementation a lot easier.
* Misc fixes
* Extract the common variables from the two themes to a new file
* Remove illegal usages of CSS variables in SCSS functions
This flattens out the buttons on the settings page which makes the styles simpler (and more modern-looking IMO) and removes the box-shadow on the button, which was completely invisible to me.
* Fix usages of SCSS functions in CSS variables
* Use `html._theme-*` selectors
* Eliminate `application-dark.css`; switch themes by toggling classes
This also means that the Application Cache doesn’t have to get updated when toggling themes, and a new CSS file that’s nearly the same doesn’t need to be downloaded.
2018-10-07 12:27:07 -04:00
Thibaut Courouble
7d3c6bd970
Force HTTPS
2018-10-07 10:28:28 -04:00
Jasper van Merle
90123a3679
Automatically generate spritesheets
2018-09-16 23:15:20 +02:00
Jasper van Merle
c13fffd081
Automatically generate docs.json when it's needed
2018-07-30 16:54:07 +02:00
Thibaut Courouble
6aae9eb096
Change canonical URLs to HTTPS
2018-03-18 16:43:41 -04:00
Thibaut Courouble
ca4387cb7d
Change Atom feed to HTTPS
2018-03-18 16:35:40 -04:00
Thibaut Courouble
e8bb76fe53
Update links to HTTPS
2018-03-18 16:34:14 -04:00
Thibaut Courouble
411342852b
Change a few external links to https
2017-09-23 12:04:09 -04:00
Thibaut Courouble
414f3844ab
Update HTTP caching rules
2017-09-10 10:29:57 -04:00
Thibaut Courouble
9e97357524
Add web app manifest
2017-09-09 18:16:16 -04:00
Thibaut Courouble
a11ea2a0ac
Remove obsolete manifest.webapp
2017-09-09 16:34:07 -04:00
Thibaut Courouble
64f04305d3
Replace all remaining PNG UI icons with SVGs
2017-09-09 14:57:53 -04:00
Thibaut Courouble
4e1b61e82c
Minor SEO
2017-08-08 08:12:53 -04:00
Thibaut Courouble
3f43c03dbc
Update Angular documentation (4.3.2)
2017-07-30 13:18:27 -04:00
Thibaut Courouble
4bc31ad41f
Update webpack documentation (3.0.0)
2017-06-25 15:40:51 -04:00
Thibaut Courouble
a4def6f95d
Add redirections
2017-06-25 12:13:14 -04:00
Thibaut Courouble
b3d1c3865a
Actually improve app backend performance
2017-06-04 11:38:04 -04:00
Thibaut Courouble
2246c22820
Improve app backend performance
2017-05-22 17:42:00 -04:00
Thibaut Courouble
666f010dd0
Bump Sinatra (2.0) and ActiveSupport (5.1)
2017-05-07 18:33:54 -04:00
Thibaut Courouble
5fbbd9ef23
Add redirection for old URL
2017-04-23 10:02:42 -04:00