Home | Index

r3 User Guide

Generating Files

  1. Before editing, check that the target exists for all sites by generating all your sites:

    $ r3 generate -av
    generating cars/ca
        cars/ca/index.html
    generating cars/fr
        cars/fr/index.html
    generating cars/generic_intl
        cars/generic_intl/index.html
    generating cars/jp
        cars/jp/index.html
    generating cars/us
        cars/us/index.html
    generating cookery/ca
        cookery/ca/index.html
    generating cookery/fr
        cookery/fr/index.html
    generating cookery/generic_intl
        cookery/generic_intl/index.html
    generating cookery/jp
        cookery/jp/index.html
    generating cookery/us
        cookery/us/index.html
    generating generic_product/ca
        generic_product/ca/index.html
    generating generic_product/fr
        generic_product/fr/index.html
    generating generic_product/generic_intl
        generic_product/generic_intl/index.html
    generating generic_product/jp
        generic_product/jp/index.html
    generating generic_product/us
        generic_product/us/index.html
    generating wine/ca
        wine/ca/index.html
    generating wine/fr
        wine/fr/index.html
    generating wine/generic_intl
        wine/generic_intl/index.html
    generating wine/jp
        wine/jp/index.html
    generating wine/us
        wine/us/index.html

    There is nothing special about generic_product and generic_intl beyond their root positions in the inheritance trees. They are generated along with everything else.

  2. Examine any of the generated files. You'll see that they are all identical, and contain only a simple comment:

    $ cat $R3HOME/htdocs/cookery/us/index.html
    <!-- autogenerated default template: index.html.ros -->