Skip to content

Bug: Update the mkdocs configuration to support pymdown-extensions 10.0 #2270

Closed

Description

@leandrodamascena

Expected Behaviour

Due to a CVE we need to add an extra configuration in mkdocs.yml to support the pymdown-extensions version 10.0.

Current Behaviour

If we update the version without changing the configuration, we get this error

poetry run mkdocs serve           
INFO     -  Building documentation...
INFO     -  Cleaning site directory
WARNING  -  A relative path to 'api/" target="_blank' is included in the 'nav' configuration, which is not found in the documentation files
ERROR    -  Error reading page 'core/logger.md': Snippet at path 'examples/logger/sam/template.yaml' could not be found

Code snippet

poetry install pymdown-extensions@10.0
poetry run mkdocs serve

Possible Solution

No response

Steps to Reproduce

poetry install pymdown-extensions@10.0
poetry run mkdocs serve

AWS Lambda Powertools for Python version

latest

AWS Lambda function runtime

3.7

Packaging format used

PyPi

Debugging logs

No response

Activity

  1. added
    bug
    triage
    on May 16, 2023
  2. added
    pending-release
    on May 16, 2023
  3. github-actions commented on May 16, 2023

    @github-actions
    Contributor

    ⚠️COMMENT VISIBILITY WARNING⚠️

    This issue is now closed. Please be mindful that future comments are hard for our team to see.

    If you need more assistance, please either tag a team member or open a new issue that references this one.

    If you wish to keep having a conversation with other community members under this issue feel free to do so.

  4. github-actions commented on Jun 2, 2023

    @github-actions
    Contributor

    This is now released under 2.16.1 version!

  5. removed
    pending-release
    on Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugtriage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions