Hacker News new | ask | show | jobs
by TZVdosOWs3kZHus 359 days ago
No more dependency problems with mkdocs I ran into before every other month:

  uvx --with mkdocs-material --with mkdocs-material-extensions --with mkdocs-nav-weight mkdocs serve -a localhost:1337
Funnily enough it also feels like it is starting faster.
1 comments

Is there a reason you didn’t explicitly pull in mkdocs as a dependency in that invocation? I guess uv will expose it/let you run it anyways due to the fact that it’s required by everything else you did specify.
its a `uvx` call, so the tool being invoked is `mkdocs`, and all the other dependencies are additions on top of that