Skip to content

fix(aio): allow empty titles for contents pages#16149

Merged
petebacondarwin merged 1 commit intoangular:masterfrom
petebacondarwin:aio-allow-empty-titles
Apr 19, 2017
Merged

fix(aio): allow empty titles for contents pages#16149
petebacondarwin merged 1 commit intoangular:masterfrom
petebacondarwin:aio-allow-empty-titles

Conversation

@petebacondarwin
Copy link
Copy Markdown
Contributor

Now if you specifically provide an empty @title tag
for a contents file, the doc-gen will not complain and
the browser will just display a reasonable default.

See #16089 (comment)

Copy link
Copy Markdown
Member

@gkalpak gkalpak left a comment

Choose a reason for hiding this comment

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

LGTM as soon as Travis is happy.

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.

I wouldn't mind having a non-empty name too (just to cover more cases).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

added

@mary-poppins
Copy link
Copy Markdown

The angular.io preview for 2de87aab3840c7dc5c023cd44811ce5fd6c8d38b is available here.

@petebacondarwin
Copy link
Copy Markdown
Contributor Author

I fixed a typo in the commit message

@mary-poppins
Copy link
Copy Markdown

The angular.io preview for 19fce980c14315c74f2de1db3d054b0ca94b4abc is available here.

Now if you specifically provide an empty `@title` tag
for a contents file, the doc-gen will not complain and
the browser will just display a reasonable default.
@petebacondarwin petebacondarwin force-pushed the aio-allow-empty-titles branch from 19fce98 to 2f00738 Compare April 19, 2017 09:32
@mary-poppins
Copy link
Copy Markdown

The angular.io preview for 2f00738 is available here.

@petebacondarwin petebacondarwin merged commit 51098c4 into angular:master Apr 19, 2017
@petebacondarwin petebacondarwin deleted the aio-allow-empty-titles branch April 20, 2017 08:33
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 11, 2019
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.

4 participants