$npx skillfedfor your agent

sphinx-math-dollar

Sphinx extension to let you write LaTeX math using $$

With conditionsPyPI SphinxReleased Feb 202676.9K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — sphinx_math_dollar-1.3-py3-none-any.whl
v1.3 · released 2026-02-05 · Python >=3.11 · 1 runtime deps: sphinx

Yes, if you are already using Sphinx and prefer dollar-sign math syntax. Install friction is minimal, the license is permissive, and there are no known security issues. Maintenance is aging but the repository is active. Be aware of the absolute-value workaround and test your math notation before committing to it in a large documentation project.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >=3.11 and an existing Sphinx documentation project.
  • MathJax configuration needed in conf.py to prevent parsing conflicts.
  • Low friction: pure Python wheel with a single runtime dependency on sphinx.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.

last release 2026-02-05 (190 days) · last repo commit 2026-02-05 · 35 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 76,915 downloads/mo, #14,579 on PyPI

Verify before relying

pip install sphinx-math-dollar

In conf.py:
extensions = ['sphinx_math_dollar', 'sphinx.ext.mathjax']

In RST: $\int\sin(x)\,dx$ for inline math or $$\int\sin(x)\,dx$$ for display.
  • Whether absolute-value workarounds (spaces or braces) are acceptable for your math notation style
  • Compatibility with Sphinx versions older than those tested in the classifiers
Same gist for agents: .md · .json

What it is and what it does

sphinx-math-dollar is a Sphinx extension that translates dollar-sign math notation (familiar from LaTeX and Markdown) into Sphinx's native math directives. It lets you write inline math as $expression$ and display math as $$expression$$, which the extension parses and converts for rendering via MathJax or similar backends. This is useful if you prefer LaTeX-style syntax over Sphinx's :math: and .. math:: directives, or if you're migrating documentation from other systems that use dollar signs.

The extension uses a blacklist to avoid parsing dollar signs in code blocks, literals, and other contexts where they shouldn't be interpreted as math. It integrates with sphinx.ext.autodoc to handle math in docstrings. Configuration is minimal—add it to your extensions list and optionally configure MathJax to prevent conflicts. Known limitations include issues with absolute-value bars (which Sphinx may parse as inline substitutions) and a need for careful spacing or braces in certain edge cases.

Use it for

  • Migrating Markdown or LaTeX documentation to Sphinx RST while keeping familiar dollar-sign math syntax
  • Writing scientific or mathematical documentation where dollar signs feel more natural than :math: directives
  • Documenting Python packages with heavy mathematical content in docstrings via autodoc
  • Reducing friction when teams transition from other documentation systems to Sphinx

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are already using Sphinx and prefer dollar-sign math syntax.

Install friction is minimal, the license is permissive, and there are no known security issues. Maintenance is aging but the repository is active. Be aware of the absolute-value workaround and test your math notation before committing to it in a large documentation project.

Install

sphinx-math-dollar on PyPI

Before you install

Low friction: pure Python wheel with a single runtime dependency on sphinx. Last release 190 days ago; repository is active and not archived, though maintenance pace suggests aging status.

Requires Python >=3.11 and an existing Sphinx documentation project. MathJax configuration needed in conf.py to prevent parsing conflicts.

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.

Quickstart

pip install sphinx-math-dollar

In conf.py:
extensions = ['sphinx_math_dollar', 'sphinx.ext.mathjax']

In RST: $\int\sin(x)\,dx$ for inline math or $$\int\sin(x)\,dx$$ for display.

Verify before relying

  • Whether absolute-value workarounds (spaces or braces) are acceptable for your math notation style
  • Compatibility with Sphinx versions older than those tested in the classifiers

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.11
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
sphinx
MaintenanceAging 190 days since the last release
Last repo commit
First released
Downloads76,915 / month, #14,579 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: sphinx_math_dollar-1.3-py3-none-any.whl

Tags

Capabilities
sphinx latex math dollar signsrst math notation extensionsphinx math renderinglatex in documentationsphinx equation syntax
Topics
sphinx-extensionmath-renderingdocumentation

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “sphinx latex math dollar signs”

Give your agent the search over MCP, or paste the wish link into any chat.

More Sphinx packages

docstring-parser Worth it
PyPI · Python Modules · released Apr 2026

Parses Python docstrings in ReST, Google, Numpydoc, and Epydoc formats, extracting structured information like descriptions, parameters, return types, and exceptions.

Install it if you need to programmatically read and extract structured data from Python docstrings.

MITpure Python · 3.8+
274.9Mdownloads / mo
Sphinx Worth it
PyPI · Software Development · released Dec 2025

Sphinx generates professional documentation from reStructuredText source files, producing HTML, PDF, EPUB, and other formats with automatic cross-references, code highlighting, and hierarchical navigation.

BSD-2-Clausepure Python · 3.12+
91.8Mdownloads / mo
sphinxcontrib-serializinghtml With conditions
PyPI · Utilities · released Jul 2024

A Sphinx extension that outputs documentation in serialized HTML formats (JSON and pickle) alongside standard HTML.

BSD-3-Clausepure Python · 3.9+dormant
30.5Mdownloads / mo
alabaster Worth it
PyPI · Documentation · released Jul 2024

Alabaster is a clean, responsive Sphinx theme for documentation that requires Python 3.10 or newer and Sphinx 6.2 or newer.

BSD-3-Clausepure Python · 3.10+dormant
30.4Mdownloads / mo
sphinxcontrib-htmlhelp With conditions
PyPI · Utilities · released Jul 2024

A Sphinx extension that generates HTML help files from reStructuredText documentation source.

BSD-3-Clausepure Python · 3.9+dormant
27.7Mdownloads / mo
sphinxcontrib-qthelp With conditions
PyPI · Utilities · released Jul 2024

A Sphinx extension that converts documentation source files into QtHelp format, enabling integration with Qt-based help systems and documentation viewers.

However, be aware that maintenance is dormant—if you rely on it long-term, monitor Sphinx compatibility and consider whether QtHelp remains the right format for your…

BSD-3-Clausepure Python · 3.9+dormant
27.6Mdownloads / mo

See also sphinxcontrib-jsmath · sphinxcontrib-katex · sphinx-substitution-extensions · latex2sympy2-extended · latex2sympy2 · python-markdown-math · sphinx_mdinclude · simple-equ · myst-parser · math-verify