Utility functions for Sphinx.
Module | build |
Build phase of Sphinx application. |
Module | cfamily |
Utility functions common to the C and C++ domains. |
Module | console |
Format colored console output. |
Module | display |
Undocumented |
Module | docfields |
Utility code for "Doc fields". |
Module | docstrings |
Utilities for docstring processing. |
Module | docutils |
Utility functions for docutils. |
Module | exceptions |
No module docstring; 2/2 functions documented |
Module | fileutil |
File utility functions for Sphinx. |
Module | http |
Convert times to and from HTTP-date serialisations. |
Module | i18n |
Builder superclass for all builders. |
Module | images |
Image utility functions for Sphinx. |
Module | inspect |
Helpers for inspecting Python modules. |
Module | inventory |
Inventory utility functions for Sphinx. |
Module | jsdump |
This module implements a simple JavaScript serializer. |
Module | logging |
Logging utility functions for Sphinx. |
Module | matching |
Pattern-matching utility functions for Sphinx. |
Module | math |
Utility functions for math. |
Module | nodes |
Docutils node-related utility functions for Sphinx. |
Module | osutil |
Operating system-related utility functions for Sphinx. |
Module | parallel |
Parallel building utilities. |
Module | png |
PNG image manipulation helpers. |
Module | requests |
Simple requests package loader |
Module | rst |
reST helper functions. |
Package | stemmer |
Word stemming utilities for Sphinx. |
Module | tags |
No module docstring; 0/1 variable, 1/2 class documented |
Module | template |
Templates utility functions for Sphinx. |
Module | texescape |
TeX escaping helper. |
Module | typing |
The composite types for Sphinx. |
From __init__.py
:
Class |
|
A special dictionary for download files. |
Class |
|
A dictionary that automatically generates unique names for its keys, interpreted as filenames, and keeps track of a set of docnames they appear in. Used for images and downloadable files in the environment. |
Class |
|
File-like object writing to two streams. |
Class |
|
Custom error handler for open() that warns and replaces. |
Function | docname |
Undocumented |
Function | encode |
Undocumented |
Function | get |
Undocumented |
Function | get |
Undocumented |
Function | get |
Get all file names in a directory, recursively. |
Function | import |
Import python object by qualname. |
Function | isurl |
Check *url* is URL or not. |
Function | md5 |
Wrapper around hashlib.md5 |
Function | parselinenos |
Parse a line number spec (such as "1,2,4-6") and return a list of wanted line numbers. |
Function | sha1 |
Wrapper around hashlib.sha1 |
Function | split |
Split full qualified name to a pair of modname and qualname. |
Function | split |
Undocumented |
Function | split |
Split an index entry into a given number of parts at semicolons. |
Variable | logger |
Undocumented |
Variable | url |
Undocumented |
Variable | ws |
Undocumented |
Function | _xml |
Undocumented |
Variable | _coding |
Undocumented |
Get all file names in a directory, recursively. Exclude files and dirs matching some matcher in *exclude_matchers*.
Parameters | |
dirname:str | Undocumented |
excludetuple[ | Undocumented |
includetuple[ | Undocumented |
Returns | |
Iterable[ | Undocumented |
Wrapper around hashlib.md5 Attempt call with 'usedforsecurity=False' if we get a ValueError, which happens when OpenSSL FIPS mode is enabled: ValueError: error:060800A3:digital envelope routines:EVP_DigestInit_ex:disabled for fips See: https://github.com/sphinx-doc/sphinx/issues/7611
Wrapper around hashlib.sha1 Attempt call with 'usedforsecurity=False' if we get a ValueError See: https://github.com/sphinx-doc/sphinx/issues/7611
Split full qualified name to a pair of modname and qualname. A qualname is an abbreviation for "Qualified name" introduced at PEP-3155 (https://peps.python.org/pep-3155/). It is a dotted path name from the module top-level. A "full" qualified name means a string containing both module name and qualified name. .. note:: This function actually imports the module to check its existence. Therefore you need to mock 3rd party modules if needed before calling this function.
Parameters | |
name:str | Undocumented |
Returns | |
tuple[ | Undocumented |