add base conversion script (#2)

add base conversion script

Reviewed-by: OpenTelekomCloud Bot <None>
This commit is contained in:
Artem Goncharov 2022-04-27 18:05:48 +02:00 committed by GitHub
parent 7d59658ed4
commit 37b5bf3e95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 887 additions and 0 deletions

1
bindep.txt Normal file
View File

@ -0,0 +1 @@
pandoc

View File

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

2
requirements.txt Normal file
View File

@ -0,0 +1,2 @@
bs4
lxml

27
setup.cfg Normal file
View 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
View 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
View File

@ -0,0 +1 @@
flake8