backstage / backstage/mkdocs-monorepo-plugin

Bug - SyntaxWarning: "\." is an invalid escape sequence

Open
#147 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
400
Forks
80
PR merge metrics
No merged PRs in 30d

Description

I get the following warning when building `MkDocs` documentation using the `monorepo` plugin:

```sh
SyntaxWarning: "\." is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\."? A raw string is also an option.

File ".venv/lib/python3.14/site-packages/mkdocs_monorepo_plugin/plugin.py", line 19, in
from .parser import Parser
```

Details:
- Python version: 3.14.2
- monorepo version: 1.1.1
- MkDocs version: 1.6.1

Contributor guide

Open the contributing guide

Research direction

Start with the installed plugin.py at line 19 and follow its import of parser.py; inspect the relevant source for the invalid escape sequence reported during the MkDocs build. Reproduce the warning with the documented Python 3.14.2, monorepo 1.1.1, and MkDocs 1.6.1 versions, then verify that the build completes without this SyntaxWarning.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.