Skip to content

Commit

Permalink
fix broken anchors api reference (#10976)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntyukaev authored Mar 15, 2022
1 parent e65fc4c commit c1fc602
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/doxyrest/frame/common/item.lua
Original file line number Diff line number Diff line change
Expand Up @@ -98,16 +98,16 @@ function getItemRefTargetString(item)
end

local s =
".. index:: pair: " .. item.memberKind .. "; " .. item.name .. "\n" ..
".. _doxid-" .. item.id .. ":\n"
".. _doxid-" .. item.id .. ":\n" ..
".. index:: pair: " .. item.memberKind .. "; " .. item.name .. "\n"

if item.isSubGroupHead then
for j = 1, #item.subGroupSlaveArray do
slaveItem = item.subGroupSlaveArray[j]

s = s ..
".. index:: pair: " .. slaveItem.memberKind .. "; " .. slaveItem.name .. "\n" ..
".. _doxid-" .. slaveItem.id .. ":\n"
".. _doxid-" .. slaveItem.id .. ":\n" ..
".. index:: pair: " .. slaveItem.memberKind .. "; " .. slaveItem.name .. "\n"
end
end

Expand Down

0 comments on commit c1fc602

Please sign in to comment.