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 noindex attribute to document element #64

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

TylerZeroMaster
Copy link
Contributor

part of openstax/ce#2240

Supports values 'true' and 'false'

Supports values 'true' and 'false'
@TylerZeroMaster TylerZeroMaster requested a review from a team June 17, 2024 21:16
@TylerZeroMaster TylerZeroMaster self-assigned this Jun 17, 2024
Copy link
Member

@philschatz philschatz left a comment

Choose a reason for hiding this comment

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

👍

<attribute name="noindex">
<choice>
<value>true</value>
<value>false</value>
Copy link
Member

Choose a reason for hiding this comment

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

Do we denote 2 ways to describe "false" in other places? I don't remember, just hoping to keep things consistent. Also, if the only possible value is "true" then autocomplete might be faster.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There are many other attributes that are defined this way. I think removing false as an option is a good idea. POET is already using this definition on the main branch, so I will merge this PR and then remove false in a different PR to try to keep things consistent.

@TylerZeroMaster TylerZeroMaster merged commit 314dcfb into poet-schema Jul 2, 2024
@TylerZeroMaster TylerZeroMaster deleted the 2240-add-noindex-document-attribute branch July 2, 2024 15:56
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.

2 participants