From: Arnaud Giersch Date: Thu, 10 Dec 2020 21:24:43 +0000 (+0100) Subject: Try to fix download links in doc. X-Git-Tag: v3.26~14 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/3214d6ae587b8c84d0f6993d13df1ffcd5e67b2e?ds=sidebyside;hp=-c Try to fix download links in doc. --- 3214d6ae587b8c84d0f6993d13df1ffcd5e67b2e diff --git a/docs/source/_ext/showfile.py b/docs/source/_ext/showfile.py index 7894d6d385..b65ecf6696 100644 --- a/docs/source/_ext/showfile.py +++ b/docs/source/_ext/showfile.py @@ -38,7 +38,7 @@ class ShowFileDirective(Directive): '.. toggle-header::', ' :header: View {}'.format(filename), '', - ' `Download {} `_'.format(os.path.basename(filename), filename), + ' `Download {} `_'.format(os.path.basename(filename), filename), '', ' .. literalinclude:: ../../{}'.format(filename), ' :language: {}'.format(language),