Skip to content

Environment variable interpolation #51

@knightq

Description

@knightq

To get the right documentation published on different deploy contexts (i.e. both on staging environment and production environment) it would be very useful to be able to use environment variables inside fdoc.

In particular, it would be nice to be able to write something like this:

# my_service.fdoc.service
...
basePath: $env['CURRENT_ENV_BASE_PATH']/v1
...

So that when the documentation gets generated (deploy time), the right URL gets generated too into documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions