Skip to content

Commit 87a7623

Browse files
committed
Added Spelling builder and word list
1 parent 783ea73 commit 87a7623

29 files changed

+265
-33
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/_build/doctrees
2+
/_build/spelling
23
/_build/html
34
*.pyc

_build/.requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ requests==2.20.0
1010
six==1.10.0
1111
snowballstemmer==1.2.1
1212
Sphinx==1.3.6
13+
sphinxcontrib.spelling
1314
git+https://github.com/fabpot/sphinx-php.git@7312eccce9465640752e51373a480da700e02345#egg_name=sphinx-php

_build/conf.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,14 @@
3636
extensions = [
3737
'sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo',
3838
'sensio.sphinx.refinclude', 'sensio.sphinx.configurationblock', 'sensio.sphinx.phpcode', 'sensio.sphinx.bestpractice', 'sensio.sphinx.codeblock',
39-
'symfonycom.sphinx'
39+
'symfonycom.sphinx',
40+
'sphinxcontrib.spelling'
4041
]
4142

43+
spelling_show_sugestions=True
44+
spelling_lang='en_US'
45+
spelling_word_list_filename='_build/spelling_word_list.txt'
46+
4247
# Add any paths that contain templates here, relative to this directory.
4348
# templates_path = ['_theme/_templates']
4449

_build/spelling_word_list.txt

Lines changed: 200 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,200 @@
1+
accessor
2+
advertize
3+
analytics
4+
Ansi
5+
Ansible
6+
Assetic
7+
autocompleted
8+
autocompletion
9+
autoconfiguration
10+
autoconfigured
11+
autoload
12+
autoloaded
13+
autoloader
14+
autoloaders
15+
autoloading
16+
autowire
17+
autowiring
18+
backend
19+
backends
20+
benchmarking
21+
bitwise
22+
boolean
23+
booleans
24+
callables
25+
camelCase
26+
casted
27+
changelog
28+
charset
29+
charsets
30+
checkboxes
31+
classmap
32+
classname
33+
clearers
34+
cloner
35+
cloners
36+
codebase
37+
config
38+
contrib
39+
cronjobs
40+
cryptographic
41+
cryptographically
42+
ctype
43+
customizable
44+
Cygwin
45+
dataset
46+
denormalization
47+
denormalize
48+
denormalized
49+
deprecations
50+
deserialization
51+
deserialize
52+
deserializing
53+
destructor
54+
dev
55+
DNS
56+
docblock
57+
Dotenv
58+
enum
59+
env
60+
escaper
61+
escpaer
62+
extensibility
63+
extractable
64+
eZPublish
65+
failover
66+
filesystem
67+
filesystems
68+
formatter
69+
formatters
70+
frontend
71+
getter
72+
getters
73+
GitHub
74+
Goutte
75+
grapheme
76+
hardcode
77+
hardcoded
78+
hardcodes
79+
hardcoding
80+
hasser
81+
hassers
82+
hostname
83+
https
84+
iconv
85+
igbinary
86+
ini
87+
inlined
88+
interoperable
89+
intl
90+
Intl
91+
invokable
92+
isser
93+
issers
94+
jQuery
95+
Kubernetes
96+
labelled
97+
Ldap
98+
libketama
99+
licensor
100+
lifecycle
101+
localhost
102+
matcher
103+
matchers
104+
mbstring
105+
memcached
106+
minify
107+
misgendering
108+
Monolog
109+
mutator
110+
nagle
111+
namespace
112+
namespaced
113+
namespaces
114+
namespacing
115+
nd
116+
NGINX
117+
normalizer
118+
normalizers
119+
OPcache
120+
overcomplicate
121+
Packagist
122+
parallelizes
123+
parsers
124+
PHP
125+
PHPUnit
126+
PID
127+
polyfill
128+
polyfills
129+
pre
130+
Predis
131+
preload
132+
preloaded
133+
prepend
134+
prepended
135+
prepending
136+
prepends
137+
profiler
138+
programmatically
139+
prototyped
140+
rebase
141+
reconnection
142+
redirections
143+
refactorization
144+
regexes
145+
resolvers
146+
responder
147+
reStructuredText
148+
runtime
149+
serializable
150+
serializer
151+
sexualized
152+
Silex
153+
socio
154+
specificities
155+
SQLite
156+
stacktrace
157+
stacktraces
158+
storages
159+
stylesheets
160+
subclasses
161+
subdirectories
162+
sublcasses
163+
sublicense
164+
sublincense
165+
subtree
166+
superclass
167+
superglobal
168+
superglobals
169+
Symfony
170+
symlinks
171+
syntaxes
172+
templating
173+
testability
174+
th
175+
theming
176+
throbber
177+
TLS
178+
tmpfs
179+
todo
180+
triaging
181+
UI
182+
unary
183+
uncomment
184+
uncommented
185+
unmapped
186+
unported
187+
unregister
188+
unsubmitted
189+
uploader
190+
validator
191+
validators
192+
variadic
193+
VirtualBox
194+
webserver
195+
whitespace
196+
Wordpress
197+
Xliff
198+
XML
199+
XPath
200+
yaml

best_practices/creating-the-project.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ following:
106106
Application Bundles
107107
~~~~~~~~~~~~~~~~~~~
108108

109-
When Symfony 2.0 was released, most developers naturally adopted the symfony
109+
When Symfony 2.0 was released, most developers naturally adopted the Symfony
110110
1.x way of dividing applications into logical modules. That's why many Symfony
111111
applications use bundles to divide their code into logical features: UserBundle,
112112
ProductBundle, InvoiceBundle, etc.

bundles/best_practices.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ The index file (for example ``Resources/doc/index.rst`` or
188188
``Resources/doc/index.md``) is the only mandatory file and must be the entry
189189
point for the documentation. The
190190
:doc:`reStructuredText (rST) </contributing/documentation/format>` is the format
191-
used to render the documentation on symfony.com.
191+
used to render the documentation on ``symfony.com``.
192192

193193
Installation Instructions
194194
~~~~~~~~~~~~~~~~~~~~~~~~~

components/cache/adapters/php_array_cache_adapter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
single: Cache Pool
33
single: PHP Array Cache
44

5-
Php Array Cache Adapter
5+
PHP Array Cache Adapter
66
=======================
77

88
This adapter is a high performance cache for static data (e.g. application configuration)

components/cache/adapters/php_files_adapter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
.. _component-cache-files-adapter:
66

7-
Php Files Cache Adapter
7+
PHP Files Cache Adapter
88
=======================
99

1010
Similarly to :ref:`Filesystem Adapter <component-cache-filesystem-adapter>`, this cache

components/dotenv.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Sensitive information and environment-dependent settings should be defined as
2828
environment variables (as recommended for `twelve-factor applications`_). Using
2929
a ``.env`` file to store those environment variables eases development and CI
3030
management by keeping them in one "standard" place and agnostic of the
31-
technology stack you are using (Nginx vs PHP built-in server for instance).
31+
technology stack you are using (NGINX vs PHP built-in server for instance).
3232

3333
.. note::
3434

components/http_foundation.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -477,10 +477,10 @@ represented by a PHP callable instead of a string::
477477

478478
Additionally, PHP isn't the only layer that can buffer output. Your web
479479
server might also buffer based on its configuration. Some servers, such as
480-
Nginx, let you disable buffering at the config level or by adding a special HTTP
480+
NGINX, let you disable buffering at the config level or by adding a special HTTP
481481
header in the response::
482482

483-
// disables FastCGI buffering in Nginx only for this response
483+
// disables FastCGI buffering in NGINX only for this response
484484
$response->headers->set('X-Accel-Buffering', 'no')
485485

486486
.. _component-http-foundation-serving-files:
@@ -517,7 +517,7 @@ Alternatively, if you are serving a static file, you can use a
517517

518518
The ``BinaryFileResponse`` will automatically handle ``Range`` and
519519
``If-Range`` headers from the request. It also supports ``X-Sendfile``
520-
(see for `Nginx`_ and `Apache`_). To make use of it, you need to determine
520+
(see for `NGINX`_ and `Apache`_). To make use of it, you need to determine
521521
whether or not the ``X-Sendfile-Type`` header should be trusted and call
522522
:method:`Symfony\\Component\\HttpFoundation\\BinaryFileResponse::trustXSendfileTypeHeader`
523523
if it should::
@@ -665,7 +665,7 @@ Learn More
665665
/session/*
666666
/http_cache/*
667667

668-
.. _Nginx: https://www.nginx.com/resources/wiki/start/topics/examples/xsendfile/
668+
.. _NGINX: https://www.nginx.com/resources/wiki/start/topics/examples/xsendfile/
669669
.. _Apache: https://tn123.org/mod_xsendfile/
670670
.. _`JSON Hijacking`: http://haacked.com/archive/2009/06/25/json-hijacking.aspx
671671
.. _OWASP guidelines: https://www.owasp.org/index.php/OWASP_AJAX_Security_Guidelines#Always_return_JSON_with_an_Object_on_the_outside

components/http_foundation/session_configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Native PHP Save Handlers
2323
------------------------
2424

2525
So-called native handlers, are save handlers which are either compiled into
26-
PHP or provided by PHP extensions, such as PHP-Sqlite, PHP-Memcached and so on.
26+
PHP or provided by PHP extensions, such as PHP-SQLite, PHP-Memcached and so on.
2727

2828
All native save handlers are internal to PHP and as such, have no public facing API.
2929
They must be configured by ``php.ini`` directives, usually ``session.save_path`` and

components/intl.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ PhpBundleWriter
116116
~~~~~~~~~~~~~~~
117117

118118
The :class:`Symfony\\Component\\Intl\\ResourceBundle\\Writer\\PhpBundleWriter`
119-
writes an array or an array-like object to a .php resource bundle::
119+
writes an array or an array-like object to a ``.php`` resource bundle::
120120

121121
use Symfony\Component\Intl\ResourceBundle\Writer\PhpBundleWriter;
122122

@@ -147,7 +147,7 @@ PhpBundleReader
147147
~~~~~~~~~~~~~~~
148148

149149
The :class:`Symfony\\Component\\Intl\\ResourceBundle\\Reader\\PhpBundleReader`
150-
reads resource bundles from .php files and returns an array or an array-like
150+
reads resource bundles from ``.php`` files and returns an array or an array-like
151151
object::
152152

153153
use Symfony\Component\Intl\ResourceBundle\Reader\PhpBundleReader;

components/phpunit_bridge.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ a directory containing multiple test suites with their own ``phpunit.xml.dist``.
145145
$ ./vendor/bin/simple-phpunit tests/
146146
147147
The modified PHPUnit script will recursively go through the provided directory,
148-
up to a depth of 3 subfolders or the value specified by the environment variable
148+
up to a depth of 3 subdirectories or the value specified by the environment variable
149149
``SYMFONY_PHPUNIT_MAX_DEPTH``, looking for ``phpunit.xml.dist`` files and then
150150
running each suite it finds in parallel, collecting their output and displaying
151151
each test suite's results in their own section.
@@ -558,7 +558,7 @@ classes' namespace. In order to work as expected, the listener has to run before
558558
the tested class ever runs. By default, the mocked functions are created when the
559559
annotation are found and the corresponding tests are run. Depending on how your
560560
tests are constructed, this might be too late. In this case, you will need to declare
561-
the namespaces of the tested classes in your phpunit.xml.dist
561+
the namespaces of the tested classes in your ``phpunit.xml.dist``.
562562

563563
.. code-block:: xml
564564

components/process.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,10 +387,10 @@ When running a program asynchronously, you can send it POSIX signals with the
387387
// will send a SIGKILL to the process
388388
$process->signal(SIGKILL);
389389

390-
Process Pid
390+
Process PID
391391
-----------
392392

393-
You can access the `pid`_ of a running process with the
393+
You can access the `PID`_ of a running process with the
394394
:method:`Symfony\\Component\\Process\\Process::getPid` method::
395395

396396
use Symfony\Component\Process\Process;
@@ -443,6 +443,6 @@ absolute path of the executable PHP binary available on your server::
443443
$phpBinaryPath = $phpBinaryFinder->find();
444444
// $phpBinaryPath = '/usr/local/bin/php' (the result will be different on your computer)
445445

446-
.. _`pid`: https://en.wikipedia.org/wiki/Process_identifier
446+
.. _`PID`: https://en.wikipedia.org/wiki/Process_identifier
447447
.. _`PHP streams`: https://www.php.net/manual/en/book.stream.php
448448
.. _`output_buffering`: https://www.php.net/manual/en/outcontrol.configuration.php

configuration.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Every Symfony application consists of a collection of bundles that add useful to
88
(:doc:`services </service_container>`) to your project. Each bundle can be customized
99
via configuration files that live - by default - in the ``app/config`` directory.
1010

11-
Configuration: config.yml
12-
-------------------------
11+
Configuration: ``config.yml``
12+
-----------------------------
1313

1414
The main configuration file is called ``config.yml``:
1515

@@ -297,8 +297,8 @@ a controller - see :ref:`service-container-parameters`.
297297

298298
.. _config-parameters-yml:
299299

300-
The Special parameters.yml File
301-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
300+
The Special ``parameters.yml`` File
301+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
302302

303303
On the surface, ``parameters.yml`` is just like any other configuration file: it
304304
is imported by ``config.yml`` and defines several parameters:

0 commit comments

Comments
 (0)