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

Support config files located in nested directories #49

Open
tatomyr opened this issue Jun 6, 2023 · 1 comment
Open

Support config files located in nested directories #49

tatomyr opened this issue Jun 6, 2023 · 1 comment

Comments

@tatomyr
Copy link
Contributor

tatomyr commented Jun 6, 2023

What should we improve?

Currently we only support redocly.yaml file located in the root folder as the Redocly config file for VS Code.
We want to allow using different config files (similarly as we do in Redocly CLI using --config option).

How should we improve it?

We could either:

  • Resolve workspace configs (depending on the monorepo structure)
  • Resolve current closest redocly.yaml file
  • Allow users to provide path to a specific config file (e.g. through a config dialog window)

Why should we improve it?

Users might use monorepo structure (or any other complex file structure).

Describe alternatives you've considered

Doing nothing. Users may move their redocly.yaml files to the root level (or use a symlink to the actual config file).

@lornajane
Copy link

Adding that we have something similar in other projects that might inform our approach (internal link with apologies to external contributors!) https://github.com/Redocly/redocly/pull/3252

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

No branches or pull requests

2 participants