Skip to content

Converts parameter tables in HTML documentation generated by Sphinx into <div>'s.

License

Notifications You must be signed in to change notification settings

daquinteroflex/sphinxcontrib-divparams

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parameters list as <div>'s in HTML generated by Sphinx

This package is a simple Sphinx extension named divparams, which was created to bring another style to the lists of function parameters and return values in HTML files generated by Sphinx.

To make use of the dirty hack this extension provides, first, install its package from PyPI:

$ sudo pip install sphinxcontrib.divparams

and then import it into your Sphinx's conf.py and add its parameters to the lists of extensions, templates directories, and static directories:

import sphinxcontrib.divparams as divparams
extensions       = [..., 'sphinxcontrib.divparams']
templates_path   = [..., divparams.get_templates_path()]
html_static_path = [..., divparams.get_static_path()]

divparams_enable_postprocessing = True

See following links for more information. There is a broader description and a couple of nice pictures on the standalone documentation page.

About

Converts parameter tables in HTML documentation generated by Sphinx into <div>'s.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 85.4%
  • Shell 11.5%
  • HTML 1.8%
  • CSS 1.3%