Changeset 3048 in products


Ignore:
Timestamp:
Nov 22, 2010 5:58:49 PM (9 years ago)
Author:
mylan
Message:

#238: Removde --no-interactive option (which needed only for tests) from README

Location:
quintagroup.themetemplate/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.themetemplate/trunk/quintagroup/themetemplate/README.txt

    r2573 r3048  
    4343Use `paster create` command for that:: 
    4444 
    45     >>> paster('create -t qplone3_theme quintagroup.theme.example --no-interactive --overwrite') 
    46     paster create -t qplone3_theme quintagroup.theme.example --no-interactive 
     45    >>> paster('create -t qplone3_theme quintagroup.theme.example --overwrite') 
     46    paster create -t qplone3_theme quintagroup.theme.example ... 
    4747    ... 
    4848 
     
    131131Create the same theme with your own skin name and check this:: 
    132132 
    133     >>> paster('create -t qplone3_theme quintagroup.theme.example --no-interactive --overwrite --config=theme_config.conf') 
     133    >>> paster('create -t qplone3_theme quintagroup.theme.example --overwrite --config=theme_config.conf') 
    134134    paster create ... 
    135135    >>> cd(package_dir) 
     
    187187    ... 
    188188    <object name="portal_skins" ... 
    189             default_skin="My Theme Name"> 
     189            default_skin="My Theme Name" request_varname="plone_skin"> 
    190190    ... 
    191191    <skin-path name="My Theme Name" based-on="Plone Default"> 
     
    267267For that case use *skin_layer* subtemplate with *addcontent* local command:: 
    268268 
    269     >>> paster('addcontent --no-interactive skin_layer') 
    270     paster addcontent --no-interactive skin_layer 
     269    >>> paster('addcontent skin_layer') 
     270    paster addcontent skin_layer ... 
    271271    Recursing into profiles 
    272272    ... 
     
    286286    ... 
    287287    <object name="portal_skins" allow_any="False" cookie_persistence="False" 
    288        default_skin="My Theme Name"> 
     288       default_skin="My Theme Name" request_varname="plone_skin"> 
    289289    ... 
    290290     <object name="skin_layer" 
     
    317317Add portlet with *portlet* subtemplate:: 
    318318 
    319     >>> paster('addcontent --no-interactive portlet') 
    320     paster addcontent --no-interactive portlet 
     319    >>> paster('addcontent portlet') 
     320    paster addcontent portlet ... 
    321321    ... 
    322322    Recursing into portlets 
     
    377377Use *css_resource* subtemplate:: 
    378378 
    379     >>> paster("addcontent --no-interactive css_resource") 
    380     paster addcontent --no-interactive css_resource 
     379    >>> paster("addcontent css_resource") 
     380    paster addcontent css_resource ... 
    381381    Recursing into browser 
    382382    ... 
     
    449449Use *css_dtml_skin* subtemplate:: 
    450450 
    451     >>> paster("addcontent --no-interactive css_dtml_skin") 
    452     paster addcontent --no-interactive css_dtml_skin 
     451    >>> paster("addcontent css_dtml_skin") 
     452    paster addcontent css_dtml_skin ... 
    453453    Recursing into profiles 
    454454    ... 
     
    494494Use *js_resource* subtemplate:: 
    495495 
    496     >>> paster('addcontent --no-interactive js_resource') 
    497     paster addcontent --no-interactive js_resource 
     496    >>> paster('addcontent js_resource') 
     497    paster addcontent js_resource ... 
    498498    Recursing into browser 
    499499    ... 
     
    565565Use *viewlet_order* subtemplate:: 
    566566 
    567     >>> paster('addcontent --no-interactive viewlet_order') 
    568     paster addcontent --no-interactive viewlet_order 
     567    >>> paster('addcontent viewlet_order') 
     568    paster addcontent viewlet_order ... 
    569569    Recursing into browser 
    570570    ... 
     
    638638For that case you can use *viewlet_hidden* subtemplate:: 
    639639 
    640     >>> paster('addcontent --no-interactive viewlet_hidden') 
    641     paster addcontent --no-interactive viewlet_hidden 
     640    >>> paster('addcontent viewlet_hidden') 
     641    paster addcontent viewlet_hidden ... 
    642642    Recursing into profiles 
    643643    ... 
     
    678678into portal root on theme instllation:: 
    679679 
    680     >>> paster('addcontent --no-interactive import_zexps') 
    681     paster addcontent --no-interactive import_zexps 
     680    >>> paster('addcontent import_zexps') 
     681    paster addcontent import_zexps ... 
    682682    ... 
    683683    Recursing into import 
  • quintagroup.themetemplate/trunk/quintagroup/themetemplate/tests/test_qthemedoc.py

    r1005 r3048  
    66 
    77from zopeskel.tests.test_zopeskeldocs import * 
     8 
     9# Create patch to hide --no-interactive paster option 
     10# to prevent confusing of a user. 
     11orig_paster = paster 
     12def paster(cmd): 
     13    return orig_paster(cmd + " --no-interactive") 
    814 
    915current_dir = os.path.abspath(os.path.dirname(__file__)) 
  • quintagroup.themetemplate/trunk/setup.py

    r2571 r3048  
    22import os 
    33 
    4 version = '0.25' 
     4version = '0.26' 
    55 
    66tests_require=['zope.testing'] 
Note: See TracChangeset for help on using the changeset viewer.