Skip to content

website: Auto-categories. - #18273

Merged
GirlBossRush merged 4 commits into
mainfrom
auto-categories
Jul 1, 2026
Merged

GirlBossRush merged 4 commits into
mainfrom
auto-categories

Conversation

@GirlBossRush

@GirlBossRush GirlBossRush commented Nov 19, 2025 •

Copy link
Copy Markdown
Contributor

Details

Replaces the hand-maintained sidebar.mjs (~1000 lines) with an autogenerated one, following the same pattern the integrations site already uses. Top-level order and labels live in categories.mjs; everything under each section is generated from the folder tree.

Ordering and labels the static sidebar encoded are kept as sidebar_position/sidebar_label frontmatter, plus _category_.json for folders with no index doc. Workflow-ordered sections (Providers, Add and Secure Apps, Users and Sources) keep their sequence; flat topic lists stay alphabetical.

Docs the old sidebar had orphaned (sys-mgmt/tenancy, providers/radius) now appear automatically.

@netlify

netlify Bot commented Nov 19, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit c4064ee
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/691dec5515a418000830a926

@netlify

netlify Bot commented Nov 19, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 0cf7fd5
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a4541addc9fb60008cafcb4
😎 Deploy Preview https://deploy-preview-18273--authentik-integrations.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.

@netlify

netlify Bot commented Nov 19, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 0cf7fd5
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a4541ad763bf70008eeb92b
😎 Deploy Preview https://deploy-preview-18273--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 Nov 19, 2025 •

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
3610 1 3609 1
View the top 1 failed test(s) by shortest run time
tests.openid_conformance.test_oidc_implicit.TestOpenIDConformanceImplicit::test_oidcc_implicit_certification_test_plan
Stack Traces | 72.2s run time
self = <unittest.case._Outcome object at 0x7faf20f29400>
test_case = <tests.openid_conformance.test_oidc_implicit.TestOpenIDConformanceImplicit testMethod=test_oidcc_implicit_certification_test_plan>
subTest = False

    @contextlib.contextmanager
    def testPartExecutor(self, test_case, subTest=False):
        old_success = self.success
        self.success = True
        try:
>           yield

.../hostedtoolcache/Python/3.14.6........./x64/lib/python3.14/unittest/case.py:58: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.openid_conformance.test_oidc_implicit.TestOpenIDConformanceImplicit testMethod=test_oidcc_implicit_certification_test_plan>
result = <TestCaseFunction test_oidcc_implicit_certification_test_plan>

    def run(self, result=None):
        if result is None:
            result = self.defaultTestResult()
            startTestRun = getattr(result, 'startTestRun', None)
            stopTestRun = getattr(result, 'stopTestRun', None)
            if startTestRun is not None:
                startTestRun()
        else:
            stopTestRun = None
    
        result.startTest(self)
        try:
            testMethod = getattr(self, self._testMethodName)
            if (getattr(self.__class__, "__unittest_skip__", False) or
                getattr(testMethod, "__unittest_skip__", False)):
                # If the class or method was skipped.
                skip_why = (getattr(self.__class__, '__unittest_skip_why__', '')
                            or getattr(testMethod, '__unittest_skip_why__', ''))
                _addSkip(result, self, skip_why)
                return result
    
            expecting_failure = (
                getattr(self, "__unittest_expecting_failure__", False) or
                getattr(testMethod, "__unittest_expecting_failure__", False)
            )
            outcome = _Outcome(result)
            start_time = time.perf_counter()
            try:
                self._outcome = outcome
    
                with outcome.testPartExecutor(self):
>                   self._callSetUp()

.../hostedtoolcache/Python/3.14.6........./x64/lib/python3.14/unittest/case.py:665: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.openid_conformance.test_oidc_implicit.TestOpenIDConformanceImplicit testMethod=test_oidcc_implicit_certification_test_plan>

    def _callSetUp(self):
>       self.setUp()

.../hostedtoolcache/Python/3.14.6........./x64/lib/python3.14/unittest/case.py:612: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = (<tests.openid_conformance.test_oidc_implicit.TestOpenIDConformanceImplicit testMethod=test_oidcc_implicit_certification_test_plan>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
        for file in files:
            content = BlueprintInstance(path=file).retrieve()
            Importer.from_string(content).apply()
>       return func(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^

.../blueprints/tests/__init__.py:25: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = (<tests.openid_conformance.test_oidc_implicit.TestOpenIDConformanceImplicit testMethod=test_oidcc_implicit_certification_test_plan>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
        for file in files:
            content = BlueprintInstance(path=file).retrieve()
            Importer.from_string(content).apply()
>       return func(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^

.../blueprints/tests/__init__.py:25: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = (<tests.openid_conformance.test_oidc_implicit.TestOpenIDConformanceImplicit testMethod=test_oidcc_implicit_certification_test_plan>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
        for file in files:
            content = BlueprintInstance(path=file).retrieve()
            Importer.from_string(content).apply()
>       return func(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^

.../blueprints/tests/__init__.py:25: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = (<tests.openid_conformance.test_oidc_implicit.TestOpenIDConformanceImplicit testMethod=test_oidcc_implicit_certification_test_plan>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
        config = apps.get_app_config(app_name)
        if isinstance(config, ManagedAppConfig):
            config._on_startup_callback(None)
>       return func(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^

.../blueprints/tests/__init__.py:43: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = (<tests.openid_conformance.test_oidc_implicit.TestOpenIDConformanceImplicit testMethod=test_oidcc_implicit_certification_test_plan>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
        for file in files:
            content = BlueprintInstance(path=file).retrieve()
            Importer.from_string(content).apply()
>       return func(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^

.../blueprints/tests/__init__.py:25: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.openid_conformance.test_oidc_implicit.TestOpenIDConformanceImplicit testMethod=test_oidcc_implicit_certification_test_plan>

    @apply_blueprint(
        "default/flow-default-authentication-flow.yaml",
        "default/flow-default-invalidation-flow.yaml",
    )
    @apply_blueprint(
        "default/flow-default-provider-authorization-implicit-consent.yaml",
        "default/flow-default-provider-invalidation.yaml",
    )
    @apply_blueprint("system/providers-oauth2.yaml")
    @reconcile_app("authentik_crypto")
    @apply_blueprint("testing/oidc-conformance.yaml")
    def setUp(self):
>       super().setUp()

tests/openid_conformance/base.py:32: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.openid_conformance.test_oidc_implicit.TestOpenIDConformanceImplicit testMethod=test_oidcc_implicit_certification_test_plan>

    def setUp(self):
>       super().setUp()

tests/live.py:71: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.openid_conformance.test_oidc_implicit.TestOpenIDConformanceImplicit testMethod=test_oidcc_implicit_certification_test_plan>

    def setUp(self):
        super().setUp()
>       self.driver = self._get_driver()
                      ^^^^^^^^^^^^^^^^^^

tests/selenium.py:43: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.openid_conformance.test_oidc_implicit.TestOpenIDConformanceImplicit testMethod=test_oidcc_implicit_certification_test_plan>

    def _get_driver(self) -> WebDriver:
        count = 0
        opts = webdriver.ChromeOptions()
        opts.accept_insecure_certs = True
        opts.add_argument("--disable-search-engine-choice-screen")
        opts.add_extension(self._get_chrome_extension())
        # This breaks selenium when running remotely...?
        # opts.set_capability("goog:loggingPrefs", {"browser": "ALL"})
        opts.add_experimental_option(
            "prefs",
            {
                "profile.password_manager_leak_detection": False,
            },
        )
        while count < RETRIES:
            try:
                driver = webdriver.Remote(
                    command_executor="http://localhost:4444/wd/hub",
                    options=opts,
                )
                driver.maximize_window()
                return driver
            except WebDriverException as exc:
                self.logger.warning("Failed to setup webdriver", exc=exc)
                count += 1
>       raise ValueError(f"Webdriver failed after {RETRIES}.")
E       ValueError: Webdriver failed after 3.

tests/selenium.py:72: ValueError

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@github-actions

github-actions Bot commented Nov 19, 2025 •

Copy link
Copy Markdown
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-0cf7fd5c43c19d3cafab0c7960041281a971f854
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-0cf7fd5c43c19d3cafab0c7960041281a971f854

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

@dewi-tik dewi-tik self-assigned this Dec 3, 2025
@dewi-tik dewi-tik added the area:docs Features or issues related to Docusaurus label Dec 3, 2025
@GirlBossRush GirlBossRush assigned GirlBossRush and unassigned BeryJu Jan 30, 2026
Autogenerated categories default to alphabetical, which dropped the
hand-curated order and labels the previous static sidebar encoded. Pin
the intentional workflow orderings (Providers, Add and Secure Apps,
Users and Sources, Installation/Configuration first) and the essential
custom labels via sidebar_position/sidebar_label frontmatter, matching
the integrations site convention. Flat topic lists (System Management,
Troubleshooting articles) stay alphabetical.

Index-less category folders (Installation, Operations, Audits and
Certificates, CVEs, Logs, PostgreSQL, Interfaces, Flows and Stages)
carry a minimal _category_.json since they have no index doc to hold
frontmatter. Auto-categories also surfaces docs the old hand sidebar
had orphaned (sys-mgmt/tenancy, providers/radius).
Sections whose folder has a root index doc (Enterprise, Installation and
Configuration, Customize, Endpoint Devices) now link the category label
to that doc, so clicking the section navigates to it. The index renders
as the first child at position 0, labelled "Overview" via frontmatter.
Sections without an index doc stay non-clickable.

@dominic-r dominic-r left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

!!!

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Jul 1, 2026
@GirlBossRush
GirlBossRush merged commit bc65220 into main Jul 1, 2026
108 of 110 checks passed
@GirlBossRush
GirlBossRush deleted the auto-categories branch July 1, 2026 17:33
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Jul 1, 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

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants