Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field information not rendered with custom html.mustache templates #300

Closed
aschrijver opened this issue Jul 22, 2017 · 1 comment · Fixed by #305
Closed

Field information not rendered with custom html.mustache templates #300

aschrijver opened this issue Jul 22, 2017 · 1 comment · Fixed by #305

Comments

@aschrijver
Copy link
Contributor

When copying the html.mustache locally and without modification run it like this:

protoc --doc_out=html2.mustache,index.html:build/html schemas/*.proto

Then all field tables are entirely missing in the output.
You can see the output in this gist: https://gist.github.com/aschrijver/0a2fb12347362ced80c6c5443fa8f40e

Switching back to internal template.. everything works.

Versions:

  • Ubuntu 16.04
  • libprotoc 2.6.1
  • protoc-gen-doc 0.9 (presumably, but protoc-gen-doc --version is not supported to confirm that)
@aschrijver aschrijver changed the title Field information not rendered on custom html.mustache templates Field information not rendered with custom html.mustache templates Jul 22, 2017
@aschrijver
Copy link
Contributor Author

The bug is fully described and demonstrated here:

https://github.com/aschrijver/hypercore-protocol/tree/feature/document-generator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant