From a8e476920847a057e0360bb8ed763b249f341586 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Mond=C3=A9jar?= Date: Fri, 20 Mar 2020 23:39:23 +0100 Subject: [PATCH] Added commmit SHA hex code to list item id attribute. --- sphinx_git/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sphinx_git/__init__.py b/sphinx_git/__init__.py index 958e189..b279647 100644 --- a/sphinx_git/__init__.py +++ b/sphinx_git/__init__.py @@ -176,6 +176,7 @@ def _build_markup(self, commits): detailed_message = None item = nodes.list_item() + item.attributes["ids"].append(commit.hexsha) par = nodes.paragraph() # choose detailed message style by detailed-message-strong option if self.options.get('detailed-message-strong', True):