[tor-commits] [lego/develop] Rename plugin
hiro at torproject.org
hiro at torproject.org
Tue Apr 7 16:13:23 UTC 2020
commit 6d3efb7096fa60561df56f873601a655ecabf1b7
Author: hiro <hiro at torproject.org>
Date: Thu Sep 5 15:51:01 2019 +0200
Rename plugin
---
packages/{txt-to-markdown => txt-to-html}/LICENSE | 0
packages/{txt-to-markdown => txt-to-html}/README | 0
packages/{txt-to-markdown => txt-to-html}/README.md | 0
.../lektor_txt_to_html.py} | 4 ++--
packages/txt-to-html/setup.py | 16 ++++++++++++++++
packages/txt-to-markdown/setup.py | 16 ----------------
6 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/packages/txt-to-markdown/LICENSE b/packages/txt-to-html/LICENSE
similarity index 100%
rename from packages/txt-to-markdown/LICENSE
rename to packages/txt-to-html/LICENSE
diff --git a/packages/txt-to-markdown/README b/packages/txt-to-html/README
similarity index 100%
rename from packages/txt-to-markdown/README
rename to packages/txt-to-html/README
diff --git a/packages/txt-to-markdown/README.md b/packages/txt-to-html/README.md
similarity index 100%
rename from packages/txt-to-markdown/README.md
rename to packages/txt-to-html/README.md
diff --git a/packages/txt-to-markdown/lektor_txt_to_markdown.py b/packages/txt-to-html/lektor_txt_to_html.py
similarity index 81%
rename from packages/txt-to-markdown/lektor_txt_to_markdown.py
rename to packages/txt-to-html/lektor_txt_to_html.py
index ae3bc05..4c5ae3d 100644
--- a/packages/txt-to-markdown/lektor_txt_to_markdown.py
+++ b/packages/txt-to-html/lektor_txt_to_html.py
@@ -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):
diff --git a/packages/txt-to-html/setup.py b/packages/txt-to-html/setup.py
new file mode 100644
index 0000000..82416d2
--- /dev/null
+++ b/packages/txt-to-html/setup.py
@@ -0,0 +1,16 @@
+from setuptools import setup
+
+setup(
+ name='lektor-txt-to-html',
+ version='0.1',
+ author=u'Hiro',
+ author_email='hiro at 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',
+ ]
+ }
+)
diff --git a/packages/txt-to-markdown/setup.py b/packages/txt-to-markdown/setup.py
deleted file mode 100644
index 7633c38..0000000
--- a/packages/txt-to-markdown/setup.py
+++ /dev/null
@@ -1,16 +0,0 @@
-from setuptools import setup
-
-setup(
- name='lektor-txt-to-markdown',
- version='0.1',
- author=u'Hiro',
- author_email='hiro at 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',
- ]
- }
-)
More information about the tor-commits
mailing list