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

Show homepage from default branch #1445

Closed
CrazyTapok-bit opened this issue Mar 27, 2024 · 3 comments
Closed

Show homepage from default branch #1445

CrazyTapok-bit opened this issue Mar 27, 2024 · 3 comments

Comments

@CrazyTapok-bit
Copy link

CrazyTapok-bit commented Mar 27, 2024

Hello

I'm trying to display the documentation home page for my package on its tg/tgwebvalid page, but this can't be achieved by specifying the homepage field in the composer.json file

After monitoring several other packages, I came to the conclusion that the home page is displayed only if it is specified in the master branch.

And since my current default branch is 4.x, it doesn't work. However, the rest of the fields are displayed correctly, they are pulled from the default branch. And this field, obviously not.

@CrazyTapok-bit
Copy link
Author

In the package information block, there is also a link with the text Documentation, and it also refers to the master branch, and ignores that the default branch in the repository is 4.x

@Seldaek
Copy link
Member

Seldaek commented May 17, 2024

I can't reproduce this. Per the code the homepage is taken from the data of the default branch.. And it seems like your package is showing the correct info now.

@Seldaek Seldaek closed this as completed May 17, 2024
@CrazyTapok-bit
Copy link
Author

Hello
Thank you for your attention

I looked for a solution for a long time and nothing helped. However, at one point I still solved this problem.

Now, as far as I understand, the home page wasn't showing because it was added to composer.json after the package was published to packagist

Accordingly, in order for the data to become available, I had to click the "Edit" button in the package control panel and click the "Update" button that appears after that. That is, a kind of updating the link to the repository so that it is read again

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

No branches or pull requests

2 participants