Skip to content

Use only one variant of the config file #7918

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

Merged
merged 1 commit into from
Feb 16, 2021
Merged

Use only one variant of the config file #7918

merged 1 commit into from
Feb 16, 2021

Conversation

stsewd
Copy link
Member

@stsewd stsewd commented Feb 16, 2021

Why .readthedocs.yaml?

  • Configuration files usually start with a . so they are hidden in
    unix like systems.
  • .yaml is the official and recommended extension for yaml files.

We could go a little further and use a feature flag to stop finding
the other ones.

ref #7915

Why `.readthedocs.yaml`?

- Configuration files usually start with a `.` so they are hidden in
  unix like systems.
- `.yaml` is the official and recommended extension for yaml files.

We could go a little further and use a feature flag to stop finding
the other ones.

ref #7915
@stsewd stsewd requested a review from a team February 16, 2021 16:13
Comment on lines +8 to +11
.. note::

Some other variants like ``readthedocs.yaml``, ``.readthedocs.yml``, etc
are deprecated.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd vote to remove this completely.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, I was thinking the same, but didn't want to make it disappear just like that and confuse people using an old variant.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems fine for now. We can remove it later. 👍

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

Successfully merging this pull request may close these issues.

3 participants