Skip to content
This repository was archived by the owner on May 27, 2026. It is now read-only.
This repository was archived by the owner on May 27, 2026. It is now read-only.

Consider removing license header from a file #3

@dmdashenkov

Description

@dmdashenkov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions