rails/guides/assets/stylesheets
Hartley McGuire a42863f514
Add rake task to vendor guide javascript
The Rails guides were migrated from Turbolinks to Turbo in
0f6575a5344246d385d1a724e8b0bb3544ab6478

The PR discussion explains that the file was grabbed from unpkg, and a
decision was made to not run it through a minifier.

This commit adds a rake task to automate the process of grabbing the
turbo js file using Importmap::Packager, which is what importmap-rails
uses for `bin/importmap pin --download`.

The extra Importmap module definition is necessary because the
Importmap::Packager file uses the shorthand module syntax, meaning that
an error is thrown if the Importmap module is not previously defined.
`require "importmap-rails"` would normally define this module, but one
of its dependent requires will not load outside of a Rails application.

The turbo.css file was removed as it appears to be leftover from
Turbolinks and Turbo does not provide any css files in its dist.
2023-02-13 00:58:58 -05:00
..
dark.css [ci skip] Kindle info icon fix 2021-06-07 16:10:24 -03:00
epub.css Replaces mobi guide with epub for docs because of discontinued support 2022-08-05 00:18:20 +05:30
highlight.css Change diff highlighting background for dark mode 2021-08-10 13:54:21 -04:00
main.css Rails Guides - set "cursor: pointer" and on hover "color: #005cc5" css to copy code button [ci-skip] 2022-11-09 07:55:49 +05:30
print.css Improve css in guide 2018-04-01 07:29:49 +09:00
reset.css Show keyboard focus indicator in guides [ci-skip] 2021-07-14 01:05:36 -06:00
style.css Add rake task to vendor guide javascript 2023-02-13 00:58:58 -05:00