[ 
https://issues.apache.org/jira/browse/TINKERPOP3-689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14549530#comment-14549530
 ] 

Daniel Kuppitz commented on TINKERPOP3-689:
-------------------------------------------

The following command will remove the *all* Apache license headers except the 
very first one:

{noformat}
awk 'BEGIN {a=1}; /Licensed to the Apache Software Foundation/ {b=1}; a || !b; 
/under the License\./ {a=0; b=0}' target/docs/htmlsingle/index.html \
| perl -0777 -pe 's/<span class="comment">\/\*\n \*\/<\/span>//igs' \
> /tmp/index.html && mv /tmp/index.html target/docs/htmlsingle/
{noformat}

> Drop License Text in Asciidoc Generation
> ----------------------------------------
>
>                 Key: TINKERPOP3-689
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-689
>             Project: TinkerPop 3
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: stephen mallette
>            Assignee: Daniel Kuppitz
>            Priority: Minor
>
> When we do a source file include:
> https://github.com/apache/incubator-tinkerpop/blame/master/docs/src/gremlin-applications.asciidoc#L746
> in asciidocs it brings the apache license with it: 
> http://tinkerpop.incubator.apache.org/docs/3.0.0-SNAPSHOT/#gremlin-plugins
> Take care to not remove the commented out license text at the top of each 
> source asciidoc file.  That needs to stay.  Basically, the license should 
> only be removed when brought in via the "include".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to