Skip to content

doc: fix accumulate examples not using the init keyword#28910

Merged
KristofferC merged 2 commits intomasterfrom
rf/fix-acc-doc
Sep 3, 2018
Merged

doc: fix accumulate examples not using the init keyword#28910
KristofferC merged 2 commits intomasterfrom
rf/fix-acc-doc

Conversation

@rfourquet
Copy link
Copy Markdown
Member

@rfourquet rfourquet commented Aug 27, 2018

I replaced accumulate! with tryparse in one example because it's the first fitting function I found whose docstring was actually short (compared to that of accumulate!).

@rfourquet rfourquet added docs This change adds or pertains to documentation bugfix This change fixes an existing bug labels Aug 27, 2018
```

This will create a link in the generated docs to the `accumulate` documentation
This will create a link in the generated docs to the `parse` documentation
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

"and nothing"? Also should the parse have a @ref in this sentence (it kinda shows what is described with an example then)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I hesitated for nothing as it doesn't fall in the one the two categories below (mutating/non-mutating and similar-seeming functions), but no problem to do it. Good idea to add a ref link here too.

@rfourquet
Copy link
Copy Markdown
Member Author

I will merge by tomorrow if no objection.

@KristofferC KristofferC mentioned this pull request Sep 3, 2018
@KristofferC KristofferC merged commit 49e58ba into master Sep 3, 2018
KristofferC pushed a commit that referenced this pull request Sep 3, 2018
* doc: fix accumulate examples not using the init keyword

* add links (KristofferC)

(cherry picked from commit 49e58ba)
@fredrikekre fredrikekre deleted the rf/fix-acc-doc branch September 3, 2018 19:32
KristofferC pushed a commit that referenced this pull request Sep 8, 2018
* doc: fix accumulate examples not using the init keyword

* add links (KristofferC)

(cherry picked from commit 49e58ba)
KristofferC pushed a commit that referenced this pull request Sep 8, 2018
* doc: fix accumulate examples not using the init keyword

* add links (KristofferC)

(cherry picked from commit 49e58ba)
KristofferC pushed a commit that referenced this pull request Feb 11, 2019
* doc: fix accumulate examples not using the init keyword

* add links (KristofferC)

(cherry picked from commit 49e58ba)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix This change fixes an existing bug docs This change adds or pertains to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants