Skip to main content

teedoc-plugin-assets

Add css and js items(/files) to pages or other custom items to pages

site_config.json:

{
    "route": {
            "assets": {
                "/static/": "static",
            },
        },
    "plugins": {
        "teedoc-plugin-assets":{
            "from": "pypi",
            "config": {
                "header_items": [
                    "/static/css/custom.css",
                    "<meta name=\"plugin-assets\" content=\"example meta item\">"
                ],
                "footer_items": [
                    "/static/css/custom.js"
                ],
                "env":{
                    "main_color": "#000000"
                }
            }
        },
    }
}

custom.css:

a {
    color: ${main_color}
}

Metadata

Release files for teedoc-plugin-assets 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for teedoc-plugin-assets 1.1.2
File Size Uploaded Provenance Actions
teedoc-plugin-assets-1.1.2.tar.gz 3.9 kB Without provenance Details for teedoc-plugin-assets-1.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for teedoc-plugin-assets 1.1.2
File Interpreter ABI Platform Actions
teedoc_plugin_assets-1.1.2-py3-none-any.whl Python 3 none any Details for teedoc_plugin_assets-1.1.2-py3-none-any.whl

Total release size: 7.9 kB

Release files / teedoc-plugin-assets-1.1.2.tar.gz

Download URL teedoc-plugin-assets-1.1.2.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f6d038df885068e0e64cdd738c1015acd9aa6eea086f2177233a917d84f55854
BLAKE2b-256 checksum
How to use checksums
bd41813081b65a26b31f6e327c4f8bd23ff005f3e610de9f1de57576ec04a551
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

Release files / teedoc_plugin_assets-1.1.2-py3-none-any.whl

Download URL teedoc_plugin_assets-1.1.2-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa820f3771dca25b9be4c89ba8b75a694863c4a0cce9c3110b46d502a158b860
BLAKE2b-256 checksum
How to use checksums
e8c575705dbb8704fc68702223180b630f9c2d9997ec607d79f297838d994c81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

Security for teedoc-plugin-assets 1.1.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page