Skip to content

Commit 4679a2f

Browse files
committed
shared docs folder
1 parent 6970575 commit 4679a2f

5 files changed

Lines changed: 4 additions & 117 deletions

File tree

apps/api-manager/CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414

1515
## Page layout & width
1616

17-
Follow [`page-layout.md`](../../page-layout.md) (repo root — shared with Portal) for content width on pages:
17+
Follow [`docs/page-layout.md`](../../docs/page-layout.md) (repo root — shared with Portal) for content width on pages:
1818

1919
- Default config/dashboard page wrapper is `container mx-auto max-w-7xl px-4 py-8`.
2020
- These are API configuration pages, not prose — caps exist to limit eye-scan distance and center content, not to fit small screens.
2121
- Wide tables / code blocks should break out to full width (and use `overflow-x-auto`) rather than widening the whole page.
2222

2323
## HTML best practices
2424

25-
Follow the guidelines in [`docs/playwright-friendly-html.md`](docs/playwright-friendly-html.md) when writing or modifying Svelte components:
25+
Follow the guidelines in [`docs/playwright-friendly-html.md`](../../docs/playwright-friendly-html.md) (repo root — shared with Portal) when writing or modifying Svelte components:
2626

2727
- Add `data-testid` attributes to interactive and assertable elements
2828
- Use semantic HTML and ARIA labels

apps/portal/CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ When making client-side calls to the OBP-API, use the generic proxy at `/proxy/o
66

77
## Page Layout & Width
88

9-
Follow [page-layout.md](../../page-layout.md) (repo root — shared with API Manager) for content width on pages:
9+
Follow [docs/page-layout.md](../../docs/page-layout.md) (repo root — shared with API Manager) for content width on pages:
1010

1111
- Default config/dashboard page wrapper is `container mx-auto max-w-7xl px-4 py-8`.
1212
- These are configuration pages, not prose — caps exist to limit eye-scan distance and center content, not to fit small screens.
1313
- Wide tables / code blocks should break out to full width (and use `overflow-x-auto`) rather than widening the whole page.
1414

1515
## HTML Best Practices
1616

17-
Follow the guidelines in [docs/playwright-friendly-html.md](docs/playwright-friendly-html.md) when writing HTML. Key points:
17+
Follow the guidelines in [docs/playwright-friendly-html.md](../../docs/playwright-friendly-html.md) (repo root — shared with API Manager) when writing HTML. Key points:
1818

1919
- Add `data-testid` attributes to interactive and assertable elements
2020
- Use semantic HTML and ARIA attributes for accessibility and testability

apps/portal/docs/playwright-friendly-html.md

Lines changed: 0 additions & 113 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)