Skip to content

Uncaught TypeError: exports is undefined #128

@Martiix

Description

@Martiix

Describe the bug

I am using sphinx tabs in a sphinx project and it works nicely.

However in the network tab under "inspect element" in the browser I see the following error:
image
image

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://support.zivid.com/latest/rst/reference-articles/zivid-3d-camera-technology/calculate-3d-capture-speed.html
  2. Right click and press inspect
  3. Open the network tab
  4. Refresh page
  5. See error

Atm these can be displayed on the website on this url:
https://support.zivid.com/latest/rst/reference-articles/zivid-3d-camera-technology/calculate-3d-capture-speed.html
or
https://support.zivid.com/latest/rst/academy/samples.html
remember to reload the page while the network tab is open to reproduce.

It also appears when building the documentation using localhost with the auto-build expansion

Expected behavior

No errors, like corresponding pages without tabs:
image

Actual behavior:

image

Environment

  • Python Version [e.g. 3.7.1]: python==3.8.10
  • Sphinx-tabs: sphinx-tabs==3.0.0
  • Sphinx: sphinx==4.0.2
  • Package versions or output of jupyter-book --version: Not in use
  • Operating System: Built using Ubuntu 20.04

Additional context

Nothing

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions