Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TOC] Fix bug to render TOC on section content pages (Shopify#10473)
### WHY are these changes introduced? Fixes Shopify#10472. Fixes issue where Table of Contents was not rendering on content pages. ### WHAT is this pull request doing? Updates conditional logic to render TOC on content pages. Adds in missing title and description on Polaris-Migrator page. Resolves console warning regarding source element `srcset` attribute. <details> <summary>Warning example</summary> <img src="https://github.com/Shopify/polaris/assets/26749317/d68f9e91-5871-40bf-8f08-d40c9632bd76" alt="Warning example"> </details> <!-- ℹ️ Delete the following for small / trivial changes --> ### How to 🎩 🖥 [Local development instructions](https://github.com/Shopify/polaris/blob/main/README.md#local-development) 🗒 [General tophatting guidelines](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md) 📄 [Changelog guidelines](https://github.com/Shopify/polaris/blob/main/.github/CONTRIBUTING.md#changelog) ### 🎩 checklist - [x] Tested on [mobile](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md#cross-browser-testing) - [x] Tested on [multiple browsers](https://help.shopify.com/en/manual/shopify-admin/supported-browsers) - [ ] Tested for [accessibility](https://github.com/Shopify/polaris/blob/main/documentation/Accessibility%20testing.md) - [ ] Updated the component's `README.md` with documentation changes - [ ] [Tophatted documentation](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting%20documentation.md) changes in the style guide
- Loading branch information