Hervé Boutemy created DOXIASITETOOLS-183:
--------------------------------------------

             Summary: add edit source feature to document model (base url)
                 Key: DOXIASITETOOLS-183
                 URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-183
             Project: Maven Doxia Sitetools
          Issue Type: New Feature
          Components: Decoration model, Site renderer
    Affects Versions: 1.7.5
            Reporter: Hervé Boutemy
            Assignee: Hervé Boutemy
             Fix For: 1.8


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:
{code:xml}
<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>
[...] 
{code}

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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to