-
Notifications
You must be signed in to change notification settings - Fork 57
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
Wrong READMEs in github packages #783
Comments
This change is to be made in:
|
The pending problems to fix:
|
Also remember to remove the docker-specific information from READMEs of libms and client packages. The idea is to have separate READMEs for docker and npm packages. These READMEs should only contain information for the matching github package. |
Based on this issue posted in |
The best practice we could follow is to add links in the DTaaS repository README, something like:
|
@aryanpingle Does the path context option help in anyway? |
From my testing, the git and path options help in setting the "context" of the docker container, i.e. letting you access different repositories and their workflows. This doesn't seem to solve the problem of the README file displayed on GitHub. There is a config option called |
GitHub Packages uses the README from the root of the repository for all packages in the repository. If you want to have a specific README for a package in a monorepo, you can use a workaround.
The workaround is to temporarily move to the package directory, copy the package-specific README to the root, publish the package, and then move the README back. Here's how you can do it:
This will ensure that the package-specific README is used when publishing the package to GitHub Packages. Remember to replace
packages/my-package
with the actual path to your package directory.courtesy: Github co-pilot
The text was updated successfully, but these errors were encountered: