Skip to content

Commit b71928d

Browse files
Merge pull request googleapis#545 from jgeewax/method-listing
Added a submethod listing to all classes in the docs.
2 parents b3ffc00 + 96d7449 commit b71928d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/site/components/docs/docs.html

+10
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,16 @@ <h2 ng-if="method.name[0].toUpperCase() === method.name[0]">
132132
<span class="view-code-link" docs-code-link></span>
133133
</h3>
134134
<p ng-if="method.description" ng-bind-html="method.description"></p>
135+
<div ng-show="method.name[0].toUpperCase() === method.name[0]"
136+
class="notice">
137+
Available methods:
138+
<span ng-repeat="method in methods">
139+
<span ng-show="method.name[0].toUpperCase() !== method.name[0]">
140+
<a href="{{activeUrl + '?method=' + method.name}}"
141+
>{{method.name}}</a>{{$last ? '' : ', '}}
142+
</span>
143+
</span>
144+
</div>
135145
<h4 ng-show="method.params">Parameters</h4>
136146
<table class="table" ng-show="method.params">
137147
<tbody>

0 commit comments

Comments
 (0)