X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/07e72b2e7fb40f325e2c1d66d141c517d31e5c10..6c8dd229d394fdaf20facf604f7be86a5df1e368:/docs/source/_ext/showfile.py diff --git a/docs/source/_ext/showfile.py b/docs/source/_ext/showfile.py index 2c37ef6e91..06845d40ed 100644 --- a/docs/source/_ext/showfile.py +++ b/docs/source/_ext/showfile.py @@ -119,7 +119,7 @@ class ToggleDirective(Directive): def run(self): node = nodes.container() node['classes'].append('toggle-content') - if not "show" in self.options: + if "show" not in self.options: # This :show: thing is not working, and I fail to see why. # Only the hidden-content class gets a call to hide() in the Javascript, # and :show:n block# still get hidden when I load the page.