Skip to content

Commit c33e328

Browse files
committed
builder: enable preliminary linkcode support
For `sphinx.ext.linkcode` extension, prospect changes [1] will provide support for other Sphinx extensions to take advantage of linkcode-generated references. Updating this extension to hint that it will support `sphinx.ext.linkcode`. This should help ensure a future release the Confluence Builder extension will automatically be ready to utilize the Sphinx-managed extension (if Sphinx does update to include linkcode support for custom builders). If Sphinx changes the way of integrating with linkcode or opts to not support such an extension, the introduced line in this commit can be modified or dropped at a later time. [1]: sphinx-doc/sphinx#10585 Signed-off-by: James Knight <[email protected]>
1 parent 5879b40 commit c33e328

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sphinxcontrib/confluencebuilder/builder.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class ConfluenceBuilder(Builder):
4848
name = 'confluence'
4949
format = 'confluence_storage'
5050
supported_image_types = ConfluenceSupportedImages()
51+
supported_linkcode = True
5152
supported_remote_images = True
5253

5354
def __init__(self, app, env=None):

0 commit comments

Comments
 (0)