Pull requests

#47 Merged
Repository
pv/sphinx-work sphinx-work
Branch
ext-linkcode
Repository
birkenfeld/sphinx sphinx
Branch
default

sphinx.ext.linkcode

Author
  1. pv
Reviewers
Description

Hi,

The extension sphinx.ext.viewcode is useful, but bloats the generated documentation by marked-up HTML. Nowadays the source code is often also available on the internet, so it might be useful to have an easy way to put links directly to it.

The attached extension attempts to do this. Because the target of the links may vary quite a lot, it always requires explicit configuration by the user.

  • Learn about pull requests

Comments (1)