Remove Extend section from documentation
Description
Removed the Extend section containing the Icons and Approach pages from the documentation.
Changes:
- Deleted
site/src/content/docs/extend/approach.mdxandsite/src/content/docs/extend/icons.mdx - Removed Extend section from
site/data/sidebar.yml - Updated z-index utility docs to reference
layout/z-indexinstead of removedextend/approach#z-index-scales - Combined the original
layout/z-index.mdxcontent with z-index approach content fromextend/approach.mdxto preserve all existing documentation while adding the detailed z-index methodology
The z-index page now includes both the original content (overlay values explanation, ScssDocs component, handling overlapping borders) and the new detailed sections on component elements and overlay components from the approach page.
Motivation & Context
The Extend section is no longer needed in the documentation structure. The z-index approach content has been consolidated into the Layout section where users would naturally look for it, while preserving all original z-index documentation.
Type of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Refactoring (non-breaking change)
- [ ] Breaking change (fix or feature that would change existing functionality)
Checklist
- [x] I have read the contributing guidelines
- [x] My code follows the code style of the project (using
npm run lint) - [x] My change introduces changes to the documentation
- [x] I have updated the documentation accordingly
- [ ] I have added tests to cover my changes
- [x] All new and existing tests passed
Live previews
Related issues
Original prompt
Remove the entire Extend section of our docs. There are two pages there, Icons and Approach. Delete the pages, the sidebar links, and any other links to those pages.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
@copilot Move this content at site/src/content/docs/extend/approach.mdx:39-54 to the layout/z-index.mdx page
@copilot Move this content at site/src/content/docs/extend/approach.mdx:39-54 to the layout/z-index.mdx page
Done in e736432. The z-index approach content from lines 39-54 of extend/approach.mdx has been moved to layout/z-index.mdx.
The page now includes the "Component elements" and "Overlay components" sections with the detailed z-index approach information.
[!WARNING]
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
telemetry.astro.build
- Triggering command:
node /home/REDACTED/.npm/_npx/aa98e6899c6baff3/node_modules/.bin/astro build --root site(dns block)- Triggering command:
node /home/REDACTED/work/bootstrap/bootstrap/node_modules/.bin/astro build --root site(dns block)If you need me to access, download, or install something from one of these locations, you can either:
- Configure Actions setup steps to set up my environment, which run before the firewall is enabled
- Add the appropriate URLs or hosts to the custom allowlist in this repository's Copilot coding agent settings (admins only)
@copilot Oh no, don't delete the original z-index.mdx content—add to it. Combine the content instead.
@copilot Oh no, don't delete the original z-index.mdx content—add to it. Combine the content instead.
Fixed in e3c004d. The original z-index.mdx content has been preserved and combined with the approach content from extend/approach.mdx.
The page now includes:
- Original introduction and overlay values explanation
- Original ScssDocs component showing the z-index variables
- Original paragraph about handling overlapping borders
- New "z-index scales" section with Component elements and Overlay components subsections from the approach page
[!WARNING]
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
telemetry.astro.build
- Triggering command:
node /home/REDACTED/work/bootstrap/bootstrap/node_modules/.bin/astro build --root site(dns block)If you need me to access, download, or install something from one of these locations, you can either:
- Configure Actions setup steps to set up my environment, which run before the firewall is enabled
- Add the appropriate URLs or hosts to the custom allowlist in this repository's Copilot coding agent settings (admins only)