Skip to content

Render included files instead of including them as plain files #623

@franzs

Description

@franzs

What problem are you facing?

We have a configuration file for terraform docs per repository. Some of these repositories contain sub modules which have an individual documentation. So we include a file in the module subdirectory in the content section of the terraform docs configuration.

We would like to include other files in these per module documentation, e. g. examples. At the moment tfdocs includes files as plain text files.

How could terraform-docs help solve your problem?

Included files should be rendered instead of including them as plain text.

The implementation is quite trivial and was already done. We create an issue first as asked in the contribution document.

If there are no objections we would provide a PR for this feature.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions