show all button not working across all APIs
Bug #1734075 reported by
Gilles Dubreuil
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstackdocstheme |
In Progress
|
Undecided
|
binoy m v |
Bug Description
On the API Guide pages, the "Show All" button doesn't work, it used to expand all resources.
For replicating use [2] or [3] and click on "Show All" button on top right.
This is important because the feature is used to "web crawl" all the API references.
[1] https:/
[2] https:/
[3] https:/
Changed in openstack-doc-tools: | |
assignee: | nobody → binoy m v (binoy.v) |
To post a comment you must log in.
We can solve this bug by adding jquery code into the docs.js file.
//Toggle api details section. control" ).addClass( 'collapse' ); all").click( function () { control" ).toggleClass( 'collapse' ); .text(" Hide All");
$(".detail-
$("#expand-
$(".detail-
$(this)
});
In the above code hiding all the api section first and when we click on the "Show All" button it shows all the api section and changing the button text to "Hide All".