Nothing Special   »   [go: up one dir, main page]

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

Adding the Author Bio to the TOC #243

Merged
merged 2 commits into from
Nov 17, 2021

Conversation

nadamsoreilly
Copy link
Collaborator

This PR updates the logic of the XSL that generates the TOC to
include the author bio in the TOC. This is done by changing the
line excluding colophons to only exclude colophons if they do not
contain the class abouttheauthor (this is standard for our boilerplate).

It also updates our XSpec testing suite to match the new behavior.

This request comes from Kristen and is based on author complaints of
how the Author Bio displays on the UCV on the Platform.

https://intranet.oreilly.com/jira/browse/TOOLSREQ-7334

Re-requesting a review because I added the XSpec commit and the time elapsed since the earlier PR.

This commit updates the logic of the XSL that generates the TOC to
include the author bio in the TOC. This is done by changing the
line excluding colophons to only exclude colophons if they do not
contain the class abouttheauthor (this is standard for our boilerplate).
Now that we are including About the Author sections in the TOC, I
updated the XSpec tests to match. To do this I added an additional
test making sure that the abouttheauthor colophon section is included
in the TOC, and adjusted the previous version of the test to indicate
that colophons without an aboutheauthor class will continue to be
excluded.
Copy link
Member
@ruralocity ruralocity left a comment

Choose a reason for hiding this comment

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

Just to double-check, should this PR be based on master or stage?

@nadamsoreilly
Copy link
Collaborator Author

Just to double-check, should this PR be based on master or stage?

The functional part of the PR has been QAed on Staging (looks like I forgot to tag you on that PR). I added the xspec test for this one, but since it's a test only change I thought it could go straight to master.

@nadamsoreilly nadamsoreilly merged commit b2436f9 into master Nov 17, 2021
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