You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/08/11 22:18:32 UTC

[GitHub] nswamy commented on a change in pull request #7435: Website fix

nswamy commented on a change in pull request #7435: Website fix
URL: https://github.com/apache/incubator-mxnet/pull/7435#discussion_r132793400
 
 

 ##########
 File path: docs/build_version_doc/AddVersion.py
 ##########
 @@ -59,6 +59,9 @@
                 continue
             with open(os.path.join(path, name), 'r') as html_file:
                 content = bs(html_file, 'html.parser')
+            if os.path.join(path, name) == args.file_path + 'index.html':
+                content.find(id='example-link')['href'] = \
+                    'https://github.com/dmlc/mxnet/tree/%s/example' % (args.current_version)
 
 Review comment:
   https://github.com/apache/incubator-mxnet/tree/%s/example' % (args.current_version)
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services