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

David Jencks commented on CAMEL-14881:
--------------------------------------

Ah, so you're proposing to do something like modifying this code in gulpfile.js?
```
function insertSourceAttribute() {
    return replace(/^= .+/m, function(match) {
        return `${match}\n//THIS FILE IS COPIED: EDIT THE SOURCE 
FILE:\n:page-source: ${path.relative('..', this.file.path)}`;
    });
}
```

I'm OK with that.

> Add comment 'autogenerated' to the docs/components adoc files 
> --------------------------------------------------------------
>
>                 Key: CAMEL-14881
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14881
>             Project: Camel
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Dmitry Volodin
>            Priority: Minor
>              Labels: help-wanted
>
> Adding following comment on the top of the all auto-generated adoc files 
> inside docs/components to notate users don't edit this files
> // AUTOGENERATED, PLEASE DON'T EDIT THIS FILE!!!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to