diff options
Diffstat (limited to 'doc/THEME-ASSETS-UPGRADE.md')
-rw-r--r-- | doc/THEME-ASSETS-UPGRADE.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/THEME-ASSETS-UPGRADE.md b/doc/THEME-ASSETS-UPGRADE.md index 66a1e95f4..12c1a60d1 100644 --- a/doc/THEME-ASSETS-UPGRADE.md +++ b/doc/THEME-ASSETS-UPGRADE.md @@ -33,6 +33,8 @@ tag to use `image_tag` instead. For example, instead of: image_tag('helpmeinvestigate.png', :alt => "", :class => "rss") +If you have a favicon.ico file in your theme's `public` directory, you should move it to `assets/images` as well. + You should similarly move your stylesheets into `assets/stylesheets`. If a stylesheet refers to images, you should rename the `.css` file to `.css.scss`, and change `url` @@ -67,3 +69,8 @@ should be mentioned in `lib/alavetelitheme.rb` with: You should be left with nothing in the `public` directory after making these changes, except possibly custom error pages. + +Remove the code that symlinks the theme 'public' directory to a +subdirectory of the main application's 'public' directory from +install.rb. Also remove the code from uninstall.rb that removes that +symlink. The asset pipeline will handle making assets available. |