1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

15 commits

Author SHA1 Message Date
Wojciech Wnętrzak
6d0773a468
Adjust application pack in webpacker guide
This is how it looks like when generated in the new app (via Rails 6.1.3)

[ci skip]
2021-02-20 16:54:34 +01:00
Rafael França
2ab5729c37
Merge pull request #41264 from ttilberg/patch-1
Clarify compilation notes [ci skip]
2021-01-28 16:00:28 -05:00
Tim Tilberg
0383551818
Clarify claim 2021-01-28 01:02:46 -06:00
Gannon McGibbon
ead4fb3e61 [ci-skip] bundle exec rails -> bin/rails in Webpacker guide 2021-01-27 17:14:32 -05:00
Gannon McGibbon
f2f1c8f56f [ci-skip] javascript_link_tag -> javascript_include_tag in Webpacker guide 2021-01-27 17:14:11 -05:00
Gannon McGibbon
6143b1121f
Merge pull request #41226 from t27duck/missing_erb_in_webpacker_guide
Guides: Missing erb tags for stylesheet_pack_tag [ci skip]
2021-01-25 17:36:26 -05:00
Tony Drake
a131b7f875 Guides: Remove unneeded statement about stylesheet_pack_tag [ci skip] 2021-01-25 16:45:27 -05:00
David Stosik
31ad146c16 Add small improvements to the Webpacker guide
- fix typos like double spaces, accidental caps
- improve some HTML links by giving them a label
- etc
2021-01-25 16:31:20 +09:00
Tony Drake
9182b90a58 Guides: Missing erb tags for stylesheet_pack_tag [ci skip]
The section on needing to use `stylesheet_pack_tag` was lacking the erb
%'s.

I updated the markdown to actually show the helper being used with erb
as well as improve the wording of the sentence.
2021-01-24 11:57:41 -05:00
Chris Houhoulis
a15b230fff Fix code block in Webpacker Guide [ci skip]
Formatting fix: the example directory tree listing was bleeding into the
previous paragraph and had extraneous characters due to a missing
newline.
2021-01-23 19:04:20 -05:00
Alex Ghiculescu
72ed17d379
Update webpacker.md 2021-01-18 21:25:23 -06:00
Alex Ghiculescu
5bd1b22d9e
fix broken link 2021-01-18 21:21:41 -06:00
Alex Ghiculescu
d44dec6651
Webpacker guide: remove Basecamp reference [docs]
As a Rails user, if you *don't* know who Basecamp is or their relationship to the Rails framework, then this sentence is confusing. Reworded to instead just refer to Rails defaults.

cc @rossta
2021-01-18 21:12:40 -06:00
Emmanuel Hayford
055a8f0cbf Fix grammar and typos 2021-01-18 16:14:53 +01:00
Ross Kaffenberger
59009c2930
Add a Webpacker guide [ci skip] (#40817)
* Initial upload

* Moving toward a first pass

* Add Tables

I added tables for the configuration files/folders that are automatically generated.

I also added a table for the specific integrations. This way we can add basic links to the specific integration providing more detailed information about the integration.

* Add static assets section

* Bring over rails/webpacker development docs

* Respond to comments

* Update

* Update webpacker_guide.md

I think `include` should be `import` and would like to emphasis `import` over `require` in an effort to promote ES module syntax.

* Expand on image docs

I thought some additional details are needed to clarify image usage, especially from a Rails view.

* Update webpacker_guide.md

Add details for Webpacker + Docker section

* Update webpacker_guide.md

Make important distinction about pack files. Add example directory layout.

* Reword sentence

* Add section for Rails engines

* Rename webpacker guide

* Remove Docker section

* Add link to additional documentation

* Rework section formatting according to Rails guidelines

* Add link to webpack documentation

* Add note about NPM and Yarn

* Update guides/source/webpacker.md

Fix typo

Co-authored-by: Karl Entwistle <me@karlentwistle.com>

Co-authored-by: Noel Rappin <noel.rappin@joinroot.com>
Co-authored-by: Niklas Häusele <niklas.haeusele@gmail.com>
Co-authored-by: Tasos Latsas <tlatsas2000@gmail.com>
Co-authored-by: Noel Rappin <noelrappin@gmail.com>
Co-authored-by: Karl Entwistle <me@karlentwistle.com>
2021-01-18 11:40:18 +01:00