Skip to content

Commit

Permalink
Merge pull request #426 from jacobtolar/mark-fields-deprecated
Browse files Browse the repository at this point in the history
Note deprecated fields in HTML and Markdown outputs
  • Loading branch information
pseudomuto authored Jul 29, 2020
2 parents 56ed702 + 168ced4 commit 14c9663
Show file tree
Hide file tree
Showing 13 changed files with 63 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased](https://github.com/pseudomuto/protoc-gen-doc/compare/v1.3.2...master)

* Note deprecated fields in HTML, Markdown, and Docbook outputs [#426](https://github.com/pseudomuto/protoc-gen-doc/pull/426)

## [v1.3.2](https://github.com/pseudomuto/protoc-gen-doc/compare/v1.3.1...v1.3.2) - May 7, 2020

### Changed
Expand Down
7 changes: 7 additions & 0 deletions examples/doc/example.docbook
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@
<entry><para>Has payment been received?</para></entry>
</row>

<row>
<entry>color_preference</entry>
<entry><link linkend="string">string</link></entry>
<entry></entry>
<entry><emphasis>Deprecated.</emphasis><para>Color preference of the customer.</para></entry>
</row>

</tbody>
</tgroup>
</table>
Expand Down
28 changes: 28 additions & 0 deletions examples/doc/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,38 @@ <h3 id="com.example.Booking">Booking</h3>
<td><p>Has payment been received? </p></td>
</tr>

<tr>
<td>color_preference</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p><strong>Deprecated.</strong> Color preference of the customer. </p></td>
</tr>

</tbody>
</table>




<h4>Fields with deprecated option</h4>
<table>
<thead>
<tr>
<td>Name</td>
<td>Option</td>
</tr>
</thead>
<tbody>

<tr>
<td>color_preference</td>
<td><p>true</p></td>
</tr>

</tbody>
</table>





Expand Down
13 changes: 13 additions & 0 deletions examples/doc/example.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,19 @@
"fullType": "bool",
"ismap": false,
"defaultValue": ""
},
{
"name": "color_preference",
"description": "Color preference of the customer.",
"label": "",
"type": "string",
"longType": "string",
"fullType": "string",
"ismap": false,
"defaultValue": "",
"options": {
"deprecated": true
}
}
]
},
Expand Down
1 change: 1 addition & 0 deletions examples/doc/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Vehicles are some cool shit. But drive carefully!
| status | [BookingStatus](#com.example.BookingStatus) | | Status of the booking. |
| confirmation_sent | [bool](#bool) | | Has booking confirmation been sent? |
| payment_received | [bool](#bool) | | Has payment been received? |
| color_preference | [string](#string) | | **Deprecated.** Color preference of the customer. |



Expand Down
2 changes: 2 additions & 0 deletions examples/doc/example.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Vehicles are some cool shit. But drive carefully!

|payment_received | <<bool,bool>> | |Has payment been received?

|color_preference | <<string,string>> | |Color preference of the customer.

|===========================================


Expand Down
2 changes: 2 additions & 0 deletions examples/proto/Booking.proto
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ message Booking {

/** Has payment been received? */
bool payment_received = 5;

string color_preference = 6 [deprecated=true]; // Color preference of the customer.
}

// An empty message for testing
Expand Down
2 changes: 2 additions & 0 deletions fixtures/Booking.proto
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ message Booking {
/** Has payment been received? */
optional bool payment_received = 5 [default = false, (com.pseudomuto.protokit.v1.extend_field) = true];

optional string color_preference = 6 [deprecated=true]; // Color preference of the customer.

// Nested extentions are also a thing.

extend BookingStatus {
Expand Down
Binary file modified fixtures/fileset.pb
Binary file not shown.
6 changes: 3 additions & 3 deletions resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
)

var embeddedResources = map[string]string{
"docbook.tmpl": "H4sIAAAAAAAA/+xZ70/zNhD+3r/Cyr7t1Zu8E0OaJrdIKytoAoQo23c3ubbWHDuznUIV9X+fHIf8/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fHg9v/nPWNx1AL53AAC6C6NJT4sFdj9BN9Uukdg9rV1KE9rSvDbMFot45MzG7XxzciY1o+H52vGFLVk8ZZEvgpyNvaBcq6jLuKRYO0aVowPw47SlxiB1X4lBYFNhYN4q8P1ZrMCwjn9dn1DeNTb13Vq0sGRGsERiT6LilAOqmU6F4n0YK8wyMROoCDJtNh5QyBmJJYJy8wSNhd8/f4HIoNDOQCZQpiAsSPEVZQGkIWdl7DppyaRDewrOItjqYiCUJWRpPwI8uHkDXKgI7iDWh+1Fe6iFIuRo4rC9FB/1leDKzUEbGInH8tcJs2DwwQmD6btDPWi0/sJ6MDw/0IPm5k0PpFY82oT4SPvhu10YWDLCC9huxsBP3+3IXvLuGPlHOLgWMbqoGt0zy/EAgaM06Y4RZQuZmERcXCPu/4jkKET2qN05EVxhCkJRPWt9mOZoEebaIGxGWhZ1Cu6OM+VMgUHuJDNQXcG+7fVoj9qPz855eN7G+VWvwEw8YhqR8aX8xgoLWflqJAWh7cNNgK4G5FbvdLZ6OYAZBJ0RKuAGGaGp484+n128vM35zEqtWEakumKJgud0CGb54B6G+WH4epft/mF/uh7f9tL7Cy29wa2UaC2f8q/Lj2vK9K08eqZfZWlHpiKFbnuCCrecfoFT4/BaMmsHIyZt/XN/twOSTa+hdsDcWQJWd36mFTGh4HY66l2sXq+01NjHXiIILifX4zEQPlJMF+GHGmKhnbdczKc2CZuft3wiZGbJDJwS5ZVj3Ooz4aQqbf98VMrfAXbDig0fpgpgJhFkmCnA4oNDNSvXafvUtNG5KggnLYTu7svjYoR2s55OaR+dqsO9i6vxtEbUue/8CQAA//8z+wC/ohEAAA==",
}

Expand Down
2 changes: 1 addition & 1 deletion resources/docbook.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<entry>{{.Name}}</entry>
<entry><link linkend="{{.FullType}}">{{.LongType}}</link></entry>
<entry>{{.Label}}</entry>
<entry>{{para .Description}}{{if .DefaultValue}}<para>Default: {{.DefaultValue}}</para>{{end}}</entry>
<entry>{{if (index .Options "deprecated"|default false)}}<emphasis>Deprecated.</emphasis>{{end}}{{para .Description}}{{if .DefaultValue}}<para>Default: {{.DefaultValue}}</para>{{end}}</entry>
</row>
{{end}}
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion resources/html.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
<td>{{.Name}}</td>
<td><a href="#{{.FullType}}">{{.LongType}}</a></td>
<td>{{.Label}}</td>
<td><p>{{.Description}} {{if .DefaultValue}}Default: {{.DefaultValue}}{{end}}</p></td>
<td><p>{{if (index .Options "deprecated"|default false)}}<strong>Deprecated.</strong> {{end}}{{.Description}} {{if .DefaultValue}}Default: {{.DefaultValue}}{{end}}</p></td>
</tr>
{{end}}
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion resources/markdown.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
{{range .Fields -}}
| {{.Name}} | [{{.LongType}}](#{{.FullType}}) | {{.Label}} | {{nobr .Description}}{{if .DefaultValue}} Default: {{.DefaultValue}}{{end}} |
| {{.Name}} | [{{.LongType}}](#{{.FullType}}) | {{.Label}} | {{if (index .Options "deprecated"|default false)}}**Deprecated.** {{end}}{{nobr .Description}}{{if .DefaultValue}} Default: {{.DefaultValue}}{{end}} |
{{end}}
{{end}}

Expand Down

0 comments on commit 14c9663

Please sign in to comment.