Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ktoso/protodoc-scala
It's like JavaDoc, but for Google Protocol Buffers!
https://github.com/ktoso/protodoc-scala
Last synced: 21 days ago
JSON representation
It's like JavaDoc, but for Google Protocol Buffers!
- Host: GitHub
- URL: https://github.com/ktoso/protodoc-scala
- Owner: ktoso
- Created: 2011-06-08T14:53:38.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-01-09T03:18:21.000Z (about 13 years ago)
- Last Synced: 2024-12-15T08:52:32.910Z (26 days ago)
- Language: Scala
- Homepage: http://kto.so
- Size: 20.7 MB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ProtoDoc - It's like JavaDoc, but for Google Protocol Buffers
=============================================================
Have you ever worked with a BIG Protocol Buffers based application? It would be awesome if it had some kind
of tool like JavaDoc, to always know what each field exactly means, even without having the proto file at hand right now.*Oh, wait. That's excatly what ProtoDoc is!* ProtoDoc is a tool very much like JavaDoc, which scans your proto files and generates
an easily searchable and most informative website with all information about yout ProtoMessages.**It's currently not production ready, and allows only for basic Messages to be parsed.** But it should most probably be finished and fully working quite soon.
Live Demo
---------
There is a live demo available here.Coding notes
------------* ProtoDoc is build by **SBT** so if you want to help out hacking, first download **Scala 2.8.1** and **sbt** :-)
Output screenshots
------------------
ProtoDoc takes this:```
package pl.project13;/**
* This is a simple Message which has some Inner Message defined.
* Also, note that it has a default value on the name property.
*/
message MessageWithInner {
/**
* A number is just a simple property
*/
required int32 number = 1;/**
* This can be a name of your likeing, the default value is "lorem ipsum" etc
*/
required string name = 2 [default = "loremipsum"];/**
* Whoa, this is a comment on an inner message!
* ProtoDoc is so cool!
*/
message InnerMessage {/**
* This is a comment on an inner messages field, cool~
*
* You may use it like this in your generated Java code:
*setName("StringMyName");
*/
optional string name = 3;
}
}
```and generates this:
Hooray!