Skip to main content

Sphinxcontrib-Analytics-Hub

About

Sphinx extension for googleanalytics and baidu analytics .

Based on sphinx-contrib/googleanalytics and add baidu analytics .

Install

with pip:

pip install sphinxcontrib-analytics-hub

Using

Just add sphinxcontrib_analytics_hub to the list of extension in the conf.py file .

For example:

extensions = [
    ...,
    'sphinxcontrib_analytics_hub',
]

Config items:

config name value value type default description
analytics_enabled True or False bool True set True to enable analytics, False to ruff off
analytics_with google or baidu str '' analytics name
analytics_id analytics id str `` the analytics id google or baidu

For example of analytics with google :

# conf.py

...

analytics_with = 'google'
analytics_id = 'xxxxxxxxxxxxx'

For example of analytics with baidu :

# conf.py

...

analytics_with = 'baidu'
analytics_id = 'xxxxxxxxxxxxx'

Supported platforms

Now:

More analytics platforms will be added in the future.

Metadata

Release files for sphinxcontrib-analytics-hub 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sphinxcontrib-analytics-hub 0.0.3
File Size Uploaded
sphinxcontrib_analytics_hub-0.0.3.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sphinxcontrib-analytics-hub 0.0.3
File Interpreter ABI Platform
sphinxcontrib_analytics_hub-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / sphinxcontrib_analytics_hub-0.0.3.tar.gz

Download URL sphinxcontrib_analytics_hub-0.0.3.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
af3ee0a5d0ae391a1017c1e5a720e0d46f1dc587f99a4487e948e255b9bd39ce
BLAKE2b-256 checksum
How to use checksums
440ed7ea38703edf841695cc1db8afd82d26574c86f170b81c55229d200ae1ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.18.1 CPython/3.10.12 Linux/6.5.0-1025-azure

Release files / sphinxcontrib_analytics_hub-0.0.3-py3-none-any.whl

Download URL sphinxcontrib_analytics_hub-0.0.3-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c13a957deaafdf5f618cb2ce38f1c685afc50415c62d42cfa04da1e95fcf7983
BLAKE2b-256 checksum
How to use checksums
4f8a11922ed647c84a42aac370892e16b72f5b3dd022ecf6818d2809a7565a48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.18.1 CPython/3.10.12 Linux/6.5.0-1025-azure

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page