Skip to content

Instant Preview w/ Content Tab #6875

@santaimpersonator

Description

@santaimpersonator

Context

No response

Bug description

When enabling the instant preview feature, the rendering of a linked content tab only show the tabs and not the content below:
image

Related links

Reproduction

Unfortunately, the build file for the reproduction was 80MB (and too big); probably due to all the images stored. (*I'll work on processing my commits to the project, so I can submit a reproduction later this week)

However, the site can be reproduced from our repository:
https://github.com/sparkfun/SparkFun_GNSS_mosaic-X5

Just enable the instant preview feature globally:

# Configuration for webpage theme
theme:
  # Features to Include (ref. theme documentation)
  features:
    # Enables instant previews globally, for all internal links
    - navigation.instant.preview

Steps to reproduce

  1. Clone our repo: https://github.com/sparkfun/SparkFun_GNSS_mosaic-X5
  2. Enable the instant preview feature globally in the mkdocs.yml file
    # Configuration for webpage theme
    theme:
      # Features to Include (ref. theme documentation)
      features:
        # Enables instant previews globally, for all internal links
        - navigation.instant.preview
  3. Install the mkdocs-material v9.5.12 + insiders v4.53.0
  4. Install the required plugins (or disable them in the mkdocs.yml file)
    sudo apt-get install pngquant
    pip install mkdocs-monorepo-plugin mkdocs-redirects mkdocs-git-authors-plugin mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2 Pillow 'mkdocs-material[imaging]'
  5. Serve the site locally
    mkdocs serve
  6. Navigate to a section, where the PPS Output section is linked and hover over it

Browser

Chrome

Before submitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    not feasibleIssue requests something impracticable

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions