Uploaded image for project: 'JBoss Developer Materials'
  1. JBoss Developer Materials
  2. JDF-555

README anchors on jdf site are not compatible with HTML versions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • site
    • None

      The HTML files rendered from MarkDown using the 'dist/release-utils.sh m' script generate anchor tags with a dash '' like this:

      <h2><a id="configure-maven" class="anchor" href="#configure-maven"><span class="anchor-icon"></span></a>Configure Maven</h2>

      So the README.md files use this syntax to refer to a link within the same file: <a href="#configure-maven">Configure Maven</a>

      Or this to link to a section of the root README.md file:
      <a href="../README.html#configure-maven">Configure Maven</a> before testing the quickstarts.</p>

      On the JDF site, tne anchor tags are generated using an underscore '_', for example: <h2 id="configure_maven">Configure Maven</h2>

      So none of the links work on the jdf-site since they use a dash instead of an underscore.

              rafabene_jira Rafael Benevides (Inactive)
              sgilda_jira Sande Gilda (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: