Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

docs(directive): show arguments as a subsection of the usage section #15646

Merged
merged 1 commit into from
Jan 28, 2017
Merged

docs(directive): show arguments as a subsection of the usage section #15646

merged 1 commit into from
Jan 28, 2017

Conversation

frederikprijck
Copy link
Contributor

@frederikprijck frederikprijck commented Jan 27, 2017

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
docs update

What is the current behavior? (You can also link to an open issue here)
Previously, on the docs of directives which include the animation section, arguments are shown as an h3 element below the animation h2 element, making it look like it's a subsection of animations.

#15645

What is the new behavior (if this is a feature change)?
This commit ensures that the àrgument h3element is rendered correctly after the usage h2 element by moving the ànimationsection to the end of the template file.

Does this PR introduce a breaking change?
No

Please check if the PR fulfills these requirements

Other information:

Previously, on the docs of directives which include the `animation` section, `arguments` are shown as an `h3` element below the `animation` `h2` element, making it look like it's a subsection of `animations`.

This commit ensures that the àrgument` `h3`element is rendered correctly after the `usage` `h2` element.

Fixes #15645
@Narretz Narretz merged commit dea8ae9 into angular:master Jan 28, 2017
@Narretz
Copy link
Contributor

Narretz commented Jan 28, 2017

Good catch, thanks

@frederikprijck frederikprijck deleted the fix/15645 branch January 28, 2017 14:24
gkalpak pushed a commit that referenced this pull request Jan 30, 2017
Previously, on the docs of directives which include the `animation` section, `arguments` are shown as an `h3` element below the `animation` `h2` element, making it look like it's a subsection of `animations`.

This commit ensures that the àrgument` `h3`element is rendered correctly after the `usage` `h2` element.

Fixes #15645
Closes #15646
ellimist pushed a commit to ellimist/angular.js that referenced this pull request Mar 15, 2017
Previously, on the docs of directives which include the `animation` section, `arguments` are shown as an `h3` element below the `animation` `h2` element, making it look like it's a subsection of `animations`.

This commit ensures that the àrgument` `h3`element is rendered correctly after the `usage` `h2` element.

Fixes angular#15645
Closes angular#15646
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants