Skip to content

Merge from symfony-docs #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9,940 commits into from
Jun 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
9940 commits
Select commit Hold shift + click to select a range
1e4bc44
Use gender-neutral language in the main Serializer article
javiereguiluz May 18, 2018
4158b30
minor #9795 Use gender-neutral language in the main Serializer articl…
javiereguiluz May 18, 2018
a9475ba
Use gender-neutral language in the main Serializer article
javiereguiluz May 18, 2018
3202f4c
minor #9795 Use gender-neutral language in the main Serializer articl…
javiereguiluz May 18, 2018
7d243db
minor #9797 Fix missing `;` in the samples (SpacePossum)
javiereguiluz May 18, 2018
7074b29
minor #9796 Fix error on @MaxDepth property (rebangm)
javiereguiluz May 18, 2018
7328eec
minor #9791 Removed the term "simple" from creating a new page (iltar)
javiereguiluz May 18, 2018
1c426f7
Added a caution note about env vars and the profiler
javiereguiluz May 17, 2018
768242f
minor #9793 Added a caution note about env vars and the profiler (jav…
javiereguiluz May 18, 2018
8010808
Document the hidden services and update debug:container docs
javiereguiluz May 15, 2018
2cb5242
minor #9775 Document the hidden services and update debug:container d…
javiereguiluz May 18, 2018
74fed75
[LDAP] Add docs for applyOperations method
mablae May 1, 2018
2880027
[Messenger] Document middleware factories
ogizanagi May 15, 2018
b74be85
Merge branch '2.7' into 2.8
javiereguiluz May 20, 2018
3fd845a
Merge branch '2.8' into 3.4
javiereguiluz May 20, 2018
7639556
Merge branch '3.4' into 4.0
javiereguiluz May 20, 2018
89f98ee
Merge branch '4.0' into 4.1
javiereguiluz May 20, 2018
bf10fd2
Add the new choice translation locale option to Intl form types
yceruto May 20, 2018
5d53e72
Fix issue #9798
intco May 21, 2018
cc347ee
minor #9800 Fix issue #9798 (intco)
javiereguiluz May 21, 2018
e4f50dc
Grammar fix - Change "you're" to "your"
robmeijer May 21, 2018
fb54224
minor #9801 Grammar fix - Change "you're" to "your" (robmeijer)
javiereguiluz May 21, 2018
68dc3db
minor #9799 [Form] Add choice_translation_locale option for Intl choi…
javiereguiluz May 21, 2018
b82199d
minor #9784 Add the class attribute for service factories (javieregui…
javiereguiluz May 21, 2018
8ba6ec2
Merge branch '3.4' into 4.0
javiereguiluz May 21, 2018
3420f0c
Merge branch '4.0' into 4.1
javiereguiluz May 21, 2018
6b1f9c1
add service binding to argument name example
kbond May 7, 2018
277bc36
minor #9746 Add service binding to argument name example (kbond)
javiereguiluz May 21, 2018
bebe9a0
Update 3.3-di-changes.rst
DonCallisto Apr 27, 2018
b55d303
minor #9695 Update 3.3-di-changes.rst (DonCallisto)
javiereguiluz May 21, 2018
771db44
Minor typos
javiereguiluz May 21, 2018
f9b9c10
Documented the support of iterators in write() and writeln()
javiereguiluz May 15, 2018
7dc019e
minor #9776 Documented the support of iterators in write() and writel…
javiereguiluz May 22, 2018
5125d50
Documented the use of binary values as container params
javiereguiluz May 16, 2018
5318f06
minor #9780 Documented the use of binary values as container params (…
javiereguiluz May 22, 2018
c3c0b55
minor #9771 some tweaks for the Messenger component docs (xabbuh)
javiereguiluz May 22, 2018
40b2067
minor #9715 [LDAP] Add docs for applyOperations method (mablae)
javiereguiluz May 22, 2018
b6050bf
Mention that "exclude" option now accepts arrays too
javiereguiluz May 22, 2018
e61c5be
Added a minor note about Composer's plaform config
javiereguiluz May 22, 2018
9e5909a
minor #8346 Update choice_attr.rst.inc (flip111)
javiereguiluz May 22, 2018
8d3b077
Minor typo
javiereguiluz May 22, 2018
f6daf71
add missing argument binding section
xabbuh May 22, 2018
e8d16d1
Some rewording
javiereguiluz May 22, 2018
6dfd966
minor #8653 [FrameworkBundle] add documentation request context in As…
javiereguiluz May 22, 2018
8b48e9b
Rewords and simplifications
javiereguiluz May 22, 2018
386f639
Reworded and simplified
javiereguiluz May 22, 2018
033e8ea
minor #9804 add missing argument binding section (xabbuh)
javiereguiluz May 23, 2018
d059bee
Update NotBlank constraint description
sidux May 22, 2018
b4f0842
minor #9805 Update NotBlank constraint description (sidux)
javiereguiluz May 23, 2018
5793eb1
minor #9786 added initial_place entry (stoccc)
javiereguiluz May 23, 2018
843ac87
minor #9787 added initial_place entry (stoccc)
javiereguiluz May 23, 2018
85a585f
simplified docs
fabpot May 23, 2018
ccc8db5
minor #9808 Remove the list of security vulnerabilities from the docs…
javiereguiluz May 23, 2018
13ae5bd
Removed a no longer relevant text
javiereguiluz May 23, 2018
a87f21b
Minor rewords
javiereguiluz May 23, 2018
4612bd2
Fixed URLs to APIs outside of the Symfony project
javiereguiluz May 23, 2018
c5ef7c8
Reowrd to restore the original meaning
javiereguiluz May 24, 2018
e0f483b
Improved the multiple user providers article
javiereguiluz May 3, 2018
fb6e275
minor #9726 Improved the multiple user providers article (javiereguiluz)
javiereguiluz May 24, 2018
6b0549a
minor #9803 Added a minor note about Composer's plaform config (javie…
javiereguiluz May 24, 2018
1ca0337
minor #9774 [Messenger] Document middleware factories (ogizanagi, jav…
javiereguiluz May 24, 2018
5dabc4e
Update the documentation for Symfony Flex
mnapoli May 24, 2018
74bb726
Minor reword
javiereguiluz May 24, 2018
0ecfb40
minor #9811 Update the documentation for Symfony Flex (mnapoli, javie…
javiereguiluz May 24, 2018
8ffcfca
minor #9802 Mention that "exclude" option now accepts arrays too (jav…
javiereguiluz May 24, 2018
e93756f
Added the versionadded directive
javiereguiluz May 24, 2018
f226072
minor #9452 Added a note for the test-pack (HeahDude, javiereguiluz)
javiereguiluz May 24, 2018
8dd54bb
minor #9496 Adding MigratingSessionHandler docs (rossmotley, javiereg…
javiereguiluz May 24, 2018
a0a88a2
Documented the false_values option of checkbox types
javiereguiluz May 24, 2018
8fdf038
minor #9812 Documented the false_values option of checkbox types (jav…
javiereguiluz May 24, 2018
870e005
Update 3.3-di-changes.rst
DonCallisto May 24, 2018
44baa5f
Merge branch '2.7' into 2.8
javiereguiluz May 24, 2018
0e66933
Merge branch '2.8' into 3.4
javiereguiluz May 24, 2018
7f5a99f
Merge branch '3.4' into 4.0
javiereguiluz May 24, 2018
8c63a98
Merge branch '4.0' into 4.1
javiereguiluz May 24, 2018
ea98331
Merge branch '4.1'
javiereguiluz May 24, 2018
c140ccc
Fix missing use of IssueSelectorType
magnetik May 24, 2018
2f15432
minor #9814 Fix missing use of IssueSelectorType (magnetik)
javiereguiluz May 24, 2018
d430972
Added documentation about authentication for multiple firewalls under…
May 4, 2018
eae4a3c
Reword
javiereguiluz May 21, 2018
9772551
minor #9733 Documentation about authentication for multiple firewalls…
javiereguiluz May 24, 2018
36cb8a2
Improve functional test workflow example
JeroenDeDauw Apr 30, 2018
3c0a54a
Reword
javiereguiluz May 24, 2018
fc2cab5
minor #9711 Improve functional test workflow example (JeroenDeDauw, j…
javiereguiluz May 24, 2018
534bdc5
minor #9810 Fixed URLs to APIs outside of the Symfony project (javier…
javiereguiluz May 24, 2018
ee910bb
Merge branch '2.7' into 2.8
javiereguiluz May 24, 2018
4d8c866
Merge branch '2.8' into 3.4
javiereguiluz May 24, 2018
47c1986
Fixed some wrong links to external API classes/methods
javiereguiluz May 24, 2018
8f2f013
Merge branch '3.4' into 4.0
javiereguiluz May 24, 2018
4cb9839
Merge branch '4.0' into 4.1
javiereguiluz May 24, 2018
2a76e88
Merge branch '4.1'
javiereguiluz May 24, 2018
cd353c7
Add description of the built in envvar processors
mcfedr Mar 27, 2018
67227a6
Add examples for parameter processors
mcfedr May 24, 2018
e3fe5fe
Example of customer env var processor
mcfedr May 24, 2018
88b2266
[Messenger] Minor tweaks regarding middleware factories
ogizanagi May 25, 2018
2c01e73
minor #9818 [Messenger] Minor tweaks regarding middleware factories (…
javiereguiluz May 25, 2018
8838478
Remove extra brace in the release schedule
stof May 25, 2018
d6bd16b
minor #9821 Remove extra brace in the release schedule (stof)
javiereguiluz May 25, 2018
4cd37a5
Explained more in detail
javiereguiluz May 25, 2018
0dcd453
Fixed a RST syntax issue
javiereguiluz May 25, 2018
3f9b831
minor #9822 Fixed a RST syntax issue (javiereguiluz)
javiereguiluz May 25, 2018
aed1607
Minor rewords and formatting fixes
javiereguiluz May 25, 2018
7c26fe2
Export workflow chart to SVG
analogic May 25, 2018
c1fd166
Minor reword
javiereguiluz May 25, 2018
78d84e7
minor #9817 Export workflow chart to SVG (analogic, javiereguiluz)
javiereguiluz May 26, 2018
61a69ac
Add URL-encoding notice
May 26, 2018
da51bc4
Fix a typo in the HTML5 date form property
Calinou May 26, 2018
63359a5
minor #9825 Fix a typo in the HTML5 date form property (Calinou)
javiereguiluz May 27, 2018
7f72a6f
Reword
javiereguiluz May 27, 2018
47895a4
ocramius/proxy-manager isn't needed anymore
OskarStark May 25, 2018
fd34933
minor #9816 ocramius/proxy-manager isn't needed anymore (OskarStark)
javiereguiluz May 27, 2018
ec76e34
Minor tweak
javiereguiluz May 27, 2018
15300a6
minor #9824 Add URL-encoding notice (nebkam, javiereguiluz)
javiereguiluz May 27, 2018
a05b002
Add 2 solutions for the 'option with optional argument' problem
Jean85 Apr 5, 2018
99f9e3f
Simplify the explanation leaving just one solution
Jean85 May 6, 2018
1aad365
Minor reword
javiereguiluz May 27, 2018
d3f254d
Minor simplifications
javiereguiluz May 27, 2018
dc9ffa0
minor #9560 Add 2 solutions for the 'option with optional argument' p…
javiereguiluz May 27, 2018
974ebd5
minor #9813 Update 3.3-di-changes.rst (DonCallisto, javiereguiluz)
javiereguiluz May 27, 2018
7be002b
Add 2 solutions for the 'option with optional argument' problem
Jean85 Apr 5, 2018
8405282
minor #9560 Add 2 solutions for the 'option with optional argument' p…
javiereguiluz May 27, 2018
428120a
Corrected titles of test tools and use safe url for phpspec
lex111 May 26, 2018
ac45677
minor #9826 Corrected titles of test tools and use safe url for phpsp…
javiereguiluz May 27, 2018
e2cf45c
Update typescript.rst
kallard1 May 27, 2018
dca1fa0
minor #9827 Update typescript.rst (kallard1)
javiereguiluz May 27, 2018
6be7971
Update the security reference because user providers are no longer ma…
javiereguiluz May 27, 2018
5d4e6c9
Update deployment.rst
raulconti May 27, 2018
3b0e00c
Add documentation about manipulating console output
pierredup Feb 21, 2018
944e534
minor #9304 Add documentation about manipulating console output (pier…
javiereguiluz May 27, 2018
925499b
Reorganized the contents of the new output sections
javiereguiluz May 27, 2018
3195870
Reword
javiereguiluz May 27, 2018
8934c07
minor #9829 Update deployment.rst (raulconti, javiereguiluz)
javiereguiluz May 27, 2018
ced5949
minor #9828 Update the security reference because user providers are …
javiereguiluz May 27, 2018
c98569d
minor #9507 Document the built in env var processors (mcfedr, javiere…
javiereguiluz May 27, 2018
2341bf9
Minor rewords and fixes
javiereguiluz May 27, 2018
fe8027c
Minor tweak
javiereguiluz May 27, 2018
f4acc0d
minor #9515 [Routing] i18n routing. (frankdejonge, javiereguiluz)
javiereguiluz May 27, 2018
00ec943
Removed an outdated section
javiereguiluz May 27, 2018
7c197d2
minor #9830 Reorganized the contents of the new output sections (javi…
javiereguiluz May 27, 2018
05fa5fe
minor #9832 Removed an outdated section (javiereguiluz)
javiereguiluz May 27, 2018
022bd2f
Merge branch '2.8' into 3.4
javiereguiluz May 27, 2018
b649271
Merge branch '3.4' into 4.0
javiereguiluz May 27, 2018
a0c278a
Merge branch '4.0' into 4.1
javiereguiluz May 27, 2018
dfe4ff0
Merge branch '4.1'
javiereguiluz May 27, 2018
de3b614
minor #9507 Document the built in env var processors (mcfedr, javiere…
javiereguiluz May 27, 2018
4998d0a
Revert "minor #9507 Document the built in env var processors (mcfedr,…
javiereguiluz May 27, 2018
8916422
Merge branch '3.4' into 4.0
javiereguiluz May 27, 2018
71ab3b0
Merge branch '4.0' into 4.1
javiereguiluz May 27, 2018
ff23048
Merge branch '4.1'
javiereguiluz May 27, 2018
0c53710
Minor tweak about enalbing the profiler in the tests
javiereguiluz May 28, 2018
b7a2009
Minor reword
javiereguiluz May 28, 2018
f252a3c
minor #9307 Clarification on search user (woofiewilly, javiereguiluz)
javiereguiluz May 28, 2018
fd75230
Added a missing validator example
javiereguiluz May 28, 2018
1376c28
minor #9836 Minor tweak about enalbing the profiler in the tests (jav…
javiereguiluz May 28, 2018
18cd815
Don't recommend base64 encoding of random_bytes result
javiereguiluz May 28, 2018
46baead
Added a small note about Webpack server and Symfony server
javiereguiluz May 28, 2018
4185aa8
Added notes in the components doc to point to the main Symfony articles
javiereguiluz May 28, 2018
4f119ad
minor #9837 Added a missing validator example (javiereguiluz)
javiereguiluz May 28, 2018
f7d96ea
Added a missing versionadded directive
javiereguiluz May 28, 2018
8e5a4ee
Better explain the use of multiple roles in access_control
javiereguiluz May 28, 2018
1c29700
Explain how to check if a route exists
javiereguiluz May 28, 2018
544df25
minor #9843 Added a missing versionadded directive (javiereguiluz)
javiereguiluz May 28, 2018
c9aa1d2
minor #9839 Added a small note about Webpack server and Symfony serve…
javiereguiluz May 28, 2018
b46bce1
minor #9838 Don't recommend base64 encoding of random_bytes result (j…
javiereguiluz May 29, 2018
72181cc
minor #9844 Better explain the use of multiple roles in access_contro…
javiereguiluz May 29, 2018
1905113
minor #9845 Explain how to check if a route exists (javiereguiluz)
javiereguiluz May 29, 2018
68664a5
Documented the logout_on_user_change option
javiereguiluz May 28, 2018
82542bc
minor #9842 Documented the logout_on_user_change option (javiereguiluz)
javiereguiluz May 29, 2018
81fcfb2
minor #9840 Added notes in the components doc to point to the main Sy…
javiereguiluz May 29, 2018
5a73a17
add missing option in yaml configuration
shinmen May 29, 2018
b14cf70
Fixed the params in ChoiceType methods
javiereguiluz May 28, 2018
4c52265
minor #9835 Fixed the params in ChoiceType methods (javiereguiluz)
javiereguiluz May 29, 2018
a0a2dce
Use '[]' notation, add missing "()" update class name
jmontoyaa May 29, 2018
b454cd0
minor #9850 Use '[]' notation, add missing "()" update class name (jm…
javiereguiluz May 29, 2018
a92b371
Remove unused var - custom auth provider example
May 29, 2018
c59700e
bug #9848 Remove unused var - custom auth provider example (Valantis …
weaverryan May 29, 2018
9c7a86c
minor #9852 add missing option in yaml configuration (shinmen)
javiereguiluz May 29, 2018
7c37687
Updated latest maintained version in documentation overview
May 29, 2018
f93f851
minor #9853 Updated latest maintained version in documentation overvi…
javiereguiluz May 30, 2018
c6a99df
minor #9698 [FrameworkBundle] framework.php_errors.log log level (sno…
javiereguiluz May 30, 2018
12de345
Made the testing form examples consistent
javiereguiluz May 30, 2018
35098ee
minor #9854 Made the testing form examples consistent (javiereguiluz)
javiereguiluz May 30, 2018
99d6e35
Update licence hint for JMS serializer
jdreesen May 30, 2018
8e78a15
minor #9856 Update licence hint for JMS serializer (jdreesen)
javiereguiluz May 31, 2018
e52b166
Minor fixes
javiereguiluz May 31, 2018
0d00129
Mention the new ConstraintViolationListNormalizer
javiereguiluz May 30, 2018
7a74476
minor #9855 Mention the new ConstraintViolationListNormalizer (javier…
javiereguiluz May 31, 2018
e45736e
[Routing] add documentation for prefixing i18n routes with a locale
kbond May 31, 2018
c70d200
Simplified
javiereguiluz May 31, 2018
8875c44
Merge branch '2.8' into 3.4
javiereguiluz May 31, 2018
62992db
Merge branch '3.4' into 4.0
javiereguiluz May 31, 2018
8440958
Merge branch '4.0' into 4.1
javiereguiluz May 31, 2018
3bd86ba
Merge branch '4.1'
javiereguiluz May 31, 2018
8c04898
Added docs for Symfony Polyfill components
javiereguiluz May 28, 2018
1775afb
minor #9846 Added docs for Symfony Polyfill components (javiereguiluz)
javiereguiluz May 31, 2018
aa0cd7d
Merge branch '2.8' into 3.4
javiereguiluz May 31, 2018
3c9bac5
Merge branch '3.4' into 4.0
javiereguiluz May 31, 2018
04e8fa2
Merge branch '4.0' into 4.1
javiereguiluz May 31, 2018
179c06f
Merge branch '4.1'
javiereguiluz May 31, 2018
df21fd8
Use the new Security helper in some code examples
javiereguiluz May 28, 2018
c208e53
minor #9847 Use the new Security helper in some code examples (javier…
javiereguiluz Jun 1, 2018
1c6029a
Update tags declaration in yaml format
ScullWM May 30, 2018
940ad6c
minor #9858 Update tags declaration in yaml format (ScullWM)
javiereguiluz Jun 1, 2018
9351b9b
minor #9862 [Routing] Add documentation for prefixing i18n routes wit…
javiereguiluz Jun 1, 2018
9649800
Expanded the explanation a bit
javiereguiluz Jun 1, 2018
eee653f
minor #9671 [Finder] Described "use natural sort" option (vyshkant, j…
javiereguiluz Jun 1, 2018
debea66
Fix the page title for the mbstring polyfill
stof Jun 1, 2018
2a4b0b4
Use version name in installer command
weaverryan Jun 1, 2018
c93a1b5
minor #9868 Fix the page title for the mbstring polyfill (stof)
javiereguiluz Jun 1, 2018
511658b
minor #9869 Use version number in installer command (weaverryan)
javiereguiluz Jun 1, 2018
854cb23
Add all serialized class properties
liviubalan Jun 1, 2018
89a8262
minor #9864 Add all serialized class properties (liviubalan)
javiereguiluz Jun 1, 2018
8915542
Merge branch '2.8' into 3.4
javiereguiluz Jun 1, 2018
113f19b
Merge branch '3.4' into 4.0
javiereguiluz Jun 1, 2018
c52274b
Merge branch '4.0' into 4.1
javiereguiluz Jun 1, 2018
12e7969
Merge branch '4.1'
javiereguiluz Jun 1, 2018
50bddbd
[#9507] remove csv processor, it was added in 4.1
xabbuh Jun 2, 2018
cfb9084
Merge branch '3.4' into 4.0
xabbuh Jun 2, 2018
b00d9d5
Merge branch '4.0' into 4.1
xabbuh Jun 2, 2018
ee9ba3a
Revert "[#9507] remove csv processor, it was added in 4.1"
xabbuh Jun 2, 2018
40c3c16
[#9507] add versionadded directive
xabbuh Jun 2, 2018
2fe1f7e
Fix typo in Memcached adapter documentation
Calinou Jun 3, 2018
af9726d
Fix the interface/abstract classes documentation
sroze Jun 3, 2018
0401973
minor #9873 [Serializer] Fix the interface/abstract classes documenta…
javiereguiluz Jun 4, 2018
72667d8
minor #9872 Fix typo in Memcached adapter documentation (Calinou)
javiereguiluz Jun 4, 2018
bc83185
fix(Caution): Validator folder for YAML or XML format
Guikingone Jun 1, 2018
2f29f7a
Reword
javiereguiluz Jun 1, 2018
f9bae24
minor #9870 fix(Caution): Validator folder for YAML or XML format (Gu…
javiereguiluz Jun 4, 2018
08c5702
Added the versionadded directive
javiereguiluz Jun 4, 2018
5f88a89
minor #9652 Add doc for framework.cache.pools.tags (nicolas-grekas, j…
javiereguiluz Jun 4, 2018
ae79eef
Reword the intro of a console article
javiereguiluz Jun 4, 2018
fa74f26
Add composer require symfony/webpack-encore-pack
katsenkatorz Jun 4, 2018
6bab68e
Update upgrade_major.rst
FlorentinGarnier Jun 4, 2018
22a061b
Simplify
javiereguiluz Jun 5, 2018
6fd61db
minor #9880 Add composer require symfony/webpack-encore-pack (katsenk…
javiereguiluz Jun 5, 2018
b4761a3
Add link to configuration documentation
dhaaker Jun 4, 2018
25ccb33
minor #9879 Add link to configuration documentation (dhaaker)
javiereguiluz Jun 5, 2018
54a3e1f
minor #9877 Reword the intro of a console article (javiereguiluz)
javiereguiluz Jun 5, 2018
823970b
Fix typo for variable name
ipf Jun 4, 2018
aa0c6f9
minor #9876 Fix typo for variable name (ipf)
javiereguiluz Jun 5, 2018
8e2ff4a
Change code file location
ismail1432 Jun 5, 2018
ccb0e43
Fixed typo
ddegasperi Jun 5, 2018
4b664d0
minor #9884 Fixed typo (ddegasperi)
javiereguiluz Jun 6, 2018
9960f0c
Fixed some wrong file paths
javiereguiluz Jun 6, 2018
2dc8eb2
minor #9883 Change code file location (ismail1432, javiereguiluz)
javiereguiluz Jun 6, 2018
e69930e
minor #9882 Update upgrade_major.rst (florentingarnier)
javiereguiluz Jun 6, 2018
04e1b02
Merge branch '2.8' into 3.4
javiereguiluz Jun 6, 2018
d6b2996
Merge branch '3.4' into 4.0
javiereguiluz Jun 6, 2018
62339e9
Merge branch '4.0' into 4.1
javiereguiluz Jun 6, 2018
62b3c9f
Merge branch '4.1'
javiereguiluz Jun 6, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 12 additions & 0 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Code of Conduct
===============

This project follows a [Code of Conduct][code_of_conduct] in order to ensure an
open and welcoming environment. Please read the full text for understanding the
accepted and unaccepted behavior.

Please read also the [reporting guidelines][guidelines], in case you encountered
or witnessed any misbehavior.

[code_of_conduct]: https://symfony.com/doc/current/contributing/code_of_conduct/code_of_conduct.html
[guidelines]: https://symfony.com/doc/current/contributing/code_of_conduct/reporting_guidelines.html
5 changes: 5 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Contributing
------------

We love contributors! For more information on how you can contribute to the
Symfony documentation, please read [Contributing to the Documentation](https://symfony.com/doc/current/contributing/documentation/overview.html).
9 changes: 9 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!--

If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/roadmap for the list of maintained branches).

If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `master` for features of unreleased versions).

-->
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/_build
/_exts
/_build/doctrees
/_build/html
*.pyc
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

61 changes: 61 additions & 0 deletions .platform.app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# This file describes an application. You can have multiple applications
# in the same project.

# The name of this app. Must be unique within a project.
name: symfonydocs

# The toolstack used to build the application.
type: "php"

build:
flavor: "composer"

# The configuration of app when it is exposed to the web.
web:
# The public directory of the app, relative to its root.
document_root: "/_build/html"
index_files:
- index.html
whitelist:
- \.html$
- \.txt$

# CSS and Javascript.
- \.css$
- \.js$
- \.hbs$

# image/* types.
- \.gif$
- \.png$
- \.ico$
- \.svgz?$

# fonts types.
- \.ttf$
- \.eot$
- \.woff$
- \.otf$

# robots.txt.
- /robots\.txt$

# The size of the persistent disk of the application (in MB).
disk: 512

# Build time dependencies.
dependencies:
python:
virtualenv: 15.1.0

# The hooks that will be performed when the package is deployed.
hooks:
build: |
virtualenv .virtualenv
. .virtualenv/bin/activate
# Platform.sh currently sets PIP_USER=1.
export PIP_USER=
pip install pip==9.0.1 wheel==0.29.0
pip install -r _build/.requirements.txt
find .virtualenv -type f -name "*.rst" -delete
make -C _build html
16 changes: 16 additions & 0 deletions .platform/routes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
http://www.{default}/:
to: http://{default}/
type: redirect
http://{default}/:
cache:
cookies:
- '*'
default_ttl: 0
enabled: true
headers:
- Accept
- Accept-Language
ssi:
enabled: false
type: upstream
upstream: symfonydocs:php
1 change: 1 addition & 0 deletions .platform/services.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Keeping this file empty to not deploy unused services.
11 changes: 5 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
language: python

python:
- "2.7"
python: 2.7

sudo: false
cache:
directories: [$HOME/.cache/pip]

install:
- "pip install -q -r requirements.txt --use-mirrors"
install: pip install -r _build/.requirements.txt

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

branches:
except:
- github-comments

7 changes: 0 additions & 7 deletions CONTRIBUTING.md

This file was deleted.

13 changes: 9 additions & 4 deletions README.markdown
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
Symfony Documentation
=====================

This documentation is rendered online at http://symfony.com/doc/current/
This documentation is rendered online at https://symfony.com/doc/current/

Contributing
------------

>**Note**
>Unless you're documenting a feature that was introduced *after* Symfony 2.3
>(e.g. in Symfony 2.4), all pull requests must be based off of the **2.3** branch,
>Unless you're documenting a feature that was introduced *after* Symfony 2.7
>(e.g. in Symfony 2.8), all pull requests must be based off of the **2.7** branch,
>**not** the master or older branches.

We love contributors! For more information on how you can contribute to the
Symfony documentation, please read
[Contributing to the Documentation](http://symfony.com/doc/current/contributing/documentation/overview.html)
[Contributing to the Documentation](https://symfony.com/doc/current/contributing/documentation/overview.html)

Platform.sh
-----------

Pull requests are automatically built by [Platform.sh](https://platform.sh).
13 changes: 13 additions & 0 deletions _build/.requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
alabaster==0.7.10
Babel==2.4.0
docutils==0.13.1
imagesize==0.7.1
Jinja2==2.9.6
MarkupSafe==1.0
Pygments==2.2.0
pytz==2017.2
requests==2.12.5
six==1.10.0
snowballstemmer==1.2.1
Sphinx==1.3.6
git+https://github.com/fabpot/sphinx-php.git@7312eccce9465640752e51373a480da700e02345#egg_name=sphinx-php
4 changes: 2 additions & 2 deletions Makefile → _build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
BUILDDIR = .

# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
ALLSPHINXOPTS = -c $(BUILDDIR) -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) ../
# the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .

Expand Down
Empty file.
167 changes: 167 additions & 0 deletions _build/_theme/_exts/symfonycom/sphinx/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
from sphinx.highlighting import lexers, PygmentsBridge
from pygments.style import Style
from pygments.formatters import HtmlFormatter
from pygments.token import Keyword, Name, Comment, String, Error, \
Number, Operator, Generic, Whitespace, Punctuation, Other, Literal

from sphinx.writers.html import HTMLTranslator
from docutils import nodes
from sphinx.locale import admonitionlabels, lazy_gettext

customadmonitionlabels = admonitionlabels
l_ = lazy_gettext
customadmonitionlabels['best-practice'] = l_('Best Practice')

def _getType(path):
return path[:path.find('/')]

def _isIndex(path):
return 'index' in path

class SensioHTMLTranslator(HTMLTranslator):
def __init__(self, builder, *args, **kwds):
HTMLTranslator.__init__(self, builder, *args, **kwds)
builder.templates.environment.filters['get_type'] = _getType
builder.templates.environment.tests['index'] = _isIndex
self.highlightlinenothreshold = 0

def visit_literal(self, node):
self.body.append(self.starttag(node, 'tt', '', CLASS='docutils literal'))
self.body.append('<code>')

def depart_literal(self, node):
self.body.append('</code>')
self.body.append('</tt>')

def visit_admonition(self, node, name=''):
self.body.append(self.starttag(node, 'div', CLASS=('admonition-wrapper')))
self.body.append('<div class="' + name + '"></div>')
self.body.append('<div class="admonition admonition-' + name + '">')
if name and name != 'seealso':
node.insert(0, nodes.title(name, customadmonitionlabels[name]))
self.set_first_last(node)

def depart_admonition(self, node=None):
self.body.append('</div></div>\n')

def visit_sidebar(self, node):
self.body.append(self.starttag(node, 'div', CLASS=('admonition-wrapper')))
self.body.append('<div class="sidebar"></div>')
self.body.append('<div class="admonition admonition-sidebar">')
self.set_first_last(node)
self.in_sidebar = 1

def depart_sidebar(self, node):
self.body.append('</div></div>\n')
self.in_sidebar = None

# overriden to add a new highlight div around each block
def visit_literal_block(self, node):
if node.rawsource != node.astext():
# most probably a parsed-literal block -- don't highlight
return BaseTranslator.visit_literal_block(self, node)
lang = self.highlightlang
linenos = node.rawsource.count('\n') >= \
self.highlightlinenothreshold - 1
highlight_args = node.get('highlight_args', {})
if node.has_key('language'):
# code-block directives
lang = node['language']
highlight_args['force'] = True
if node.has_key('linenos'):
linenos = node['linenos']
def warner(msg):
self.builder.warn(msg, (self.builder.current_docname, node.line))
highlighted = self.highlighter.highlight_block(
node.rawsource, lang, warn=warner, linenos=linenos,
**highlight_args)
starttag = self.starttag(node, 'div', suffix='',
CLASS='highlight-%s' % lang)
self.body.append('<div class="literal-block">' + starttag + highlighted + '</div></div>\n')
raise nodes.SkipNode

class SensioStyle(Style):
background_color = "#000000"
default_style = ""

styles = {
# No corresponding class for the following:
#Text: "", # class: ''
Whitespace: "underline #f8f8f8", # class: 'w'
Error: "#a40000 border:#ef2929", # class: 'err'
Other: "#ffffff", # class 'x'

Comment: "italic #B729D9", # class: 'c'
Comment.Single: "italic #B729D9", # class: 'c1'
Comment.Multiline: "italic #B729D9", # class: 'cm'
Comment.Preproc: "noitalic #aaa", # class: 'cp'

Keyword: "#FF8400", # class: 'k'
Keyword.Constant: "#FF8400", # class: 'kc'
Keyword.Declaration: "#FF8400", # class: 'kd'
Keyword.Namespace: "#FF8400", # class: 'kn'
Keyword.Pseudo: "#FF8400", # class: 'kp'
Keyword.Reserved: "#FF8400", # class: 'kr'
Keyword.Type: "#FF8400", # class: 'kt'

Operator: "#E0882F", # class: 'o'
Operator.Word: "#E0882F", # class: 'ow' - like keywords

Punctuation: "#999999", # class: 'p'

# because special names such as Name.Class, Name.Function, etc.
# are not recognized as such later in the parsing, we choose them
# to look the same as ordinary variables.
Name: "#ffffff", # class: 'n'
Name.Attribute: "#ffffff", # class: 'na' - to be revised
Name.Builtin: "#ffffff", # class: 'nb'
Name.Builtin.Pseudo: "#3465a4", # class: 'bp'
Name.Class: "#ffffff", # class: 'nc' - to be revised
Name.Constant: "#ffffff", # class: 'no' - to be revised
Name.Decorator: "#888", # class: 'nd' - to be revised
Name.Entity: "#ce5c00", # class: 'ni'
Name.Exception: "#cc0000", # class: 'ne'
Name.Function: "#ffffff", # class: 'nf'
Name.Property: "#ffffff", # class: 'py'
Name.Label: "#f57900", # class: 'nl'
Name.Namespace: "#ffffff", # class: 'nn' - to be revised
Name.Other: "#ffffff", # class: 'nx'
Name.Tag: "#cccccc", # class: 'nt' - like a keyword
Name.Variable: "#ffffff", # class: 'nv' - to be revised
Name.Variable.Class: "#ffffff", # class: 'vc' - to be revised
Name.Variable.Global: "#ffffff", # class: 'vg' - to be revised
Name.Variable.Instance: "#ffffff", # class: 'vi' - to be revised

Number: "#1299DA", # class: 'm'

Literal: "#ffffff", # class: 'l'
Literal.Date: "#ffffff", # class: 'ld'

String: "#56DB3A", # class: 's'
String.Backtick: "#56DB3A", # class: 'sb'
String.Char: "#56DB3A", # class: 'sc'
String.Doc: "italic #B729D9", # class: 'sd' - like a comment
String.Double: "#56DB3A", # class: 's2'
String.Escape: "#56DB3A", # class: 'se'
String.Heredoc: "#56DB3A", # class: 'sh'
String.Interpol: "#56DB3A", # class: 'si'
String.Other: "#56DB3A", # class: 'sx'
String.Regex: "#56DB3A", # class: 'sr'
String.Single: "#56DB3A", # class: 's1'
String.Symbol: "#56DB3A", # class: 'ss'

Generic: "#ffffff", # class: 'g'
Generic.Deleted: "#a40000", # class: 'gd'
Generic.Emph: "italic #ffffff", # class: 'ge'
Generic.Error: "#ef2929", # class: 'gr'
Generic.Heading: "#000080", # class: 'gh'
Generic.Inserted: "#00A000", # class: 'gi'
Generic.Output: "#888", # class: 'go'
Generic.Prompt: "#745334", # class: 'gp'
Generic.Strong: "bold #ffffff", # class: 'gs'
Generic.Subheading: "bold #800080", # class: 'gu'
Generic.Traceback: "bold #a40000", # class: 'gt'
}

def setup(app):
app.set_translator('html', SensioHTMLTranslator)
23 changes: 23 additions & 0 deletions _build/_theme/_exts/symfonycom/sphinx/lexer.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
from pygments.lexer import RegexLexer, bygroups, using
from pygments.token import *
from pygments.lexers.shell import BashLexer, BatchLexer

class TerminalLexer(RegexLexer):
name = 'Terminal'
aliases = ['terminal']
filenames = []

tokens = {
'root': [
('^\$', Generic.Prompt, 'bash-prompt'),
('^[^\n>]+>', Generic.Prompt, 'dos-prompt'),
('^#.+$', Comment.Single),
('^.+$', Generic.Output),
],
'bash-prompt': [
('(.+)$', bygroups(using(BashLexer)), '#pop')
],
'dos-prompt': [
('(.+)$', bygroups(using(BatchLexer)), '#pop')
],
}
Loading