Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rany2/mkdocs-no-3rd-party-plugin
An MkDocs plugin to remove 3rd party assets and download them locally.
https://github.com/rany2/mkdocs-no-3rd-party-plugin
mkdocs privacy
Last synced: 29 days ago
JSON representation
An MkDocs plugin to remove 3rd party assets and download them locally.
- Host: GitHub
- URL: https://github.com/rany2/mkdocs-no-3rd-party-plugin
- Owner: rany2
- License: mit
- Created: 2023-01-30T17:29:19.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-30T17:38:13.000Z (almost 2 years ago)
- Last Synced: 2024-04-26T02:20:55.825Z (7 months ago)
- Topics: mkdocs, privacy
- Language: Python
- Homepage: https://pypi.org/project/mkdocs-no-3rd-party-plugin/
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mkdocs-no-3rd-party-plugin
An MkDocs plugin to remove 3rd party assets and download them locally.
## Setup
Install the plugin using pip:
`pip install mkdocs-no-3rd-party-plugin`
Activate the plugin in `mkdocs.yml`:
```yaml
plugins:
- no3rdparty
```## Options
- `download_js`:
- Defaults to `True`.
- Sets whether to download 3rd party JS and provide it locally.
- `download_css`:
- Defaults to `True`.
- Sets whether to download 3rd party CSS and provide it locally.
- `directory`:
- Defaults to `3rd_party`.
- Sets the folder in which the 3rd party resources will be download and served from.