Simon Legner
5e02d779a1
Fix Docs.aliases
2 months ago
Simon Legner
050022bfb7
Move docs_aliases to class App
2 months ago
Simon Legner
cf0f7da5b2
Revert "Update dependency sprockets to 4.2.1"
...
This reverts commit 1b58ff1ac0
.
1 year ago
Simon Legner
53a96537c7
Fix sprockets.css_compressor=:sassc
...
See #2106 .
1 year ago
Nicholas La Roux
b633af5a3d
Remove deprecated active_support/per_thread_registry usage
1 year ago
Simon Legner
5017405fb9
Replace :terser with Terser.new
...
https://github.com/ahorek/terser-ruby#usage
1 year ago
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
1 year ago
Simon Legner
a06462f6e3
Uglifier::Error: Unexpected token: punc ()).
...
To use ES6 syntax, harmony mode must be enabled with Uglifier.new(:harmony => true).
1 year ago
Paul Sernatinger
2da05d74db
Specs all passing
2 years ago
Simon Legner
5ca0a8172d
Remove support for Internet Explorer
...
"DevDocs being a developer tool, the browser requirements are high" (README)
3 years ago
Oliver Eyton-Williams
fb7db1e253
fix: remove reference to dom_events
...
Since the MDN scrapers have been updated, this no longer exists.
4 years ago
Oliver Eyton-Williams
72ac0a2101
fix: s/devdocs.in/devdocs.io/g
4 years ago
Oliver Eyton-Williams
f8aaaf4f61
fix: change docs_origin to documents.devdocs.in
4 years ago
Oliver Eyton-Williams
c6264eb1bf
fix: remove cdn entirely and rely on Cloudflare
4 years ago
Jasper van Merle
dc47573a08
Optimize spritesheets using OptiPNG
5 years ago
Jasper van Merle
8a71af9c2f
Fix merge conflicts
6 years ago
Jasper van Merle
def4b286e3
Merge pull request #848 from jmerle/generate-docs-json
...
Automatically generate public/docs/docs.json when it's needed
6 years ago
Jasper van Merle
52e982b5e7
Formatting
6 years ago
Jasper van Merle
5dc1437631
Better cache name creation
6 years ago
Jasper van Merle
576f32dae1
Make service worker opt-in in development
6 years ago
Jasper van Merle
dd23a6c7b7
Move all styling configuration to the client
6 years ago
Jasper van Merle
aaf9904cb3
Remove redundant server-side styling
6 years ago
Jasper van Merle
35dd78f191
Refactoring
6 years ago
Jasper van Merle
0e9aa8847b
Add preference to bypass service worker cache
6 years ago
Jasper van Merle
8ed1f4ace1
Replace AppCache with a service worker
6 years ago
Jasper van Merle
e2063f3256
Fix paths
6 years ago
Jasper van Merle
9663ab67ff
Update manifest_asset_urls
6 years ago
Jasper van Merle
f80d07412c
Merge master
6 years ago
Jasper van Merle
9fa2131994
Merge branch 'master' into generate-docs-json
6 years ago
Thibaut Courouble
817dac1c48
Enable HTTP Strict-Transport-Security
6 years ago
Thibaut Courouble
5c886a4e10
Remove http:// URLs from CSP
6 years ago
Jasper van Merle
bf53a00ca9
Fix merge conflicts
6 years ago
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.
6 years ago
Thibaut Courouble
7d3c6bd970
Force HTTPS
6 years ago
Jasper van Merle
90123a3679
Automatically generate spritesheets
6 years ago
Jasper van Merle
c13fffd081
Automatically generate docs.json when it's needed
7 years ago
Thibaut Courouble
6aae9eb096
Change canonical URLs to HTTPS
7 years ago
Thibaut Courouble
ca4387cb7d
Change Atom feed to HTTPS
7 years ago
Thibaut Courouble
e8bb76fe53
Update links to HTTPS
7 years ago
Thibaut Courouble
411342852b
Change a few external links to https
7 years ago
Thibaut Courouble
414f3844ab
Update HTTP caching rules
7 years ago
Thibaut Courouble
9e97357524
Add web app manifest
7 years ago
Thibaut Courouble
a11ea2a0ac
Remove obsolete manifest.webapp
7 years ago
Thibaut Courouble
64f04305d3
Replace all remaining PNG UI icons with SVGs
7 years ago
Thibaut Courouble
4e1b61e82c
Minor SEO
8 years ago
Thibaut Courouble
3f43c03dbc
Update Angular documentation (4.3.2)
8 years ago
Thibaut Courouble
4bc31ad41f
Update webpack documentation (3.0.0)
8 years ago
Thibaut Courouble
a4def6f95d
Add redirections
8 years ago
Thibaut Courouble
b3d1c3865a
Actually improve app backend performance
8 years ago
Thibaut Courouble
2246c22820
Improve app backend performance
8 years ago