Remove getJSON function and doc-characters file
The getJSON function amends a tag found only on the docs landing page. When it is called on other pages it causes a file not found error. This patch removes the doc-characters file and the getJSON function as they are not needed in openstackdocstheme and they are already included in openstack-manuals. Closes-Bug: #1664869 Change-Id: If12287edf0a762ed0223eb2f9b33a78339a8f501
This commit is contained in:
parent
77c8cc6955
commit
a23b4d1cbf
@ -1,20 +0,0 @@
|
||||
{
|
||||
"images":[
|
||||
{
|
||||
"image":"superuser1.png",
|
||||
"caption":"Jesse Proudman"
|
||||
},
|
||||
{
|
||||
"image":"superuser2.png",
|
||||
"caption":"Narayan Desai"
|
||||
},
|
||||
{
|
||||
"image":"superuser3.png",
|
||||
"caption":"Elissa Murphy"
|
||||
},
|
||||
{
|
||||
"image":"superuser4.png",
|
||||
"caption":"Tim Bell"
|
||||
}
|
||||
]
|
||||
}
|
@ -85,14 +85,6 @@ $('a').click(function(){
|
||||
return false;
|
||||
});
|
||||
|
||||
// Change character image on refresh
|
||||
// Add file names and captions to doc-characters.json
|
||||
$.getJSON('common/js/doc-characters.json', function(data) {
|
||||
var item = data.images[Math.floor(Math.random()*data.images.length)];
|
||||
$('<img src="common/images/docs/' + item.image + '">').appendTo('#superuser-img');
|
||||
$('<p>' + item.caption + '<strong>OpenStack Operator</strong></p>').appendTo('#superuser-img');
|
||||
});
|
||||
|
||||
/* BB 150310
|
||||
openstackdocstheme provides three types of admonitions, important, note
|
||||
and warning. We decorate their title paragraphs with Font Awesome icons
|
||||
|
Loading…
x
Reference in New Issue
Block a user