Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.
/ peopledomain Public archive

A sphinx extension, provides domain for describing people.

License

Notifications You must be signed in to change notification settings

sphinx-notes/peopledomain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sphinxnotes-peopledomain

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

About

A sphinx extension, provides domain for describing people.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages