Rename plugin

This commit is contained in:
hiro 2019-09-05 15:51:01 +02:00
parent 99136c549f
commit 6d3efb7096
6 changed files with 18 additions and 18 deletions

View File

@ -9,9 +9,9 @@ from lektor.pluginsystem import Plugin
from urllib import request
class TxtToMarkdownPlugin(Plugin):
class TxtToHtmlPlugin(Plugin):
name = u'TXT to Markdown'
description = u'Lektor plugin to add a remote TXT doc into Markdown.'
description = u'Lektor plugin to add a remote TXT doc into HTML.'
def on_setup_env(self, **extra):

View File

@ -0,0 +1,16 @@
from setuptools import setup
setup(
name='lektor-txt-to-html',
version='0.1',
author=u'Hiro',
author_email='hiro@torproject.org',
url='https://github.com/torproject/lego/packages/txt-to-html',
license='GPL',
py_modules=['lektor_txt_to_html'],
entry_points={
'lektor.plugins': [
'xml-to-html = lektor_txt_to_html:TxtToHtmlPlugin',
]
}
)

View File

@ -1,16 +0,0 @@
from setuptools import setup
setup(
name='lektor-txt-to-markdown',
version='0.1',
author=u'Hiro',
author_email='hiro@torproject.org',
url='https://github.com/torproject/lego/packages/txt-to-markdown',
license='GPL',
py_modules=['lektor_txt_to_markdown'],
entry_points={
'lektor.plugins': [
'xml-to-html = lektor_txt_to_markdown:TxtToMarkdownPlugin',
]
}
)