X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bfd69c3ceb98d85f6aff577197153233f4d085d6..aab076afacb8bc3f295c6f42e221f4d2e5d5d69a:/docs/source/_ext/javasphinx/javasphinx/compiler.py diff --git a/docs/source/_ext/javasphinx/javasphinx/compiler.py b/docs/source/_ext/javasphinx/javasphinx/compiler.py index 807d027025..e4fe6238bf 100644 --- a/docs/source/_ext/javasphinx/javasphinx/compiler.py +++ b/docs/source/_ext/javasphinx/javasphinx/compiler.py @@ -98,12 +98,12 @@ class JavadocRestCompiler(object): if see.startswith('... return self.__html_to_rst(see) - elif '"' in see: + if '"' in see: # Plain text return see - else: - # Type reference (default) - return ':java:ref:`%s`' % (see.replace('#', '.').replace(' ', ''),) + + # Type reference (default) + return ':java:ref:`%s`' % (see.replace('#', '.').replace(' ', ''),) def compile_type(self, declaration): signature = util.StringBuilder()