Skip to main content

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

This version

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinxnotes-peopledomain-0.2.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

sphinxnotes_peopledomain-0.2-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page