BSD Ports

textproc/py-sphinx 9.1.0 NetBSD

Python documentation generator

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
e8ceda1a21
License
modified-bsd
Categories
textproc, python
Package size
2392.2 KiB, 22165.5 KiB installed

Description

Sphinx is a tool that makes it easy to create intelligent and beautiful documentation for Python projects (or other documents consisting of multiple reStructuredText sources), written by Georg Brandl. It was originally created to translate the new Python documentation, but has now been cleaned up in the hope that it will be useful to many other projects.

Sphinx uses reStructuredText as its markup language, and many of its strengths come from the power and straightforwardness of reStructuredText and its parsing and translating suite, the Docutils.

Although it is still under constant development, the following features are already present, work fine and can be seen "in action" in the Python docs: * Output formats: HTML (including Windows HTML Help), plain text and LaTeX, for printable PDF versions * Extensive cross-references: semantic markup and automatic links for functions, classes, glossary terms and similar pieces of information * Hierarchical structure: easy definition of a document tree, with automatic links to siblings, parents and children * Automatic indices: general index as well as a module index * Code handling: automatic highlighting using the Pygments highlighter * Various extensions are available, e.g. for automatic testing of snippets and inclusion of appropriately formatted docstrings.

In the other systems

SystemPortVersion
NetBSDtextproc/py-sphinx9.1.0
FreeBSDtextproc/py-sphinx9.0.4,1
OpenBSDtextproc/py-sphinx9.1.0v0
DragonFlytextproc/py-sphinx5.3.0_3,1
MidnightBSDtextproc/py-sphinx5.3.0_2,1

Install

Binary package:

pkgin install py312-sphinx

From pkgsrc:

cd /usr/pkgsrc/textproc/py-sphinx && make install clean

Dependencies

Run dependencies 17

Configuration

No options to configure.

Service scripts
none
Flavors
py313-sphinx-9.1.0, py314-sphinx-9.1.0

Commit history 2

DateCommitCreditsLog message
e8ceda1a21 adam py-sphinx: updated to 9.1.1
9.1.1 (released Oct 19, 2026) Bugs fixed * LaTeX: PDF build crash since LaTeX June 2026 release if tables are styled with ``'colorrows'`` (which is the default). Patch by Jean-François B. * Fix JavaScript search for languages whose stemmer class name does not match the language name, such as Chinese (which reuses the English stemmer) and Dutch (which uses the Dutch Porter stemmer). Patch by Hugo van Kemenade * Fixed support for Python 3.16 alpha 0 (changes in the ``enum`` module). Patch by Adam Turner
ba13fdd07c adam py-sphinx: forget Python 3.10