Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider removing license header from a file #3

Open
dmdashenkov opened this issue Jun 15, 2020 · 0 comments
Open

Consider removing license header from a file #3

dmdashenkov opened this issue Jun 15, 2020 · 0 comments

Comments

@dmdashenkov
Copy link
Contributor

If a code fragment is not specified, i.e. the whole file is embedded, we should remove the first comment of the file (with respect to the source code language) so that users don't need to specify a without-license fragment in each file.

Also, the capability should be configured at the <?embed-code?> tag level with an attribute.

If the fragment is specified, with a regex or with a #docfragment, no such removal is necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant