Uploaded image for project: 'Maven Doxia Sitetools'
  1. Maven Doxia Sitetools
  2. DOXIASITETOOLS-183

add edit source feature to document model (base url)

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.5
    • 1.8
    • Site model, Site renderer
    • None

    Description

      each skin/template should be able to generate an "edit" link that points to source file in scm

      this requires a configuration in decoration model to define base scm url:

      <project xmlns="http://maven.apache.org/DECORATION/1.8.0"
        xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 http://maven.apache.org/xsd/decoration-1.8.0.xsd"
        name=.. combine.self=.. >
      [...] 
        <publishDate position=.. format=.. />
        <version position=.. />
        <edit>${project.scm.url}</edit>
      [...] 
      

      and API improvements to avoid proposing edition if a Doxia file is generated (target/generated-site by default)

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hboutemy Herve Boutemy
            hboutemy Herve Boutemy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment