Conversation
|
You are doing a great job, Mister XREF-Purger (aka Mr. XP) Unfortunately it seems that we have to wait for the next Phobos release, before we can finally kill XREF: maybe you can separate the final kill in another PR, so that we don't forget it? |
Mr XP?
Ah, right. Didn't think of the stable docs.
Makes sense. I've moved the |
|
Let's remember to write a README on dlang.org explaining the correct |
There are explanations in dlang.org.ddoc. Good enough, or what do you have in mind? |
Sorry about the joke ;-)
I agree with @adamdruppe that we should list the most common ddoc macros and tricks in the dlang.org README. |
|
On Wed, Jun 08, 2016 at 09:43:47AM -0700, Sebastian Wilzbach wrote:
We can actually fix that and really should by just defining: DDOC_PSYMBOL=$0 so suppress the wrapping. Then we pretend that misfeature doesn't exist and make everyone's life better instead of littering _ in every other sentence. |
|
On Wed, Jun 08, 2016 at 09:39:00AM -0700, aG0aep6G wrote:
I mean the README file itself so it is right in the first place people look. |
Do contributors check that file regularly? I don't.
Ok, yeah, makes sense. There's also CONTRIBUTING.md, linked from README.md. Maybe that's the right spot for this? |
|
On Wed, Jun 08, 2016 at 09:54:43AM -0700, aG0aep6G wrote:
Regular contributors might not but infrequent contributors or newbies surely would. I don't commit much to dlang.org in part because I so often forget how it works, since I get the urge to only a few times a year. |
Sounds good - maybe we should also add some pointers from the contributing guide of Phobos (and maybe DRuntime and DMD), so that people can find the guide? |
e482466 to
c9431ea
Compare
|
With 2.072.1 released, all traces of the XREF macros are gone now. This should be good to go, but the doc tester spews 500s. Ping @CyberShadow |
|
Fixed the diffs, thanks for the ping. |
|
Looks like a few made their way back in? |
|
Fixed, should take effect on the next build. |
a405ff7 to
f4412f8
Compare
Still shows 2.072.0 after a rebuild via empty amend and |
|
Whoops, forgot to update submodules. Should be really fixed now. Also fixed the website, double whoops! |
The tester now shows diffs like this for everything: - switch to <a href="../phobos/index.html">2.072.0</a>. <br>
+ switch to <a href="../phobos/index.html">2.072.1</a>. <br>It also shows some other stuff that seems unrelated to this PR. |
|
Re-pushed once again. Diff is smaller now, but I can't make sense of it. Looks like unrelated changes. |
|
Alright. I don't know if you fixed anything, @CyberShadow, but the doc tester says "no changes" now. Seems we're good to go. |
Awesome! Great job! |
|
Oops, sorry, forgot about this. Merged, thanks! |
Do not merge before 2.072. The stable docs still use the XREF macros.(Good to go now.)Finally get rid of XREF, XREF_PACK, XREF_PACK_NAMED, FULL_XREF, CXREF, and ECXREF.
There is one last instance of XREF in phobos. dlang/phobos#4418 takes care of it.(PR has since been merged.)phobos and druntime are squeaky clean.
In dmd, there are only definitions left in its changelog.dd. dlang/dmd#5843 removes them.
I've checked with
grep -r XREFwhich would detect all the variants as they all contain "XREF".