Skip to content

Commit 92cb7ed

Browse files
committed
[union] Preserve release import guidance
1 parent db1b836 commit 92cb7ed

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

site/guides/19_agents.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,10 @@ All code examples in a guide file are concatenated and executed as a test:
568568

569569
When adding a new feature:
570570

571+
- Never alias imports in release-note examples to avoid shared-scope name
572+
collisions. Import each symbol unaliased once in the most recent applicable
573+
example, and remove conflicting imports from later examples in the page.
574+
571575
1. **Update `/site/guides/20_releases.md`** (NOT `/releases.md`):
572576
- Add new version section at the top
573577
- Include working code example that will be tested

0 commit comments

Comments
 (0)