-
-
Notifications
You must be signed in to change notification settings - Fork 369
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
Links fixes #28
Links fixes #28
Conversation
|
Also @WalterBright could add to his std.ddoc file two macros used in Phobos: |
|
Am I right that |
This partially reverts commit 48c5fb8.
Following macros definitions removed: WEB (except phobos-like definitions in index.dd, intro-to-datetime.dd, todo.dd, glossary.dd) EBOOK WEBURL Following macros definitions added: DDLINK - link to other *.dd file (other page on the site, other section in ebook) DDSUBLINK - same as DDLINK, but references to subsection DPLLINK - link to d-programming-language.org page (external link in ebook) NOT_EBOOK - hides its arguments in ebook NOT_EBOOK macro used in spec.dd instead of WEB
All strings replaced:
"$(LINK2 $(WEBURL)" to "$(DPLLINK "
All expressions replaced (using Visual Studio regex for which "@" is the lazy version of "*"):
"\$\(LINK2 \$\(WEB {.@}\.html\)\$\(EBOOK \#{.@}\)\, {.@}\)" to "$(DDLINK \1, \2, \3)"
"\$\(LINK2 \$\(WEB {.@}\.html\)\#{.@}\, {.@}\)" to "$(DDSUBLINK \1, \2, \3)"
dnews removed from win32.mak
|
What are exactly the improvement brought about by this diff? |
|
AFAIK, it fixes a lot of broken links without breaking ebook generation. |
|
Thanks! |
WEB(except phobos-like definition in intro-to-datetime.dd and glossary.dd)EBOOKWEBURLDDLINK- link to other *.dd file (other page on the site, other section in ebook)DDSUBLINK- same asDDLINK, but references to subsectionDPLLINK- link to http://d-programming-language.org page (external link in ebook)NOT_EBOOK- hides its arguments in ebook