Skip to main content

md-protobuf provides a Markdown interface to Google's Protocol Buffers

Project description

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.

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

md_protobuf-2.0.1.tar.gz (7.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-2.0.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file md_protobuf-2.0.1.tar.gz.

File metadata

  • Download URL: md_protobuf-2.0.1.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.4 Windows/10

File hashes

Hashes for md_protobuf-2.0.1.tar.gz
Algorithm Hash digest
SHA256 52d815fcd295971c841fac64861fa82dce5aa3a89039cec3a23f79add50e7acf
MD5 caaceaf7996f573a8464f572083a8aed
BLAKE2b-256 f637df52105ccf04b383f541db712d39b5190a106c6fc8bfc39d2a75ba06f986

See more details on using hashes here.

File details

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

File metadata

  • Download URL: md_protobuf-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.4 Windows/10

File hashes

Hashes for md_protobuf-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4513cdacf7b71037dfc3c33cbc76f2d74c356be9d3f6189b91195a5f5ec2a196
MD5 b34aa31971ddba26b9d0b032c6b7cd35
BLAKE2b-256 287c4297d2d0bd88add6babf81c561dba60b7e0d06f1548bb2956fac0bda5f4b

See more details on using hashes here.

Supported by

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