Skip to content

Commit

Permalink
Added doc and upgrade notes
Browse files Browse the repository at this point in the history
  • Loading branch information
eerison committed Sep 2, 2022
1 parent e63ff3f commit 1565d11
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions UPGRADE-4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@ The following code has been removed since it is not used:
Please check the src/Resources/public and the documentation to see the used CSS and JavaScript.

If you are customising (specially removing standard JavaScript or CSS) assets, this will affect you.

## Layout

- If you were using sonata's css in your website, add [assets](https://docs.sonata-project.org/projects/SonataPageBundle/en/4.x/reference/installation/#sonatapagebundle-configuration) configuration in your sonata_page.yaml
6 changes: 6 additions & 0 deletions docs/reference/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,12 @@ SonataPageBundle Configuration
not_found: [404] # render 404 page with "not_found" key (name generated: _page_internal_error_{key})
fatal: [500] # so you can use the same page for different http errors or specify specific page for each error
# This configuration is optional,
# If you don't want to load the sonata page's layout for your website just remove it, and load your css.
assets:
stylesheets:
- bundles/sonatapage/frontend.css
SonataAdminBundle Configuration
-------------------------------

Expand Down

0 comments on commit 1565d11

Please sign in to comment.