From efbe398a9e374ea4e00391cf3c8b9fc365f5e9eb Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Fri, 28 Dec 2007 07:29:22 +0000 Subject: Improve the documentation style for human-readability in plain-text --- numpy/doc/html/epydoc.js | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'numpy/doc/html/epydoc.js') diff --git a/numpy/doc/html/epydoc.js b/numpy/doc/html/epydoc.js index b5b2ddc40..e787dbcf4 100644 --- a/numpy/doc/html/epydoc.js +++ b/numpy/doc/html/epydoc.js @@ -17,8 +17,11 @@ function toggle_private() { if (elts[i].className == "private") { elts[i].style.display = ((cmd && cmd.substr(0,4)=="hide")?"none":"block"); } + else if (elts[i].className == "public") { + elts[i].style.display = ((cmd && cmd.substr(0,4)=="hide")?"block":"none"); + } } - // Update all table rowss containing private objects. Note, we + // Update all table rows containing private objects. Note, we // use "" instead of "block" becaue IE & firefox disagree on what // this should be (block vs table-row), and "" just gives the // default for both browsers. @@ -33,7 +36,7 @@ function toggle_private() { for(var i=0; i