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

Move docstrings to Unicode stdlib module #25902

Merged
merged 1 commit into from
Feb 12, 2018
Merged

Move docstrings to Unicode stdlib module #25902

merged 1 commit into from
Feb 12, 2018

Conversation

nalimilan
Copy link
Member

Functions need to be defined in Unicode module, as reexporting Base.Unicode
functions makes them appear with the latter prefix in the manual.

@nalimilan nalimilan requested a review from KristofferC February 5, 2018 21:54
@@ -107,7 +107,7 @@ pointer(x::SubString{String}, i::Integer) = pointer(x.string) + x.offset + (i-1)
Reverses a string. Technically, this function reverses the codepoints in a string and its
main utility is for reversed-order string processing, especially for reversed
regular-expression searches. See also [`reverseind`](@ref) to convert indices in `s` to
indices in `reverse(s)` and vice-versa, and [`Unicode.graphemes`](@ref Base.Unicode.graphemes) to
indices in `reverse(s)` and vice-versa, and `graphemes` from module `Unicode` to
Copy link
Member Author

Choose a reason for hiding this comment

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

I couldn't get the link to work, suggestions welcome.

Copy link
Member

Choose a reason for hiding this comment

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

Did [`Unicode.graphemes`](@ref)not work?

Copy link
Member Author

Choose a reason for hiding this comment

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

No.

Copy link
Member

Choose a reason for hiding this comment

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

I think it is fine to leave it like this then until we figure it out,

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, anyway I don't have any solution to suggest. Merge then?

Copy link
Member

Choose a reason for hiding this comment

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

Sure, perhaps run docs locally and see if it looks OK? Otherwise, looks good to me.

Copy link
Member Author

Choose a reason for hiding this comment

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

They look OK, just the link isn't there (obviously :-).

@nalimilan nalimilan added unicode Related to unicode characters and encodings stdlib Julia's standard library docs This change adds or pertains to documentation labels Feb 5, 2018
Functions need to be defined in Unicode module, as reexporting Base.Unicode
functions makes them appear with the latter prefix in the manual.
Also fix examples by fully qualifying Unicode.normalize().
@nalimilan
Copy link
Member Author

Bump.

@nalimilan nalimilan merged commit f9f11a3 into master Feb 12, 2018
@nalimilan nalimilan deleted the nl/unicodedocs branch February 12, 2018 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation stdlib Julia's standard library unicode Related to unicode characters and encodings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants