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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to