Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documented unittests don't have anchors (so we can't link to them, eg in changelogs) #4082

Open
dlangBugzillaToGithub opened this issue Feb 15, 2018 · 1 comment

Comments

@dlangBugzillaToGithub
Copy link

Timothee Cour (@timotheecour) reported this on 2018-02-15T07:54:43Z

Transferred from https://issues.dlang.org/show_bug.cgi?id=18442

CC List

  • Seb

Description

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
@dlangBugzillaToGithub
Copy link
Author

greensunny12 commented on 2018-02-15T17:19:13Z

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant