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

AddVersion.py breaks the site output in a variety of ways #12524

@aaronmarkham

Description

@aaronmarkham

Description

AddVersion.py does some pretty aggressive website modifications just before publishing the full website. It was already known to break on the install page, and now it seems it is responsible for #12168 and #11438. I created a PR to fix this issue by commenting out this one line:

outstr = str(content).replace('&lt;', '<').replace('&gt;', '>')

But this ended up stopping the versions dropdown from appearing in the final website output. Having the versions dropdown is more important right now than fixing a couple of render issues, so I've submitted a patch that reverts this change along with an update for site consistency: #12426

Browsing the intermediate outputs from this script, you can see things like <span class="gp">>>> </span>. That's with the line enabled. More research is required to fix this script, so it produces valid html and doesn't break the code block's usage of xml or other tags the require > or <.

Tracking here as well:
https://issues.apache.org/jira/browse/MXNET-987

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions