update git.openstack.org to opendev

Change-Id: Ie9f1ca14eed287f3c25553d029d4a4b2ca5274d0
This commit is contained in:
liuwei 2019-04-29 11:05:40 +08:00 committed by Stephen Finucane
parent bf0ebe6127
commit 5965747909
4 changed files with 6 additions and 29 deletions

View File

@ -20,7 +20,7 @@ projects.
* Free software: Apache license
* Documentation: https://docs.openstack.org/taskflow/latest/
* Source: https://git.openstack.org/cgit/openstack/taskflow
* Source: https://opendev.org/openstack/taskflow
* Bugs: https://bugs.launchpad.net/taskflow/
* Release notes: https://docs.openstack.org/releasenotes/taskflow/

View File

@ -1,12 +1,7 @@
# -*- coding: utf-8 -*-
import datetime
import os
import subprocess
import sys
import warnings
sys.path.insert(0, os.path.abspath('../..'))
# -- General configuration ----------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be
@ -24,11 +19,6 @@ extensions = [
repository_name = 'openstack/taskflow'
bug_project = 'taskflow'
bug_tag = ''
html_last_updated_fmt = '%Y-%m-%d %H:%M'
# autodoc generation is a bit aggressive and a nuisance when doing heavy
# text edit cycles.
# execute "export SPHINX_DEBUG=1" in your terminal to disable
# Add any paths that contain templates here, relative to this directory.
templates_path = ['templates']
@ -46,7 +36,6 @@ exclude_patterns = ['_build']
# General information about the project.
project = u'TaskFlow'
copyright = u'%s, OpenStack Foundation' % datetime.date.today().year
source_tree = 'https://git.openstack.org/cgit/openstack/taskflow/tree'
# If true, '()' will be appended to :func: etc. cross-reference text.
add_function_parentheses = True
@ -62,31 +51,20 @@ pygments_style = 'sphinx'
modindex_common_prefix = ['taskflow.']
# Shortened external links.
source_tree = 'https://opendev.org/openstack/taskflow/src/branch/master/'
extlinks = {
'example': (source_tree + '/taskflow/examples/%s.py', ''),
'pybug': ('http://bugs.python.org/issue%s', ''),
}
# -- Options for HTML output --------------------------------------------------
# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
# html_theme_path = ["."]
html_theme = 'openstackdocs'
# html_static_path = ['static']
# Output file base name for HTML help builder.
htmlhelp_basename = '%sdoc' % project
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass
# [howto/manual]).
latex_documents = [
('index',
'%s.tex' % project,
'%s Documentation' % project,
'OpenStack Foundation', 'manual'),
]
# -- Options for autoddoc ----------------------------------------------------
@ -95,4 +73,3 @@ autodoc_member_order = 'bysource'
# Always include members
autodoc_default_options = {'members': None, 'show-inheritance': None}

View File

@ -16,8 +16,8 @@ in the TaskFlow `source tree`_.
improve them. The higher the quality and the clearer the examples are the
better and more useful they are for everyone.
.. _examples: http://git.openstack.org/cgit/openstack/taskflow/tree/taskflow/examples
.. _source tree: http://git.openstack.org/cgit/openstack/taskflow/
.. _examples: https://opendev.org/openstack/taskflow/src/branch/master/taskflow/examples
.. _source tree: https://opendev.org/openstack/taskflow/
Hello world
===========

View File

@ -15,7 +15,7 @@ setenv =
# We need to install a bit more than just `test' because those drivers have
# custom tests that we always run
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands =