Sphinx domain for describing people
Project description
Sphinx domain for describing people.
If you use sphinx as blog, you can use this domain to manange your friends link.
Installation
pip install sphinxnotes-peopledomain
Configuration
Add 'sphinxnotes.peopledomain' to the extensions list in conf.py:
extensions = [ 'sphinxnotes.peopledomain' ]
Usage
For now, this package provides a domain named ppl.
To create a description of your friend, use friend directive:
.. ppl:friend:: SilverRainZ :homepage: https://silverrainz.me Human.
Then you can use role :ppl:friend:`SilverRainZ` to refer him. It will be rendered as “@SilverRainZ” with the appropriate link.
Changelog
- 0.1
Provide the “ppl” domain, “friend” directive and “friend” role.
- 0.2
Reanme the namespace from “sphinxcontrib” to “sphinxnotes”
Fix the import error of make_id
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 sphinxnotes-peopledomain-0.2.tar.gz
.
File metadata
- Download URL: sphinxnotes-peopledomain-0.2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34f0374efddb09a12e4a022a6f74805c1567c0c974249fc1e6b477700dad07e7 |
|
MD5 | 20d5ec0bce81577705361e0fb68d3d3b |
|
BLAKE2b-256 | c8ec925ba3ee611b465f8d9a334347337a49240febb647e79be9a76e34dea343 |
File details
Details for the file sphinxnotes_peopledomain-0.2-py3-none-any.whl
.
File metadata
- Download URL: sphinxnotes_peopledomain-0.2-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01387b86ff06f820aa09966198f7965dad2e0e9ace16194a079a556415dc7db9 |
|
MD5 | fc8d2677e975c104d6aa9c92752b0603 |
|
BLAKE2b-256 | 4b10395d00a1e80eae7aad8a8f23d1a8d3d589ad4b9fbe3dd4f07d893b879172 |