forked from docs/doc-exports
add base conversion script (#2)
add base conversion script Reviewed-by: OpenTelekomCloud Bot <None>
This commit is contained in:
parent
7d59658ed4
commit
37b5bf3e95
1
bindep.txt
Normal file
1
bindep.txt
Normal file
@ -0,0 +1 @@
|
||||
pandoc
|
0
otc_doc_convertor/__init__.py
Normal file
0
otc_doc_convertor/__init__.py
Normal file
426
otc_doc_convertor/convertor.py
Normal file
426
otc_doc_convertor/convertor.py
Normal file
File diff suppressed because it is too large
Load Diff
409
otc_doc_convertor/process.py
Normal file
409
otc_doc_convertor/process.py
Normal file
File diff suppressed because it is too large
Load Diff
2
requirements.txt
Normal file
2
requirements.txt
Normal file
@ -0,0 +1,2 @@
|
||||
bs4
|
||||
lxml
|
27
setup.cfg
Normal file
27
setup.cfg
Normal file
@ -0,0 +1,27 @@
|
||||
[metadata]
|
||||
name = otc-doc-convertor
|
||||
author = Open Telekom Cloud - Ecosystem Squad
|
||||
author_email = dl-pbcotcdeleco@t-systems.com
|
||||
description = Python program to convert docs exported in HTML into RST
|
||||
description_file =
|
||||
README.md
|
||||
home_page = https://github.com/opentelekomcloud-docs/doc-exports
|
||||
classifier =
|
||||
License :: OSI Approved :: Apache Software License
|
||||
Operating System :: POSIX :: Linux
|
||||
Operating System :: Unix
|
||||
Operating System :: MacOS
|
||||
Programming Language :: Python
|
||||
Programming Language :: Python :: 2
|
||||
Programming Language :: Python :: 2.7
|
||||
Programming Language :: Python :: 3
|
||||
Programming Language :: Python :: 3.6
|
||||
Programming Language :: Python :: 3.7
|
||||
keywords = Sphinx, search, python
|
||||
|
||||
[options]
|
||||
packages = otc_doc_convertor
|
||||
|
||||
[options.entry_points]
|
||||
console_scripts =
|
||||
otc-convert-doc = otc_doc_convertor.convertor:main
|
21
setup.py
Normal file
21
setup.py
Normal file
@ -0,0 +1,21 @@
|
||||
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
# implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
|
||||
import setuptools
|
||||
|
||||
setuptools.setup(
|
||||
setup_requires=['pbr>=2.0.0'],
|
||||
pbr=True)
|
1
test-requirements.txt
Normal file
1
test-requirements.txt
Normal file
@ -0,0 +1 @@
|
||||
flake8
|
Loading…
x
Reference in New Issue
Block a user