Download the PHP package fabpot/sphinx-php without Composer

On this page you can find all versions of the php package fabpot/sphinx-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

Please rate this library. Is it a good library?

All versions of sphinx-php with dependencies

Informations about the package sphinx-php

Sphinx Extensions for PHP and Symfony

Installation

You can install the extension by:

Requirements

Sphinx 1.8.5 (not older, not newer) is required.

Usage

You can use the following extensions in your conf.py file:

To enable highlighting for PHP code not between `` by default:

# loading PhpLexer
from sphinx.highlighting import lexers
from pygments.lexers.web import PhpLexer

# enable highlighting for PHP code not between ```` by default
lexers['php'] = PhpLexer(startinline=True)
lexers['php-annotations'] = PhpLexer(startinline=True)

And here is how to use PHP as the primary domain:

primary_domain = 'php'

Configure the api_url for links to the API:

api_url = 'http://api.symfony.com/master/%s'

Version
No informations.

The package fabpot/sphinx-php contains the following files

Loading the files please wait ....