Permalink
Commits on Sep 21, 2012
  1. Update copyright notice

    obensonne committed Sep 21, 2012
  2. Merge pull request #8 from Grahack/typos2

    obensonne committed Sep 21, 2012
    Typo: oder -> or.
Commits on Sep 18, 2012
  1. Typo: oder -> or.

    Grahack committed Sep 18, 2012
Commits on Sep 15, 2012
  1. Merge pull request #7 from Grahack/typos

    obensonne committed Sep 15, 2012
    One letter typos in poole.py and README.md.
  2. Merge pull request #5 from Grahack/year_201010

    obensonne committed Sep 15, 2012
    Typo 201010 -> 2010.
  3. Merge pull request #2 from Grahack/ignore_hg

    obensonne committed Sep 15, 2012
    Merged
Commits on Sep 12, 2012
  1. oiptions -> options

    Grahack committed Sep 12, 2012
Commits on Sep 8, 2012
  1. git users want to ignore .hg.

    Grahack committed Aug 29, 2012
  2. Typo 201010 -> 2010.

    Grahack committed Aug 29, 2012
Commits on Jun 3, 2012
Commits on Jun 1, 2012
  1. Allow creation of virtual pages

    obensonne committed Jun 1, 2012
    Now pre-convert-hooks may create virtual pages which have no markdown
    source file but will end up as HTML files. Hooks in the macros module
    may create them like:
    
        vp = Page('foo.md', virtual="""... page source content ...""")
        pages.append(vp)
    
    If the file name contains path elements which are not shared with real
    pages, make sure you also create them in the output folder -- Poole only
    creates output folders corresponding to real pages!
Commits on May 31, 2012
  1. Minor wording fix in README

    obensonne committed May 31, 2012
  2. Move recipes from README into wiki

    obensonne committed May 31, 2012
    This keeps the README compact and makes it easier for others to
    contribute more recipes for how to get things done with Poole.
Commits on Apr 19, 2012
  1. Python 2/3 hack for the exec statement/function

    obensonne committed Apr 19, 2012
    See http://docs.python.org/release/3.0.1/whatsnew/3.0.html for changes
    with regard to `exec`. The problem here is that we cannot use the
    function syntax in Poole already for Python 2.x since we need a
    qualified exec, and thus we need the `in` syntax which causes a syntax
    error in Py3.
    
    This workaround uses `execfile` in Py2 (which, as a function, does not
    cause syntax errors in Py3) and the `exec` function from the builtins in
    Py3.
    
    References issue 8.
  2. Fix type in test data

    obensonne committed Apr 19, 2012
Commits on Mar 2, 2012
Commits on Feb 29, 2012
  1. Minor import cleanup

    obensonne committed Feb 29, 2012
  2. Sync gitignore with hgignore

    obensonne committed Feb 29, 2012
  3. Add a simple test suite

    obensonne committed Feb 29, 2012
    The test suite simple initializes and builds the Poole template project
    and checks if the generated files are as expected.
  4. Reorder sections in README

    obensonne committed Feb 29, 2012
  5. Support custom converters in the macros module

    obensonne committed Feb 29, 2012
    It is now possible to define custom converters in the macros module
    (e.g. for SCSS or LESS files). Converters must be defined using a
    dictionary named 'converter' with file name patterns as keys and a
    converter funcion as well as a target file name extension as values.
    Example:
    
        converter = {
            r'\.less': (less_to_css, 'css'),
            ...
        }
    
    The converter function `less_to_css` must accept the source file name
    and the desitnation file name as arguments. The destination file name is
    a suggestion, it is the source filename mapped to the project's output
    directory with the extension given in the converter dictionary. Example:
    
        def less_to_css(src, dst):
            # when `src` is '/path/to/project/input/foo.less' then `dst` is
            # '/path/to/project/output/foo.css'
            ...
Commits on Feb 20, 2012
  1. More compact code (minor)

    obensonne committed Feb 20, 2012
    Anyone sees a problem on readability here?
  2. Add 'htmlspecialchars' as a "builtin" macro

    matthijskooijman committed Feb 20, 2012
    This allows templates and other code to perform html escaping of strings
    where needed. This implements the escaping from scratch, since there is
    no useful function for it built into python (there are some modules, but
    they either require newer python version or don't escape ").
    
    The name 'htmlspecialchars' was borrowed from PHP, since this function
    implements the same behaviour.
  3. Restructure macros.py handling

    matthijskooijman committed Feb 20, 2012
    This makes the code a bit simpler and allows poole to preset functions
    in the macros module (unlike the previous "class nomod" approach, which
    caused a function to be treated as an unbound method).
Commits on Oct 30, 2011
  1. Minor docs issue, fixed typo.

    paolodina committed Oct 30, 2011
  2. Improved the script's shebang

    paolodina committed Oct 30, 2011
Commits on Jul 18, 2011
  1. Use markdown for flattr link

    obensonne committed Jul 18, 2011
Commits on Jun 28, 2011
  1. Add git ignore file

    obensonne committed Jun 28, 2011
  2. Add .md extension to README to please github

    obensonne committed Jun 28, 2011
    --HG--
    rename : README => README.md
Commits on Mar 6, 2011