Skip to main content

MartinPdeS-docs

Shared Sphinx defaults for the MartinPdeS scientific Python repositories.

The package intentionally uses a flat layout. A project keeps its own documentation content and assets, while this package supplies common Sphinx extensions, theme defaults, responsive layout settings, and gallery behavior. It also provides the shared author metadata, autodoc defaults, document defaults, theme navigation, repository links, version switcher, and output metadata used across the package family.

In a project's docs/source/conf.py:

from martinpdes_docs import configure

globals().update(
    configure(
        project="PackLab",
        package="PackLab",
        repository="MartinPdeS/PackLab",
        logo="_static/logo.png",
        favicon="_static/favicon.png",
    )
)

Project-specific values can be assigned below this call to override any shared default.

For a multi-section Sphinx-Gallery, pass the section names instead of repeating the directory mappings:

globals().update(
    configure(
        project="FlowCyPy",
        package="FlowCyPy",
        repository="MartinPdeS/FlowCyPy",
        gallery_sections=["tutorials", "studies", "validation"],
        gallery_default_thumb="_static/gallery-default.png",
    )
)

Use gallery_options for project-specific Sphinx-Gallery settings such as an additional image scraper or an example error policy.

For packages with compiled extensions, set prefer_installed_package=True so documentation builds import the installed wheel instead of the source checkout.

The shared configuration also owns the common dark-mode context, CSS files, autodoc defaults, and navigation metadata. Add only project-specific values in conf.py, for example:

globals().update(
    configure(
        project="SuPyMode",
        package="SuPyMode",
        repository="MartinPdeS/SuPyMode",
        extension_additions=["pyvista.ext.plot_directive"],
        html_css_files=["layout.css"],
        autodoc_default_options={"members": True},
        logo_text="",
    )
)

Use include_gallery=False for documentation sites without executable examples. The default theme, context, CSS, and extension set then remain centralized in this package.

Metadata

Release files for MartinPdeS-docs 0.3.1

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

Source distribution (sdist)

Source distribution for MartinPdeS-docs 0.3.1
File Size Uploaded Provenance
martinpdes_docs-0.3.1.tar.gz 7.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for MartinPdeS-docs 0.3.1
File Interpreter ABI Platform
martinpdes_docs-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.2 kB

Release files / martinpdes_docs-0.3.1.tar.gz

Download URL martinpdes_docs-0.3.1.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b28a789ab3f0c5477564295d2be209b998a001ac8d0805912da1376ca0ee86b3
BLAKE2b-256 checksum
How to use checksums
2adf8ff3389434c4d0e51d0e0314156ea6a05940835633ede8c16d1c9465c8be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Release files / martinpdes_docs-0.3.1-py3-none-any.whl

Download URL martinpdes_docs-0.3.1-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb8e2372ba44c128a0e5238208351794c105e3c650f55adccb9e47d64fa77d7f
BLAKE2b-256 checksum
How to use checksums
de957b4ee268d7fc5e31aa7fba74bb1e807f0cf2113590521d84f65332e83b2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Security for MartinPdeS-docs 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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