mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Merge pull request #25301 from jacobhammons/doc-bugs
bug fix for module function display in help
This commit is contained in:
commit
1c43892a80
2
doc/_themes/saltstack2/layout.html
vendored
2
doc/_themes/saltstack2/layout.html
vendored
@ -21,7 +21,7 @@
|
||||
|
||||
{% set script_files = [
|
||||
'_static/js/core.min.js',
|
||||
'_static/js/webhelp.min_v1.4.js',
|
||||
'_static/js/webhelp.min_v1.4.1.js',
|
||||
] %}
|
||||
|
||||
{% set css_files = [
|
||||
|
@ -11,7 +11,7 @@ $( document ).ready(function() {
|
||||
|
||||
/*insert links to module functions*/
|
||||
if ($( 'a.current' ).length && $( 'dt .headerlink' ).length ) {
|
||||
if (!window.location.href.indexOf('/ref/cli/')) {
|
||||
if (window.location.href.indexOf('/ref/cli/') == -1) {
|
||||
var tgt = $( 'a.current' );
|
||||
tgt.after('<ul id="function-list"></ul>');
|
||||
$('dt .headerlink').each(function(idx, elem) {
|
Loading…
Reference in New Issue
Block a user