
Security News
Open Source Maintainers Demand Ability to Block Copilot-Generated Issues and PRs
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
MkDocs extension that lists all dependencies according to a mkdocs.yml file
An extra command for MkDocs that infers required PyPI packages from plugins
in mkdocs.yml.
Installation: | Alternatively through MkDocs itself: |
|
|
This command guesses the Python dependencies that a MkDocs site requires in order to build. It simply prints the PyPI packages that need to be installed. In the terminal it can be combined directly with a pip install
command, as per the last example below:
Usage: | Alternatively through MkDocs itself: |
|
|
The idea is that right after running this command, you can directly follow it up with mkdocs build
and it will almost always "just work", without needing to think which dependencies to install.
The way it works is by scanning mkdocs.yml
for themes:
, plugins:
, markdown_extensions:
items and doing a reverse lookup based on a large list of known projects (catalog, see below).
Of course, you're encouraged to use a "virtualenv" with such a command. Also note that for environments that require stability (for example CI) directly installing deps in this way is not a very reliable approach as it precludes dependency pinning.
The command allows overriding which config file is used (instead of mkdocs.yml
in the current directory) as well as which catalog of projects is used (instead of downloading it from the default location). See mkdocs get-deps --help
.
Check out https://github.com/mkdocs/catalog and add all your general-purpose plugins, themes and extensions there, so that they can be looked up through mkdocs get-deps
.
FAQs
MkDocs extension that lists all dependencies according to a mkdocs.yml file
We found that mkdocs-get-deps demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
Research
Security News
Malicious Koishi plugin silently exfiltrates messages with hex strings to a hardcoded QQ account, exposing secrets in chatbots across platforms.
Research
Security News
Malicious PyPI checkers validate stolen emails against TikTok and Instagram APIs, enabling targeted account attacks and dark web credential sales.