Skip to content

Commit 47024b4

Browse files
committed
Merge branch '3.4'
* 3.4: Adding missing the Fix autoescape_service example Proofread encore Fixed typo in Encore/Shared-Entry page Add missing argument to code example Fix some typos align travis and platform build environments Fix some typos Adding header to separate sections Adding missing workflow.entered events Create tags.rst Update tags.rst Fixed app/config/services.yml link Minor reword of the intro of the routing/conditions article Minor reword for the intro of the Templating article Fixed indentation in a configuration block Update LessThan.rst "Basic Usage" part Fix typo minor #7999 Small grammatical improvement (catchamonkey) [DI] Automatically applying a tag to all services implementing an interface
2 parents 568f952 + d3aeca9 commit 47024b4

22 files changed

+109
-86
lines changed

.platform.app.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,5 @@ hooks:
5757
export PIP_USER=
5858
pip install pip==9.0.1 wheel==0.29.0
5959
pip install -r _build/.requirements.txt
60+
find .virtualenv -type f -name "*.rst" -delete
6061
make -C _build html

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ sudo: false
66
cache:
77
directories: [$HOME/.cache/pip]
88

9-
install: pip install sphinx~=1.3.0 git+https://github.com/fabpot/sphinx-php.git
9+
install: pip install -r _build/.requirements.txt
1010

11-
script: sphinx-build -nW -c _build/ -b html -d _build/doctrees . _build/html
11+
script: make -C _build SPHINXOPTS=-nW html
1212

1313
branches:
1414
except:

_build/.requirements.txt

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
alabaster==0.7.9
2-
Babel==2.3.4
1+
alabaster==0.7.10
2+
Babel==2.4.0
33
docutils==0.13.1
44
imagesize==0.7.1
5-
Jinja2==2.9.4
6-
MarkupSafe==0.23
5+
Jinja2==2.9.6
6+
MarkupSafe==1.0
77
Pygments==2.2.0
8-
pytz==2016.10
8+
pytz==2017.2
99
requests==2.12.5
1010
six==1.10.0
1111
snowballstemmer==1.2.1
12-
Sphinx==1.5.2
12+
Sphinx==1.3.6
1313
git+https://github.com/fabpot/sphinx-php.git@7312eccce9465640752e51373a480da700e02345#egg_name=sphinx-php
14-

frontend.rst

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,8 @@ Full API
6262

6363
* `Full API`_: https://github.com/symfony/webpack-encore/blob/master/index.js
6464

65-
.. _`Webpack Encore`: https://www.npmjs.com/package/@symfony/webpack-encore
66-
.. _`Webpack`: https://webpack.js.org/
67-
.. _`Webpacker`: https://github.com/rails/webpacker
68-
.. _`Mix`: https://laravel.com/docs/5.4/mix
69-
.. _`Symfony`: http://symfony.com/
70-
.. _`Full API`: https://github.com/symfony/webpack-encore/blob/master/index.js
71-
65+
Other Front-End Articles
66+
........................
7267

7368
.. toctree::
7469
:maxdepth: 1
@@ -81,3 +76,10 @@ Full API
8176
:glob:
8277

8378
frontend/encore/*
79+
80+
.. _`Webpack Encore`: https://www.npmjs.com/package/@symfony/webpack-encore
81+
.. _`Webpack`: https://webpack.js.org/
82+
.. _`Webpacker`: https://github.com/rails/webpacker
83+
.. _`Mix`: https://laravel.com/docs/5.4/mix
84+
.. _`Symfony`: http://symfony.com/
85+
.. _`Full API`: https://github.com/symfony/webpack-encore/blob/master/index.js

frontend/encore/bootstrap.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Importing Bootstrap Sass
1313
------------------------
1414

1515
Now that ``bootstrap-sass`` lives in your ``node_modules`` directory, you can
16-
import it from any Sass or JavaScript file. For example, if you're already have
16+
import it from any Sass or JavaScript file. For example, if you already have
1717
a ``global.scss`` file, import it from there:
1818

1919
.. code-block:: css
@@ -71,7 +71,7 @@ Bootstrap JavaScript requires jQuery, so make sure you have this installed:
7171
7272
$ yarn add jquery --dev
7373
74-
Next, make sure call ``.autoProvidejQuery()`` in your ``webpack.config.js`` file:
74+
Next, make sure to call ``.autoProvidejQuery()`` in your ``webpack.config.js`` file:
7575

7676
.. code-block:: diff
7777

frontend/encore/cdn.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ e.g. ``https://my-cool-app.com.global.prod.fastly.net/dashboard.js``.
3636
directly from your web server.
3737

3838
You *do* need to make sure that the ``script`` and ``link`` tags you include on your
39-
pages also uses the CDN. Fortunately, the ``manifest.json`` paths are updated to
39+
pages also use the CDN. Fortunately, the ``manifest.json`` paths are updated to
4040
point to the CDN. In Symfony, as long as you've configured
4141
:doc:`Asset Versioning </frontend/encore/versioning>`, you're done! The ``manifest.json``
4242
file includes the full CDN URL:

frontend/encore/css-preprocessors.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
CSS Preprocessors: Sass, LESS, etc
2-
==================================
1+
CSS Preprocessors: Sass, LESS, etc.
2+
===================================
33

44
Using Sass
55
----------
@@ -22,7 +22,7 @@ And enable it in ``webpack.config.js``:
2222
.enableSassLoader()
2323
;
2424
25-
That's it! All files ending in ``.sass`` or ``.scss`` will be processed.
25+
That's it! All files ending in ``.sass`` or ``.scss`` will be pre-processed.
2626

2727
Using LESS
2828
----------

frontend/encore/dev-server.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Using webpack-dev-server and HMR
22
================================
33

4-
While developing, instead of using ``encore dev --watch``, you can instead use the
4+
While developing, instead of using ``encore dev --watch``, you can use the
55
`webpack-dev-server`_:
66

77
.. code-block:: terminal

frontend/encore/page-specific-assets.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ tag for ``checkout.css`` if you import any CSS).
2828
Multiple Entries Per Page?
2929
--------------------------
3030

31-
Typically, you should include only *one* entry JavaScript per page. This means
31+
Typically, you should include only *one* JavaScript entry per page. This means
3232
the checkout page will include ``checkout.js``, but will *not* include the
3333
``app.js`` that's used on the other pages. Think of the checkout page as its
3434
own "app", where ``checkout.js`` includes all the functionality you need.

frontend/encore/server-data.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Fetch this in JavaScript:
2626
There is no size limit for the value of the ``data-`` attributes, so you can
2727
store any content. In Twig, use the ``html_attr`` escaping strategy to avoid messing
2828
with HTML attributes. For example, if your ``User`` object has some ``getProfileData()``
29-
method that returns an array, you could:
29+
method that returns an array, you could do the following:
3030

3131
.. code-block:: twig
3232

0 commit comments

Comments
 (0)