| Index: native_client_sdk/src/doc/doxygen/generate_docs.py
|
| diff --git a/native_client_sdk/src/doc/doxygen/generate_docs.py b/native_client_sdk/src/doc/doxygen/generate_docs.py
|
| index 4cc475d076c233c2f550381c8e98d48fe0fc2d04..d5d4d8cb73c2009e8c252229176e3f85e0689760 100755
|
| --- a/native_client_sdk/src/doc/doxygen/generate_docs.py
|
| +++ b/native_client_sdk/src/doc/doxygen/generate_docs.py
|
| @@ -52,7 +52,7 @@ def GetChannelInfo():
|
| for version_row in os_row['versions']:
|
| channel = version_row['channel']
|
| # We don't display canary docs.
|
| - if channel == 'canary':
|
| + if channel.startswith('canary'):
|
| continue
|
|
|
| version = version_row['version'].split('.')[0] # Major version
|
| @@ -313,8 +313,7 @@ def main(argv):
|
| if options.verbose:
|
| Trace.verbose = True
|
|
|
| - channel_info = GetChannelInfo()
|
| - for channel, info in channel_info.iteritems():
|
| + for channel, info in GetChannelInfo().iteritems():
|
| GenerateDocs(options.out_directory, channel, info.version, info.branch)
|
|
|
| return 0
|
|
|