Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Include one file in multiple locations in recursive mode #794

Open
@kevcube

Description

@kevcube

What problem are you facing?

I am using --recursive to generate documentation for a main module and submodules, but I want all docs to include the same header/footer.

Currently if I define a path to this file in my configuration with footer-from: docs/footer.md, it works for the primary README.md but errors in submodules. I would like to have some kind of global import where this file is included in all recursive documentation generation.

How could terraform-docs help solve your problem?

Maybe with an additional configuration to footer-from: / header-from:, or if the file is not found in recursive mode, the main directory is checked for the existence of this file.

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