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

Remove two cross-references #17969

Merged
merged 1 commit into from
Aug 12, 2016

Conversation

MichaelHatherly
Copy link
Member

  • Replace a malformed link in write docstring with a literal write rather than a real cross-reference, since that would just cross-reference itself. Also move write docstring inline.
  • Remove cross-reference for << from inside a literal since text inside a literal can't contain a link. A cross-reference to << already appears at the end of the docstring.

  * Replace a malformed link in `write` docstring with a literal `write` rather than
    a real cross-reference, since that would just cross-reference itself. Also move
    `write` docstring inline.

  * Remove cross-reference for `<<` from inside a literal since text inside a literal
    can't contain a link. A cross-reference to `<<` already appears at the end of the
    docstring.
@MichaelHatherly MichaelHatherly added the docs This change adds or pertains to documentation label Aug 11, 2016
@@ -230,7 +230,7 @@ end

Unsigned right bit shift operator, `x >>> n`. For `n >= 0`, the result is `x`
shifted right by `n` bits, where `n >= 0`, filling with `0`s. For `n < 0`, this
is equivalent to `x [<<](:func:`<<`) -n`].
is equivalent to `x << -n`.
Copy link
Contributor

Choose a reason for hiding this comment

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

noticed this on the mailing list, thought it looked odd

Copy link
Member Author

Choose a reason for hiding this comment

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

It does, though the idea behind it, adding links in bits of code, would be great to have at some point. Allowing Documenter to automatically add links inside literals and code blocks should probably be possible I think, though would need a bit of work.

@MichaelHatherly
Copy link
Member Author

Travis OSX failure is unrelated, will merge shortly.

@MichaelHatherly MichaelHatherly merged commit 050ae4e into JuliaLang:master Aug 12, 2016
@MichaelHatherly MichaelHatherly deleted the mh/remove-xrefs branch August 12, 2016 06:47
tkelman pushed a commit that referenced this pull request Aug 20, 2016
  * Replace a malformed link in `write` docstring with a literal `write` rather than
    a real cross-reference, since that would just cross-reference itself. Also move
    `write` docstring inline.

  * Remove cross-reference for `<<` from inside a literal since text inside a literal
    can't contain a link. A cross-reference to `<<` already appears at the end of the
    docstring.

(cherry picked from commit 2301c27)
ref #17969
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants