D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 18442 - documented unittests don't have anchors (so we can't link to them, eg in changelogs)
Summary: documented unittests don't have anchors (so we can't link to them, eg in chan...
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D2
Hardware: x86 Mac OS X
: P4 enhancement
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-15 07:54 UTC by Timothee Cour
Modified: 2024-12-15 15:24 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Timothee Cour 2018-02-15 07:54:43 UTC
eg:
https://dlang.org/phobos/std_complex.html
i see anchors for each function but not for documented unittests.

eg use case: linking to these in changelogs (and avoiding re-doing redundant work in changelogs, more DRY; also changelog inline unittests are not as good as they aren't runnable)

related already merged PR (which for similar past issue): https://github.com/dlang/dlang.org/pull/2043
Comment 1 Seb 2018-02-15 17:19:13 UTC
Your best bet is that we get 

https://github.com/dlang/dlang.org/pull/2069

in.

After this PR, we can preprocess Ddoc on-the-fly and do such hacks ;-)

Of course, Ddoc could also be improved...
Comment 2 dlangBugzillaToGithub 2024-12-15 15:24:49 UTC
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dlang.org/issues/4082

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB