Maven 1.x XDoc Plugin
  1. Maven 1.x XDoc Plugin
  2. MPXDOC-97

img attribute support for links items and target attribute support

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7
    • Labels:
      None
    • Number of attachments :
      5

      Description

      I modified a few lines of code to :

      • allow to use an image in the links
      • allow to specify a target for the link for all items (links & menu)- Very usefull to open a new page for pdf files, javadocs, etc.

      My navigation file can be :
      ...
      <links>
      ...
      <item name="PDF Doc" href="/my_module.pdf" img="images/pdf.gif" target="_blank"/>
      ...
      </link>
      ....
      <menu ...>
      ...
      <item name="JavaDocs" href="/apidocs/index.html" target="_blank"/>
      ...
      </menu>

      1. maven.diff
        0.8 kB
        Arnaud Heritier
      2. plugin-xdoc.diff
        3 kB
        Arnaud Heritier
      3. plugin-xdoc.diff
        3 kB
        Arnaud Heritier
      1. pdf.gif
        0.9 kB

        Issue Links

          Activity

          Hide
          Arnaud Heritier added a comment -

          patch.

          Show
          Arnaud Heritier added a comment - patch.
          Hide
          Arnaud Heritier added a comment -

          It replaces the previous one.
          I missed to use the relative path for image.
          It's corrected.
          Works well with Maven doc.

          Show
          Arnaud Heritier added a comment - It replaces the previous one. I missed to use the relative path for image. It's corrected. Works well with Maven doc.
          Hide
          Arnaud Heritier added a comment -

          Patch for maven navigation file.
          PDF link is replaced by an icon.

          Show
          Arnaud Heritier added a comment - Patch for maven navigation file. PDF link is replaced by an icon.
          Hide
          Arnaud Heritier added a comment -

          pdf icon

          Show
          Arnaud Heritier added a comment - pdf icon
          Hide
          Arnaud Heritier added a comment -

          Same enhancement.

          Show
          Arnaud Heritier added a comment - Same enhancement.
          Hide
          Brett Porter added a comment -

          Arnaud, are you going to apply this?

          Show
          Brett Porter added a comment - Arnaud, are you going to apply this?
          Hide
          fabrizio giustina added a comment -

          alternative icons for "external" and "new window" links

          Show
          fabrizio giustina added a comment - alternative icons for "external" and "new window" links
          Hide
          Arnaud Heritier added a comment -

          Applied

          Show
          Arnaud Heritier added a comment - Applied

            People

            • Assignee:
              Arnaud Heritier
              Reporter:
              Arnaud Heritier
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: