forked from docs/data-ingestion-service
Initial commit
This commit is contained in:
commit
17178d7a59
30
.gitignore
vendored
Normal file
30
.gitignore
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
*.DS_Store
|
||||
*.egg*
|
||||
*.log
|
||||
*.mo
|
||||
*.pyc
|
||||
*.swo
|
||||
*.swp
|
||||
*~
|
||||
AUTHORS
|
||||
.coverage
|
||||
.idea
|
||||
.stestr/
|
||||
.testrepository
|
||||
.tox
|
||||
build
|
||||
ChangeLog
|
||||
dist
|
||||
# Doc related
|
||||
doc/build
|
||||
api-ref/build
|
||||
umn/build
|
||||
*/build
|
||||
releasenotes/build
|
||||
# Development environment files
|
||||
.project
|
||||
.pydevproject
|
||||
cover
|
||||
.ropeproject
|
||||
test.py
|
||||
.vscode
|
0
README.rst
Normal file
0
README.rst
Normal file
0
api-ref/source/_static/images/.placeholder
Normal file
0
api-ref/source/_static/images/.placeholder
Normal file
166
api-ref/source/conf.py
Normal file
166
api-ref/source/conf.py
Normal file
File diff suppressed because it is too large
Load Diff
4
api-ref/source/index.rst
Normal file
4
api-ref/source/index.rst
Normal file
@ -0,0 +1,4 @@
|
||||
TODO
|
||||
####
|
||||
|
||||
TODO
|
6
requirements.txt
Normal file
6
requirements.txt
Normal file
@ -0,0 +1,6 @@
|
||||
# The order of packages is significant, because pip processes them in the order
|
||||
# of appearance. Changing the order has an impact on the overall integration
|
||||
# process, which may cause wedges in the gate later.
|
||||
otc-api-ref # Apache-2.0
|
||||
otcdocstheme # Apache-2.0
|
||||
sphinx>=2.0.0,!=2.1.0 # BSD
|
19
setup.cfg
Normal file
19
setup.cfg
Normal file
@ -0,0 +1,19 @@
|
||||
[metadata]
|
||||
name = dummy_docs
|
||||
summary = Open Telekom Cloud Dummy Service
|
||||
description_file =
|
||||
README.rst
|
||||
author = Open Telekom Cloud
|
||||
classifier =
|
||||
Environment :: OpenStack
|
||||
Intended Audience :: Information Technology
|
||||
Intended Audience :: System Administrators
|
||||
License :: OSI Approved :: Apache Software License
|
||||
Operating System :: POSIX :: Linux
|
||||
Programming Language :: Python
|
||||
Programming Language :: Python :: 3.6
|
||||
Programming Language :: Python :: 3.7
|
||||
Programming Language :: Python :: 3.8
|
||||
Programming Language :: Python :: 3.9
|
||||
keywords =
|
||||
OpenStack, Open Telekom Cloud, OTC, T-Systems, Telekom
|
18
setup.py
Normal file
18
setup.py
Normal file
@ -0,0 +1,18 @@
|
||||
# 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.
|
||||
|
||||
import setuptools
|
||||
|
||||
setuptools.setup(
|
||||
setup_requires=['pbr>=2.0.0'],
|
||||
pbr=True)
|
74
tox.ini
Normal file
74
tox.ini
Normal file
@ -0,0 +1,74 @@
|
||||
[tox]
|
||||
minversion = 3.1
|
||||
envlist = py36,py37,pep8
|
||||
skipsdist = True
|
||||
ignore_basepython_conflict = True
|
||||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
install_command = pip install {opts} {packages}
|
||||
deps =
|
||||
-r{toxinidir}/requirements.txt
|
||||
commands = stestr run {posargs}
|
||||
stestr slowest
|
||||
|
||||
[testenv:pep8]
|
||||
commands =
|
||||
doc8 doc/source README.rst
|
||||
|
||||
[testenv:venv]
|
||||
deps =
|
||||
-r{toxinidir}/requirements.txt
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:docs]
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
sphinx-build -W --keep-going -b html doc/source/ doc/build/html
|
||||
|
||||
[testenv:api-ref]
|
||||
# This environment is called from CI scripts to test and publish
|
||||
# the API Ref to docs.otc-service.com
|
||||
deps =
|
||||
-r{toxinidir}/requirements.txt
|
||||
whitelist_externals = rm
|
||||
commands =
|
||||
rm -rf api-ref/build
|
||||
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
|
||||
|
||||
[testenv:api-ref-pdf-docs]
|
||||
deps = {[testenv:api-ref]deps}
|
||||
envdir = {toxworkdir}/api-ref
|
||||
whitelist_externals =
|
||||
rm
|
||||
make
|
||||
commands =
|
||||
rm -rf api-ref/build/pdf
|
||||
sphinx-build -a -E -W -b latex api-ref/source api-ref/build/pdf
|
||||
make -C api-ref/build/pdf
|
||||
|
||||
[testenv:umn]
|
||||
# This environment is called from CI scripts to test and publish
|
||||
# the UMN to docs.otc-service.com
|
||||
deps =
|
||||
-r{toxinidir}/requirements.txt
|
||||
whitelist_externals = rm
|
||||
commands =
|
||||
rm -rf umn/build
|
||||
sphinx-build -W -b html -d umn/build/doctrees umn/source umn/build/html
|
||||
|
||||
[testenv:umn-pdf-docs]
|
||||
deps = {[testenv:umn]deps}
|
||||
envdir = {toxworkdir}/umn
|
||||
whitelist_externals =
|
||||
rm
|
||||
make
|
||||
sh
|
||||
commands =
|
||||
rm -rf umn/build/pdf
|
||||
sphinx-build -a -E -W -b latex umn/source umn/build/pdf
|
||||
sh -c "for f in umn/build/pdf/*.gif; do gif2png -dprsO $f; done || true"
|
||||
sh -c "for f in umn/build/pdf/*.tex; do sed -iorig 's/\.gif//g' $f; done"
|
||||
make -C umn/build/pdf
|
0
umn/source/_static/images/.placeholder
Normal file
0
umn/source/_static/images/.placeholder
Normal file
157
umn/source/conf.py
Normal file
157
umn/source/conf.py
Normal file
File diff suppressed because it is too large
Load Diff
5
umn/source/index.rst
Normal file
5
umn/source/index.rst
Normal file
@ -0,0 +1,5 @@
|
||||
==========
|
||||
Main Index
|
||||
==========
|
||||
|
||||
TODO:
|
Loading…
x
Reference in New Issue
Block a user