Skip to content

docs: Edit and cleanup pass - #249

Merged
crandmck merged 6 commits into
mainfrom
docs/github-only-class
Jul 30, 2026
Merged

docs: Edit and cleanup pass#249
crandmck merged 6 commits into
mainfrom
docs/github-only-class

Conversation

@crandmck

Copy link
Copy Markdown
Contributor
  • Use github-only CSS class instead of inline display:none style to hide content in Docusaurus but still display in the GitHub web interface.

crandmck added 3 commits July 23, 2026 13:20
Switches the GitHub-only content divs to class="github-only" (already
defined in opensource.contentauth.org's custom.css) instead of the
style={{display: 'none'}} JSX trick, which only works because it's
invalid CSS on GitHub. The class-based approach is plain HTML and
renders correctly everywhere.
@crandmck
crandmck marked this pull request as ready for review July 29, 2026 20:36
@crandmck
crandmck requested review from gpeacock and tmathern July 29, 2026 20:36
Comment thread docs/embeddable-api.md Outdated
@crandmck
crandmck merged commit 357f0fc into main Jul 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants