-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Handle ordered lists as well #41049
Handle ordered lists as well #41049
Conversation
@bors r+ |
📌 Commit b02cb19 has been approved by |
…, r=frewsxcv Handle ordered lists as well Part of rust-lang#40912. r? @rust-lang/docs
…, r=frewsxcv Handle ordered lists as well Part of rust-lang#40912. r? @rust-lang/docs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one tiny name change, then this looks good to me
src/librustdoc/html/markdown.rs
Outdated
} | ||
buffer.push_str(&format!("<li>{}</li>", content)); | ||
} | ||
|
||
fn list(parser: &mut ParserWrapper, buffer: &mut String, toc_builder: &mut Option<TocBuilder>, | ||
shorter: MarkdownOutputStyle) { | ||
shorter: MarkdownOutputStyle, is_sorted_list: bool) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be "ordered" and not "sorted"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is a huge deal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oups, good point!
…, r=frewsxcv Handle ordered lists as well Part of rust-lang#40912. r? @rust-lang/docs
…, r=frewsxcv Handle ordered lists as well Part of rust-lang#40912. r? @rust-lang/docs
b02cb19
to
5652561
Compare
@bors: r=frewsxcv |
📌 Commit 5652561 has been approved by |
Note that if the rollup lands, your commit is not going to be included |
Yes, i should have just not commented.
…On Wed, Apr 5, 2017 at 1:11 PM, Corey Farwell ***@***.***> wrote:
Note that if the rollup lands, your commit is not going to be included
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub
<#41049 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AABsimAXCvyb2rvOi6E9MxRGht9NEuOZks5rs8svgaJpZM4MyK0B>
.
|
Ah damn. :'( I'll write a "fix" afterwards then. |
☔ The latest upstream changes (presumably #41086) made this pull request unmergeable. Please resolve the merge conflicts. |
This was actually merged, the amendment after didn't make it, but that's fine. |
Part of #40912.
r? @rust-lang/docs