Merge "Update for OpenDev change"
This commit is contained in:
commit
466cb878f8
@ -39,5 +39,5 @@ References
|
||||
* Free software: Apache License, Version 2.0
|
||||
* Documentation: https://docs.openstack.org/openstackdocstheme/latest/
|
||||
* Release notes: https://docs.openstack.org/releasenotes/openstackdocstheme/
|
||||
* Source: https://git.openstack.org/cgit/openstack/openstackdocstheme
|
||||
* Source: https://opendev.org/openstack/openstackdocstheme
|
||||
* Bugs: https://launchpad.net/openstack-doc-tools
|
||||
|
@ -168,7 +168,7 @@ for locale in `find ${DIRECTORY}/source/locale/ -maxdepth 1 -type d` ; do
|
||||
|
||||
# Note that this is the counterpart to how we push
|
||||
# translations to the server. The code lives in
|
||||
# http://git.openstack.org/cgit/openstack-infra/openstack-zuul-jobs/tree/roles/prepare-zanata-client/files/common_translation_update.sh
|
||||
# https://opendev.org/openstack/openstack-zuul-jobs/src/roles/prepare-zanata-client/files/common_translation_update.sh
|
||||
# in function extract_messages_doc:
|
||||
# While Sphinx generates a single pot file per source file in the top
|
||||
# directory, is generates a file per directory for any subdirectory.
|
||||
|
@ -49,7 +49,8 @@ Using the theme
|
||||
|
||||
html_theme = 'openstackdocs'
|
||||
|
||||
#. Set the options to link to the git repository and bug tracker.
|
||||
#. Set the options to link to the git repository on
|
||||
``https://opendev.org`` and bug tracker.
|
||||
|
||||
``repository_name``
|
||||
The prefix and repo name. For example,
|
||||
@ -82,7 +83,7 @@ Using the theme
|
||||
One example for a project using StoryBoard::
|
||||
|
||||
# openstackdocstheme options
|
||||
repository_name = 'openstack-infra/infra-manual'
|
||||
repository_name = 'openstack/infra-manual'
|
||||
use_storyboard = True
|
||||
|
||||
#. Remove the options that will be automatically configured by the theme.
|
||||
|
@ -28,7 +28,7 @@ from openstackdocstheme import paths
|
||||
|
||||
_series = None
|
||||
_project = None
|
||||
_giturl = 'https://git.openstack.org/cgit/{}/tree/{}'
|
||||
_giturl = 'https://opendev.org/{}/src/{}'
|
||||
_html_context_data = None
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
@ -102,7 +102,7 @@ $('div.deprecated > p').prepend('<div class="fa fa-fw fa-minus-circle"> </d
|
||||
the index of the HTML element that we are modifying) */
|
||||
|
||||
// Gives the log a bug icon the information it needs to generate the bug in
|
||||
// Launchpad with pre-filled information such as git SHA, git.openstack.org
|
||||
// Launchpad with pre-filled information such as git SHA, opendev.org
|
||||
// source URL, published document URL and tag.
|
||||
function logABug(bugTitle, bugProject, fieldComment, fieldTags, repositoryName, useStoryboard) {
|
||||
|
||||
|
4
releasenotes/notes/opendev-5c528b2b4c737d59.yaml
Normal file
4
releasenotes/notes/opendev-5c528b2b4c737d59.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
other:
|
||||
- |
|
||||
The rendered git URL now uses ``https://opendev.org`` as git
|
||||
repository URLs.
|
2
tox.ini
2
tox.ini
@ -6,7 +6,7 @@ envlist = pep8
|
||||
usedevelop = False
|
||||
install_command = pip install {opts} {packages}
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/upper-constraints.txt}
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
|
Loading…
Reference in New Issue
Block a user