Skip to content

_config.yml include: entries reference wrong file paths #1454

Description

@adwaitm1301

_config.yml at repo root has:

include:

  • CONTRIBUTING.md
  • LICENSE.md
  • CODE_OF_CONDUCT.md

I've noticed that all three paths are wrong:

  • CONTRIBUTING.md → 404. Actual location: docs/CONTRIBUTING.md
  • CODE_OF_CONDUCT.md → 404. Actual location: docs/CODE_OF_CONDUCT.md
  • LICENSE.md → 404. The actual file is LICENSE (no .md extension) at repo root.

The include: directive tells Jekyll/GitHub Pages to copy these files into the rendered site. Since none exist at the given paths, Jekyll silently ignores them -- CONTRIBUTING.md, CODE_OF_CONDUCT.md, and LICENSE are absent from the GitHub Pages site output.

Suggested fix:

include:

  • docs/CONTRIBUTING.md
  • LICENSE
  • docs/CODE_OF_CONDUCT.md

Activity

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

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