Skip to main content

md-protobuf provides a generator for generating mardown documnetation files from google protocol buffer files.

Producing Code

md-protobuf provides a plugin for the protoc protocol buffer compiler (it ships with protocol buffers). This plugin tells protoc to produce a set of mardown output files, which contains documentation derived from the comments in the proto file.

First, obtain a copy of md-protobuf:

$ git clone git@github.com:mickem/md-protobuf.git
$ cd md-protobuf

Next, install md-protobuf:

$ python setup.py install

Finally, launch protoc and tell it to produce Md output:

$ protoc -I/path/to/your/proto/files --md_out=/output/path file1.proto file2.proto

You simply need to add --md_out to the arguments to protoc to get it to produce the Markdown output files.

Under the hood, protoc is looking for the program protoc-gen-md somewhere in your $PATH. You can modify $PATH in lieux of installing the package, if you desire.

Download files

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

Source Distribution

md-protobuf-1.0.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

md_protobuf-1.0.0-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file md-protobuf-1.0.0.tar.gz.

File metadata

  • Download URL: md-protobuf-1.0.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for md-protobuf-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3057cebbbb33a9fbbcb4b2fa75596994ae0363a697c08a9fcdadc184eb2d6afd
MD5 4d7cb236f50af80a49064afbd4c2526b
BLAKE2b-256 4f8acfab17c170487f93f7b012d919acb3878d4a411e57a4547003a1f57c409e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: md_protobuf-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for md_protobuf-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ebb80c6223a42d507e2e4445d273018fab2d96c93043fcb4aa1daaed06f0dc2
MD5 60947e4a7e3f233a1cf622702b6733fb
BLAKE2b-256 2ee05cfb771db2b960f03e13556b8349caef6532effd71b9115412267e8fb52a

See more details on using hashes here.

Release history Release notifications | RSS feed

2.0.1

2 files

2.0.0

2 files

This release

1.0.0 This release

2 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