Skip to main content

reStrucuturedText's custom roles and role builder kit for package registries of any languages.

Project description

reStructuredText’s custom roles and role builder kit for package registries of any languages.

Installation

pip install rst-package-refs

Usage

Command line test

$ echo ':npm:`react`' | python -m rst_package_refs
<document source="<stdin>">
    <paragraph>
        <reference refuri="https://www.npmjs.com/package/react">
            react

With Sphinx

extensions = [
    "rst_package_refs.sphinx",
]
This uses :npm:`react`.

Set up for local development

Pre-requirements

Set up

git clone https://github.com/attakei/rst-package-refs.git
cd /path/to/rst-package-refs
rye run setup

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rst_package_refs-0.1.0.tar.gz (59.6 kB view details)

Uploaded Source

Built Distribution

rst_package_refs-0.1.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file rst_package_refs-0.1.0.tar.gz.

File metadata

  • Download URL: rst_package_refs-0.1.0.tar.gz
  • Upload date:
  • Size: 59.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for rst_package_refs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 656ccc53a09ab9df24768c73dfe2d5b2c877570322bc279e56c6e0c745495669
MD5 74cd8277ddf00f18380f30f8ab6175bc
BLAKE2b-256 821b07eb253956f39f367cd3003ac05825ed2d5198dab4356a74ecbdd1045df3

See more details on using hashes here.

File details

Details for the file rst_package_refs-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rst_package_refs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b874a8c88a008db3bb7dca6c5a317afeb2d54b2fc35bde8efc80e733421da401
MD5 3715f90f15a7bba81c9374231abb24e5
BLAKE2b-256 3b4639976f445858e2b7e757f1c0a9753bbab08a8faa808561a003fc8721e0ee

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page