Commit Graph

3 Commits (feat-api-uplift)

Author SHA1 Message Date
Jason Stirnaman 313fca7294 style(api): refine code samples, schema examples, and layout width
- Move Ask AI link to header bar alongside Example request title
- Use theme-aware variables for code block backgrounds and colors
- Fix schema example blocks: separate header bar from code content
- Normalize description font sizes to inherit page base size
- Keep inline code font-size proportional with font-size: inherit
- Widen API content wrapper to match regular article width (~850px)
- Remove TOC border-left at compressed viewport widths (1281-1535px)
2026-03-10 14:16:55 -05:00
Jason Stirnaman f061004c50 style(api): move Ask AI link below code block with theme-aware styling
Position the Ask AI link in a footer bar below the code sample instead
of overlaying it on the code block. Use site theme colors instead of
hardcoded values.
2026-03-09 22:12:53 -05:00
Jason Stirnaman df9c9977cf feat(api): add inline curl examples and Ask AI links to API operations
Generate curl examples at Hugo template time from OpenAPI specs, with
server URL variable resolution, $ref handling, and JSON body generation
from schema properties. Add "Ask AI about this example" links using
existing Kapa integration. Add client library related link to all
InfluxDB 3 API tag pages. Improve visual separation between operations
with distinct badge colors and response body indentation.
2026-03-07 23:00:22 -06:00