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

Add documentation on updating references in NEWS.md #14162

Merged
merged 1 commit into from
Nov 27, 2015

Conversation

omus
Copy link
Member

@omus omus commented Nov 26, 2015

Thanks @stevengj and @tkelman for bringing this up in #14114.

@@ -108,6 +108,8 @@ It is encouraged to write all new docstrings in Markdown markup. If you need to
Many of the existing docstrings are currently restructured text codeblocks and these will be transitioned to Markdown over time. RST codeblocks are delineated with the triple-quote (\`\`\`rst \`\`\`) Makdown codeblock syntax.
The content of the codeblock is spliced directly into the final restructured text document unmodified.

If you decide to add some news to `NEWS.md` and you include a reference to a pull request or issue you should make sure to run `julia doc/NEWS-update.jl` from Julia's root directory before you submit. Running this ensures that the cross-reference links are up-to-date.
Copy link
Contributor

Choose a reason for hiding this comment

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

more accurately ./julia on unix, or usr/bin/julia to be cross platform

Copy link
Member

Choose a reason for hiding this comment

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

Need a comma before "you should make". In general, maybe be a bit more explicit:

For new functionality and other substantial changes, add a brief summary to `NEWS.md`. The news item should cross reference the pull request (PR) parenthetically, in the form `([#pr])`; after adding this, run `julia doc/NEWS-update.jl` from the `julia` directory to update the cross-reference links.  (Submit the PR, find out the PR number, and then push an additional commit updating `NEWS.md` to the PR.) 

Copy link
Member

Choose a reason for hiding this comment

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

(Any recent version of Julia should work for the update-NEWS.jl script, so I don't think we need to be too specific about that.)

Copy link
Member Author

Choose a reason for hiding this comment

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

@stevengj I preferred most of your wording over mine. I did some work on the last sentence though. I ended up going with ./julia since it is more accurate and not overly verbose.

Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't you delete the old wording then? It looks like you have both paragraphs in the PR.

@omus
Copy link
Member Author

omus commented Nov 26, 2015

Added the commas. You are a much better editor than I.

@stevengj
Copy link
Member

Note that you'll need to squash the commits (git rebase -i HEAD~3).

Also, be sure to add a NEWS item for this change. (Just kidding.)

@omus
Copy link
Member Author

omus commented Nov 27, 2015

Commits have been squashed. I forgot to delete my original paragraph which I have now corrected.

stevengj added a commit that referenced this pull request Nov 27, 2015
Add documentation on updating references in NEWS.md
@stevengj stevengj merged commit f8b59a7 into JuliaLang:master Nov 27, 2015
@omus omus deleted the news-update branch November 27, 2015 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants