mirror of
https://github.com/torproject/lego.git
synced 2024-11-23 09:39:44 +00:00
Rename plugin
This commit is contained in:
parent
99136c549f
commit
6d3efb7096
@ -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):
|
16
packages/txt-to-html/setup.py
Normal file
16
packages/txt-to-html/setup.py
Normal 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',
|
||||
]
|
||||
}
|
||||
)
|
@ -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',
|
||||
]
|
||||
}
|
||||
)
|
Loading…
Reference in New Issue
Block a user