Skip to content

Conversation

@cee-chen
Copy link
Contributor

@cee-chen cee-chen commented Dec 1, 2021

Summary

I recently saw #5401 and Caroline removing GuideSectionTypes.HTML from a PR, and thought I'd help us by removing all of these at once from the codebase thanks to the magic of VSCode regex find & replace.

Checklist

N/A, internal change / tech debt cleanup. In theory nothing should change on the production docs site since we were already skipping/not rendering HTML tabs.

- It's unlikely we'll use this again, but I can leave it if we think we will (or we can find it in source control)
@cee-chen cee-chen added skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation) tech debt labels Dec 1, 2021
@cee-chen cee-chen changed the title [Docso only] Remove HTML sources [Docs only] Remove HTML sources Dec 1, 2021
- no longer needed without renderToHtml() helper, and other test usages of html.prettyPrint were removed in elastic@50cb9e3
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_5429/

Copy link
Contributor

@elizabetdev elizabetdev left a comment

Choose a reason for hiding this comment

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

Thanks, @constancecchen! LGTM! 🎉

I basically looked at the code and your magic of VSCode regex find & replace seems to work well!

Goodbye HTML sources! 👋🏽

@cee-chen
Copy link
Contributor Author

cee-chen commented Dec 3, 2021

Thanks Elizabet!!

@chandlerprall or @thompsongl do either of y'all want to look at this real quick to confirm that we likely won't need the renderToHtml helper going forward, or the html dev dependency?

@chandlerprall
Copy link
Contributor

Thanks Elizabet!!

@chandlerprall or @thompsongl do either of y'all want to look at this real quick to confirm that we likely won't need the renderToHtml helper going forward, or the html dev dependency?

Confirmed, this is fantastic!

@cee-chen cee-chen merged commit 17bc7f6 into elastic:main Dec 3, 2021
@cee-chen cee-chen deleted the docs-remove-html branch December 3, 2021 18:06
@diegozubieta95 diegozubieta95 mentioned this pull request Mar 24, 2022
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation) tech debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants