Skip to main content

Converter from R docs to markdown

Project description

rd2md

A converter to transform R doc files (.Rd) into markdown files (.md).

Installation

pip install rd2md

Usage

In the following command-line examples you can use rd2md or python -m rd2md.

rd2md [RD-DIRECTORY] [MD-DIRECTORY] BASE-FILENAME-1 BASE-FILENAME-2 ...

where:

  • [RD-DIRECTORY] is the directory of .Rd files (eg, R/man)
  • [MD-DIRECTORY] is the output directory
  • BASE-FILENAME is the name of an Rd file without the directory or extension

Example

To use R/man as the directory of Rd files, and documentation as the output directory, converting R/man/create_experiment.Rd and R/man/Experiment.Rd do this:

rd2md R/man documentation create_experiment Experiment

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

rd2md-1.0.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file rd2md-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: rd2md-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for rd2md-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e55d61ca2291fb8e7cb6e90af7fdd6de5092afc64b7ff8c4746db8a05c27f331
MD5 9952968f7372d2b87878d087ccdcff8b
BLAKE2b-256 6e9df2615e0ee013b23e322e53f54853a39334eb60dd57debe76752ff69c9024

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