Skip to content

(docs) https://node.testcontainers.org/ website has js errors in console #948

@digital88

Description

@digital88

Expected Behaviour
When opening docs, no errors in browser console, sidebar nav is working

Actual Behaviour
Errors in browser console, side nav is broken (can't scroll)

To reproduce

Open this link https://node.testcontainers.org/modules/azurite/ then open devtools (F12)
Error in console:

Image

This error block some scripts on page from running, breaking side nav.

Source of error is mkdocs.yml configuration, here is discussion about same issue: squidfunk/mkdocs-material#5703

To fix (as suggested in discussion):

Image

I have tested fix in compose, navigating to modules page no longer throws errors.

Will make PR soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    maintenanceImprovements that do not change functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions