🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

sphinxcontrib-googleanalytics

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sphinxcontrib-googleanalytics

Sphinx extension googleanalytics

pipPyPI
Version
0.5
Maintainers
3

.. -- restructuredtext --

=========================================== Google Analytics extension for Sphinx

:author: Domen KoĹľar domen@dev.si

About

This extensions allows you to track generated html files with Google Analytics web service.

Installing from sphinx-contrib checkout

Checkout googleanalytics sphinx extension::

$ git clone https://github.com/sphinx-contrib/googleanalytics

Change into the googleanalytics directory::

$ cd googleanalytics

Install the module::

$ python setup.py install

Enabling the extension in Sphinx_

Just add sphinxcontrib.googleanalytics to the list of extensions in the conf.py file. For example::

extensions = ['sphinxcontrib.googleanalytics']

Configuration

For now one optional configuration is added to Sphinx_. It can be set in conf.py file:

googleanalytics_id : UA id for your site, example:: googleanalytics_id = 'UA-123-123-123'

googleanalytics_enabled : True by default, use it to turn off tracking.

.. Links: .. _gnuplot: http://www.gnuplot.info/ .. _Sphinx: http://sphinx.pocoo.org/

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts