Skip to content

Commit 2548916

Browse files
committed
Updated docs
1 parent b236fb3 commit 2548916

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

assets/scss/frontend.scss

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@import 'bootstrap';

docs/reference/advanced_configuration.rst

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ Full configuration options:
4242
stylesheets:
4343
# Defaults:
4444
- bundles/sonatapage/app.css
45+
- bundles/sonatapage/frontend.css
4546
javascripts:
4647
templates: # Required
4748
# Prototype

docs/reference/installation.rst

-8
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,6 @@ SonataPageBundle Configuration
121121
not_found: [404] # render 404 page with "not_found" key (name generated: _page_internal_error_{key})
122122
fatal: [500] # so you can use the same page for different http errors or specify specific page for each error
123123
124-
# Add custom css and js
125-
# assets:
126-
# javascripts:
127-
# - assets/js/your.js
128-
# stylesheets:
129-
# - bundles/sonatapage/app.css
130-
# - bundles/sonatapage/frontend.css
131-
132124
SonataAdminBundle Configuration
133125
-------------------------------
134126

tests/DependencyInjection/ConfigurationTest.php

+2
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ public function testPageWithMatrix(): void
124124
'assets' => [
125125
'stylesheets' => [
126126
'bundles/sonatapage/app.css',
127+
'bundles/sonatapage/frontend.css',
127128
],
128129
'javascripts' => [],
129130
],
@@ -193,6 +194,7 @@ public function testPageWithoutMatrix(): void
193194
'assets' => [
194195
'stylesheets' => [
195196
'bundles/sonatapage/app.css',
197+
'bundles/sonatapage/frontend.css',
196198
],
197199
'javascripts' => [],
198200
],

0 commit comments

Comments
 (0)