A Sphinx extension that enables watermarks for HTML output.
Project description
sphinxmark is an extension for Sphinx that enables watermarks for HTML output.
Full documentation: https://kallimachos.github.io/sphinxmark/
Usage
Install sphinxmark:
$ pip install sphinxmark
Add sphinxmark to the list of extensions in conf.py:
extensions = ['sphinxmark']
Specify a static directory in conf.py for your image files. If the path does not exist, the sphinxmark extension creates the directory and populates it with watermark.css and watermark-draft.png:
html_static_path = ['_static']
Configure sphinxmark in conf.py as required:
watermark_enable = True watermark_image = 'default' watermark_div = 'default' watermark_debug = False
Put images in your static directory and use the watermark_image option to specify a custom watermark image.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sphinxmark-0.1.2.tar.gz
.
File metadata
- Download URL: sphinxmark-0.1.2.tar.gz
- Upload date:
- Size: 29.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e712330b488066931b4777fa4e1320ed59a6a648843028484cee9caff408ef6 |
|
MD5 | 97af1a2713b0d29644ac6ae601292220 |
|
BLAKE2b-256 | ec337ffe734c557f6540aac46a52dec9235a9f5fc3973749ce01db6b31a30c36 |
File details
Details for the file sphinxmark-0.1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: sphinxmark-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 29.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8a7bf52b68e0332327fac0fcef7fb0b51c1e85c25f63973d26d58636c9360c9 |
|
MD5 | df1241c1c738ce0337b3334e441641f0 |
|
BLAKE2b-256 | 29fdb23a5de451f671622f49e185ef0e229a8cfc0c3b36e5411110b1192a4cc9 |