Merge "trivial: Address some indentation nits"

This commit is contained in:
Zuul 2020-10-22 14:21:48 +00:00 committed by Gerrit Code Review
commit 369e8f99f5

View File

@ -16,56 +16,56 @@
<script type="text/javascript" src="{{pathto('_static/searchtools.js', 1)}}"></script>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '{{ version }}',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
LINK_SUFFIX: '.html',
SOURCELINK_SUFFIX: '.txt',
HAS_SOURCE: true
};
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '{{ version }}',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
LINK_SUFFIX: '.html',
SOURCELINK_SUFFIX: '.txt',
HAS_SOURCE: true
};
</script>
<!-- Javascript for page -->
<script language="JavaScript">
/* build a description of this page including SHA, source location on git repo,
build time and the project's launchpad bug tag. Set the HREF of the bug
buttons */
/* Build a description of this page including SHA, source location on git
* repo, build time and the project's launchpad bug tag. Set the HREF of the
* bug buttons
*/
{%- if bug_project %}
var lineFeed = "%0A";
var gitURL = "Source: Can't derive source file URL";
/* there have been cases where "pagename" wasn't set; better check for it */
{%- if giturl and pagename %}
/* "giturl" is the URL of the source file on Git and is auto-generated by
openstackdocstheme.
{%- if pagename %}
/* "giturl" is the URL of the source file on Git and is auto-generated by
* openstackdocstheme.
*
* "pagename" is a standard sphinx parameter containing the name of
* the source file, without extension.
*/
"pagename" is a standard sphinx parameter containing the name of
the source file, without extension. */
var sourceFile = "{{ pagename }}" + ".rst";
gitURL = "Source: {{ giturl }}" + "/" + sourceFile;
{%- endif %}
var sourceFile = "{{ pagename }}" + ".rst";
gitURL = "Source: {{ giturl }}" + "/" + sourceFile;
{%- endif %}
/* gitsha, project and bug_tag rely on variables in conf.py */
var gitSha = "SHA: {{ gitsha }}";
var repositoryName = "{{ repository_name }}";
var bugProject = "{{ bug_project }}";
{%- if bug_title %}
var bugTitle = "{{ bug_title }}";
{%- else %}
var bugTitle = "{{ title|striptags }} in {{ project }}";
{%- endif %}
{%- if bug_title %}
var bugTitle = "{{ bug_title }}";
{%- else %}
var bugTitle = "{{ title|striptags }} in {{ project }}";
{%- endif %}
var fieldTags = "{{ bug_tag }}";
{%- if use_storyboard %}
var useStoryboard = "{{ use_storyboard }}";
{%- else %}
var useStoryboard = "";
{%- endif %}
{%- if use_storyboard %}
var useStoryboard = "{{ use_storyboard }}";
{%- else %}
var useStoryboard = "";
{%- endif %}
/* "last_updated" is the build date and time. It relies on the
conf.py variable "html_last_updated_fmt", which should include