Aaron Lauterer
777690a121
docs/scanrefs: fix handling if ref is same as headline
...
If the ref is named the same as the headline (once normalized), sphinx
will return a 'idX' value in node['ids'][1] which we use for the label
ID. The headline is always present at index 0.
Checking for that and using index 0 in case we do get a 'idX' helps us
to avoid using the 'idX' as keys in our OnlineHelpInfo.js and actually
use the intended key.
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2021-02-06 07:49:21 +01:00
..
2021-02-06 07:49:21 +01:00
2020-09-24 20:03:17 +02:00
2021-02-03 10:36:18 +01:00
2020-12-19 17:39:48 +01:00
2021-02-05 12:42:20 +01:00
2021-01-27 18:13:58 +01:00
2021-01-18 13:52:11 +01:00
2019-11-11 09:17:55 +01:00
2020-07-21 13:01:21 +02:00
2020-12-16 10:08:11 +01:00
2021-02-06 07:47:56 +01:00
2021-02-06 07:47:56 +01:00
2019-11-22 06:59:37 +01:00
2021-02-05 11:42:06 +01:00
2020-10-05 09:23:45 +02:00
2020-10-07 14:09:41 +02:00
2021-02-03 12:04:27 +01:00
2020-09-24 20:03:17 +02:00
2020-11-08 13:29:09 +01:00
2020-10-07 14:09:41 +02:00
2021-01-22 16:07:44 +01:00
2019-11-17 16:51:40 +01:00
2019-11-11 19:45:44 +01:00
2020-09-11 12:17:42 +02:00
2021-02-06 07:47:56 +01:00
2021-02-04 16:06:38 +01:00
2020-11-10 13:13:44 +01:00
2021-02-06 07:47:56 +01:00
2020-10-07 14:09:41 +02:00
2021-02-06 07:47:56 +01:00
2021-02-05 12:42:20 +01:00
2021-02-06 07:47:56 +01:00
2020-11-10 11:50:17 +01:00
2020-11-10 13:14:04 +01:00
2019-02-24 10:18:38 +01:00
2020-10-05 09:23:45 +02:00
2019-03-16 16:44:45 +01:00
2020-10-05 09:23:45 +02:00
2019-11-15 13:24:45 +01:00
2021-02-06 07:47:56 +01:00
2020-11-10 13:53:21 +01:00
2020-10-06 12:27:47 +02:00
2021-01-28 15:11:22 +01:00
2021-02-06 07:47:56 +01:00
2021-02-05 11:42:06 +01:00
2020-07-08 18:14:17 +02:00
2021-02-03 10:36:18 +01:00