Fix gate-fuel-docs-docs CI job
* Add tox.ini, setup.cfg and setup.py to allow docs building
using tox and setuptools
* Set doc/build as an output dir in setup.cfg to allow doc
publishing by gate-fuel-docs-docs job
* Add '.tox' and '*egg' paths to exclude_patterns in conf.py
* Add '.tox' dir to .gitignore
Change-Id: Iaec750d6035bd0e30c10a12142be35514df1fb15
(cherry picked from commit 7218dfecd5
)
This commit is contained in:
parent
4710afb6b0
commit
9b73370341
|
@ -3,3 +3,5 @@
|
|||
/_images/*_svg.jpg
|
||||
/_images/*.pdf
|
||||
/.idea
|
||||
/.tox
|
||||
/doc
|
||||
|
|
2
conf.py
2
conf.py
|
@ -14,4 +14,4 @@
|
|||
# -- Default Settings -----------------------------------------------------
|
||||
execfile('./common_conf.py')
|
||||
|
||||
exclude_patterns = ['_*', "pages", 'relnotes', 'contents', 'pdf']
|
||||
exclude_patterns = ['_*', "pages", 'relnotes', 'contents', 'pdf', '.tox', '*egg']
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
[metadata]
|
||||
name = fuel-docs
|
||||
version = 5.0.0
|
||||
author = Mirantis
|
||||
author-email = fuel-dev@lists.launchpad.net
|
||||
|
||||
[build_sphinx]
|
||||
all_files = 1
|
||||
build-dir = doc/build
|
||||
source-dir = .
|
||||
|
||||
[wheel]
|
||||
universal = 1
|
|
@ -0,0 +1,20 @@
|
|||
# Copyright 2015 Mirantis, Inc.
|
||||
#
|
||||
# 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'],
|
||||
pbr=True)
|
Loading…
Reference in New Issue