Supernova-Studio / exporter-documentation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fixes & small UX improvements of the documentation styling

honzatmn opened this issue · comments

Description

A collection of fixes and small improvements for Default Documentation Exporter, usually reported by customers.

Related resources

Slack discussion: across several channels, also reported by customers

User docs ticket: none

Wireframe

  • none

Design

  • none

Acceptance criteria

  1. Images now use Caption as alt text. If there is no caption, the alt is empty. Test here
  2. It's possible to copy the code with "Copy" button on the code block. Test here
  3. If the page has tabs, they stay sticky when the page is scrolled. Test here
  4. Icons in Callout block are now displayed also in Safari. Test here
  5. A font in tables gets boldened the same way as in the editor – header column and row are bold automatically, the other cells only when the text inside is bold. Test here
  6. Spacing in the ordered list is aligned with the other blocks vertically. Test here
  7. Typography tokens have a preview matching the token definition, not a general one. Test here

Tested

AC1 - passed
AC2 - passed
AC3 - passed
AC4 - passed
AC5 - passed
AC6 - passed
AC7 - passed

Tested on PROD, can be reviewed now

Added to RS, can be closed now