Skip to content

Comments

Markdownify Phobos#6391

Merged
wilzbach merged 1 commit intodlang:masterfrom
wilzbach:markdownify
Apr 2, 2018
Merged

Markdownify Phobos#6391
wilzbach merged 1 commit intodlang:masterfrom
wilzbach:markdownify

Conversation

@wilzbach
Copy link
Contributor

$(D word) -> word


Done with: https://github.com/wilzbach/dscanner-fix/blob/master/d_code_markdown.d

Continuation of the first experiment in #5970

Replacement of #5801

CC @andralex

(the script doesn't replace everything, it doesn't try to deal with a few tricky instances. They can be manually looked afterwords. D_PARAM isn't touched either)

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @wilzbach!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub fetch digger
dub run digger -- build "master + phobos#6391"

$(TDNW $(D ))
$(TDNW $(D ))
$(TDNW ``)
$(TDNW ``)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is scary.

Copy link
Member

@andralex andralex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Single-word please

etc/c/odbc/sql.d Outdated
platform-specific instructions and then use the appropriate command-line
flags (e.g. for dmd, `-L-lodbc` on Posix and `-Lodbc32.lib` on Windows) to link
with the ODBC library. On Windows, using $(D pragma(lib, "odbc32")) in D
with the ODBC library. On Windows, using `pragma(lib, "odbc32")` in D
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only single-word (no spaces) inline code should be in backquotes. This is because many editors reflow comments automatically, and we don't support backquoted code spanning multiple lines.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, smart editors should be able to handle that, but restricted to single-words for now then.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean, smart editors should be able to handle that once someone writes the code for it? I don't think anything is smart enough to do this correctly right now.

@wilzbach wilzbach dismissed andralex’s stale review March 30, 2018 17:58

restricted to single words only

@wilzbach
Copy link
Contributor Author

@JackStouffer rebased though I guess this will easily run into a conflict again...

@JackStouffer
Copy link
Contributor

@wilzbach Rebase and then ping me on slack, and then I'll merge.

$(D word) -> `word`
@wilzbach
Copy link
Contributor Author

wilzbach commented Apr 2, 2018

Thanks! & rebased.

@wilzbach
Copy link
Contributor Author

wilzbach commented Apr 2, 2018

jenkins is still failing due to dlang/ci#190

@wilzbach wilzbach merged commit a9f1ff0 into dlang:master Apr 2, 2018
@wilzbach wilzbach deleted the markdownify branch April 2, 2018 22:02
@CyberShadow
Copy link
Member

DAutoTest shows a lot of diffs, but the diffs reveal that previously the HTML was really broken in some places - text was outright missing. Was a macro previously accidentally undefined? @wilzbach Any idea what happened there?

@wilzbach
Copy link
Contributor Author

wilzbach commented Apr 3, 2018

DAutoTest shows a lot of diffs, but the diffs reveal that previously the HTML was really broken in some places

-> dlang/dlang.org#2326

ntrel added a commit to ntrel/phobos that referenced this pull request Apr 21, 2023
Fixes Issue 23849 - Ddoc $(LPAREN) and $(RPAREN) not formatted properly

Introduced by dlang#6391 in 2018.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants