Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[MXNET-356] Fix for the search results issues #10656

Merged
merged 3 commits into from
Jun 5, 2018

Conversation

kpmurali
Copy link
Contributor

@kpmurali kpmurali commented Apr 23, 2018

Description

There are two issues with the MXNet search result lists: first, when accessed as the drop-down for an earlier version, the URL in the drop-down redirects to the corresponding page in the default version. Second, in the search results after pressing enter, there are entries with HTTP 404 error.

Changes

  • [ x ] This changes reads the current version (if it exists) to add it as a part of the URL given in the search results drop-down.
  • [ x ] In the search results page corrected the search preview target page from txt to html

Preview - http://54.210.6.225/

…sion (if it exists) to add it as a part of the URL given in the search results drop-down. Next, in the search results page corrected the search preview target page from txt to html
@kpmurali kpmurali requested a review from szha as a code owner April 23, 2018 18:31
@aaronmarkham
Copy link
Contributor

Hi @kpmurali - the preview doesn't have the different versions, so I'm unable to validate the fix for the first issue. Using the manual approach, I pulled the URL that was generated in the search result and pasted it into a production setting. It doesn't seem to have the right URL.
Note: build_version_doc/apache_mxnet/docs/

https://mxnet.incubator.apache.org/versions/1.1.0/build_version_doc/apache_mxnet/docs/api/python/gluon/data.html?highlight=data#module-mxnet.gluon.data

@aaronmarkham
Copy link
Contributor

@eric-haibin-lin can you please merge this?

@eric-haibin-lin eric-haibin-lin merged commit 5dde19f into apache:master Jun 5, 2018
zheng-da pushed a commit to zheng-da/incubator-mxnet that referenced this pull request Jun 28, 2018
* Fix for the search results issues. This changes reads the current version (if it exists) to add it as a part of the URL given in the search results drop-down. Next, in the search results page corrected the search preview target page from txt to html

* Changing the AJAX type from html back to txt

* Fixing the broken changes in the searchtools js
XinYao1994 pushed a commit to XinYao1994/incubator-mxnet that referenced this pull request Aug 29, 2018
* Fix for the search results issues. This changes reads the current version (if it exists) to add it as a part of the URL given in the search results drop-down. Next, in the search results page corrected the search preview target page from txt to html

* Changing the AJAX type from html back to txt

* Fixing the broken changes in the searchtools js
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants