This project has been archived by its maintainers, and is no longer receiving any updates.
MkDocs-htmlextradata-plugin
Плагин MkDocs, который вводит дополнительную переменную extradata в html-шаблон. Данная переменная попадает в контекст страницы, если файл .yml называется так же ка странца .md
Установка
Установите пакет с помощью pip или poetry:
pip install htmlextradata
or
poetry add htmlextradata
Включите плагин в вашем "mkdocs.yml`:
plugins:
- search
- htmlextradata
или
plugins:
- search
- htmlextradata:
data: path/to/datafiles
По умолчанию он будет искать в папке, где хранится ваш mkdocs.yml, и в папке docs другую папку с именем _extradata (т.е. ./docs/_extradata/mtrs.yaml), доступную в шаблоне как {{ extradata }}, если есть страница с таким именем.
Metadata
Release files for htmlextradata 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| htmlextradata-0.1.4.tar.gz | 2.8 kB | Without provenance | Details for htmlextradata-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| htmlextradata-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for htmlextradata-0.1.4-py3-none-any.whl |
Total release size: 6.0 kB
Release files / htmlextradata-0.1.4.tar.gz
| Download URL | htmlextradata-0.1.4.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
742893707920169e09dd701b667dc75601cb74156a93f06ed7b323ac952a037e
|
|
BLAKE2b-256 checksum How to use checksums |
ba91e96ede5de6abdba8bd2873b1b475766577a2c80e965c60b2144350b689eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.6 Darwin/23.0.0
|
Release files / htmlextradata-0.1.4-py3-none-any.whl
| Download URL | htmlextradata-0.1.4-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
88e2affff76c2c15b5e4e1da9dc5df18145d04bf6393012ec6028051a793f0af
|
|
BLAKE2b-256 checksum How to use checksums |
4f89995d7eab0716677be4aff64be0e4e608d55a5c298f788c122ff7ba97fdda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.6 Darwin/23.0.0
|
Security for htmlextradata 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.