group before parent node + emit init-once

This commit is contained in:
relikd
2022-03-27 10:11:29 +02:00
parent da15fe1304
commit dfdf55a5a5
2 changed files with 23 additions and 20 deletions

View File

@@ -1,7 +1,11 @@
from setuptools import setup
import re
with open('README.md') as fp:
longdesc = fp.read()
# replace fragment links with bold text
frag_links = re.compile(r'\[([^]]+)\]\(#[^)]*\)')
longdesc = frag_links.sub(lambda x: '__{}__'.format(x.group(1)), longdesc)
setup(
name='lektor-groupby',
@@ -13,7 +17,7 @@ setup(
},
author='relikd',
url='https://github.com/relikd/lektor-groupby-plugin',
version='0.8',
version='0.9',
description='Cluster arbitrary records with field attribute keyword.',
long_description=longdesc,
long_description_content_type="text/markdown",