diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-09-20 12:36:42 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-09-20 12:37:11 -0400 |
commit | f28adcc7058dd6c3ed49ec2b66e4c1324f9b10f7 (patch) | |
tree | 0a6c4f51df6a95f1ce5b9c7789852788f564b9df /askbot/doc/source/customizing-skin-in-askbot.rst | |
parent | 0a4b87e237fad26b6d135aca9173bc4d8af57e7f (diff) | |
download | askbot-f28adcc7058dd6c3ed49ec2b66e4c1324f9b10f7.tar.gz askbot-f28adcc7058dd6c3ed49ec2b66e4c1324f9b10f7.tar.bz2 askbot-f28adcc7058dd6c3ed49ec2b66e4c1324f9b10f7.zip |
combined all dev branches for kp
Diffstat (limited to 'askbot/doc/source/customizing-skin-in-askbot.rst')
-rw-r--r-- | askbot/doc/source/customizing-skin-in-askbot.rst | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/askbot/doc/source/customizing-skin-in-askbot.rst b/askbot/doc/source/customizing-skin-in-askbot.rst index 09ea0dbb..e384a314 100644 --- a/askbot/doc/source/customizing-skin-in-askbot.rst +++ b/askbot/doc/source/customizing-skin-in-askbot.rst @@ -15,8 +15,7 @@ of better performance and flexibility of coding. What are skins made of ====================== -Skin is a directory either within ``askbot/skins`` -or in a directory, pointed to by ``ASKBOT_EXTRA_SKINS_DIR`` +Skin is a directory, pointed to by ``ASKBOT_EXTRA_SKINS_DIR`` parameter of your ``settings.py`` file. Skin name is the same as the name of its directory, @@ -37,7 +36,7 @@ A skin consists of HTML templates, css and javascript and all of these resources are looked up first within currently active skin, then in "default". -Names "default" and "common" are reserved and should not be used to +Name "default" is reserved and should not be used to name custom skins. Current state of skin system @@ -108,7 +107,7 @@ In addition, it will help if your copy of askbot code is installed in the django project directory (use ``python setup.py develop`` method to install askbot in the first place). -Then edit anything in directory ``askbot/skins/default`` +Then edit anything in directories ``askbot/templates`` and ``askbot/media`` and commit to your own repository. If the askbot app is installed in the `site-packages` or `dist-packages` @@ -156,7 +155,7 @@ Git makes this task quite simple and manageable. Skin templates ============== -The first template to look at is `askbot/skins/default/templates/base.html`, it is quite simple and you can substantially change the appearance by modifying that template in the combination with adding some custom css. +The first template to look at is `askbot/templates/base.html`, it is quite simple and you can substantially change the appearance by modifying that template in the combination with adding some custom css. More detailed description of templates will follow. |