Skip to content

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

Closed
@leandrodamascena

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

Metadata

Metadata

Labels

bugSomething isn't workingtriagePending triage from maintainers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions