Skip to content

website/docs: Unify Docusaurus brand plugins. - #26324

Merged
GirlBossRush merged 1 commit into
mainfrom
brand-naming-fixes
Sep 24, 2026
Merged

GirlBossRush merged 1 commit into
mainfrom
brand-naming-fixes

Conversation

@GirlBossRush

Copy link
Copy Markdown
Contributor

Details

This PR moves a common step within our docs, copying static brand assets, to a Docusaurus-compatible plugin.

Once this published, a similar step in our website can be deprecated: https://github.com/goauthentik/website/blob/main/plugins/brand-assets.mts

@GirlBossRush GirlBossRush self-assigned this Sep 21, 2026
@GirlBossRush
GirlBossRush requested review from a team as code owners September 21, 2026 15:52
@GirlBossRush GirlBossRush added the area:frontend Features or issues related to the browser, TypeScript, Node.js, etc label Sep 21, 2026
@GirlBossRush GirlBossRush added the area:docs Features or issues related to Docusaurus label Sep 21, 2026
@netlify

netlify Bot commented Sep 21, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 3c42975
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6ab152aa69c9fc000812f134
😎 Deploy Preview https://deploy-preview-26324--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.12%. Comparing base (6b250cc) to head (5c280f1).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #26324      +/-   ##
==========================================
+ Coverage   92.00%   92.12%   +0.11%     
==========================================
  Files        1177     1177              
  Lines       76842    76842              
  Branches     4121     4121              
==========================================
+ Hits        70699    70790      +91     
+ Misses       6090     5999      -91     
  Partials       53       53              
Flag Coverage Δ
conformance 33.31% <ø> (+<0.01%) ⬆️
e2e 38.09% <ø> (+0.47%) ⬆️
integration 30.06% <ø> (+<0.01%) ⬆️
rust 44.79% <ø> (ø)
unit 93.61% <ø> (+<0.01%) ⬆️
unit-migrate 93.63% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@GirlBossRush
GirlBossRush enabled auto-merge (squash) September 21, 2026 16:03
@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

Download this run's HTML report, traces and server logs, then open the report:

gh run download 36017857207 -D playwright-artifacts
npx playwright show-report playwright-artifacts/playwright-report

Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-5c280f1f8b71dbde0aa5ad39c12554ec8e2cb403
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-5c280f1f8b71dbde0aa5ad39c12554ec8e2cb403

Afterwards, run the upgrade commands from the latest release notes.

@kensternberg-authentik kensternberg-authentik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not broken, but there were two things that kinda bugged me.

* @type {ReadonlyArray<AssetEntry>}
*/
const BrandAssets = [
["icon.png", "img/icon.png"],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. This is mixing two things: the behavior of the plug-in, and then the configuration of the plug-in. I feel like the actual BrandAssets definition shouldn't be part of the package; that puts it far from the thing it's branding, no?

If you change any of these, instead of just touching one file in the docs folder, you've gotta touch both this and any consumers (because the version number bumps), and that changes everyone's lock files, and ... I mean, maybe you want that so every site that uses this info gets the same set of assets, but it still feels like a compromise.

icon_top_brand.svg
icon_top_brand_colour.svg
icon_top_brand_color.svg
social.png

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This patch doesn't delete these old files; they're still there.

$ fd -I icon_left_brand_colour.svg
website/build/img/icon_left_brand_colour.svg
website/docs/build/img/icon_left_brand_colour.svg
website/static/img/icon_left_brand_colour.svg

Move the ad-hoc brand asset copying in the docs site's Docusaurus
config into a reusable @goauthentik/docusaurus-config/plugins/brand
plugin, so other sites in website/ can adopt it too.
@GirlBossRush
GirlBossRush removed the request for review from a team September 24, 2026 15:09
@GirlBossRush
GirlBossRush merged commit d6322d2 into main Sep 24, 2026
237 of 239 checks passed
@GirlBossRush
GirlBossRush deleted the brand-naming-fixes branch September 24, 2026 22:50
@github-project-automation github-project-automation Bot moved this from Todo to Done in authentik Core Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs Features or issues related to Docusaurus area:frontend Features or issues related to the browser, TypeScript, Node.js, etc

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants