Commits

Georg Brandl  committed 50655b6

Source links in HTML are now generated with ``rel="nofollow"``.

  • Participants
  • Parent commits 0154042

Comments (0)

Files changed (2)

   - There is now a ``doctest_global_setup`` config value that can
     be used to give setup code for all doctests in the documentation.
 
+  - Source links in HTML are now generated with ``rel="nofollow"``.
+
 
 Release 0.5.2 (in development)
 ==============================

File sphinx/templates/layout.html

           {%- if show_source and has_source %}
             <h3>{{ _('This Page') }}</h3>
             <ul class="this-page-menu">
-              <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}">{{ _('Show Source') }}</a></li>
+              <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}" rel="nofollow">{{ _('Show Source') }}</a></li>
             </ul>
           {%- endif %}
           {%- endblock %}