Metadata-Version: 1.1
Name: pelican-link-bugs
Version: 0.1
Summary: Automatically link bug tracker references.
Home-page: https://github.com/pmclanahan/pelican-list-bugs
Author: Paul McLanahan
Author-email: paul@mclanahan.net
License: MIT
Description: pelican-list-bugs
        =================
        
        Automatically link bug/issue references in content to a tracker.
        
        By default it will link pull-requests and issues for github
        in the following formats::
        
            * I should reiview PR mozilla/bedrock#1.
            * Don't forget to watch issue twbs/bootstrap#2.
        
        It will also link to Mozilla's bugzilla instance::
        
            Need a laugh? Read bug 765645.
        
        You can easily replace these or add to them with a setting:
        
        .. code:: python
        
            BUG_TRACKERS = {
                # key is the regex
                r'issue +(?P<bug_repo>[a-z1-9-_/]+)#(?P<bug_id>\d+)':
                # value is URL template with keywoard substitutions
                'https://github.com/{bug_repo}/issue/{bug_id}',
            }
        
        You can also import ``BUG_TRACKERS`` from ``pelican_bugs`` and modify it.
        If you need to alter how the links look, you can set ``BUG_LINK_TEMPLATE``.
        The link template can use ``bug_url`` and ``bug_text`` keywords:
        
        .. code:: python
        
            # default template
            BUG_LINK_TEMPLATE = '<a href="{bug_url}">{bug_text}</a>'
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing
