Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Including Generated Files

Some tools can generate files which should be ignored by Git, but included in the binary distribution.

You can include these with artifacts:

pyproject.toml
1
2
3
4
5
6
7
[tool.hatch.build.targets.wheel]
artifacts = [
  # Include generated JSON
  "*.json"
  # Ignore this specific JSON file, though
  "!particular-data.json"
]

artifacts are not affected by exclude.