Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/what-happens-to-forks-when-a-repository-is-deleted-or-changes-visibility
What part(s) of the article would you like to see updated?
## Deleting a public repository
When you delete a public repository, one of the existing public forks is chosen to be the new parent repository. All other repositories are forked off of this new parent and subsequent pull requests go to this new parent.
## Changing a public repository to a private repository
If a public repository is made private, its public forks are split off into a new network. As with deleting a public repository, one of the existing public forks is chosen to be the new parent repository and all other repositories are forked off of this new parent. Subsequent pull requests go to this new parent.
The way I read this seems to indicate that when a root of a fork network is deleted or privatized, some other repo in the network is (fairly arbitrarily) selected as the new root and any repositories that were forked from the now missing root are linked to that newly designated repository.
If my reading of the text is wrong (and the implementation is as intended), then the text should be clarified to indicate what's actually happening -- which I think is "dangling links are left randomly throughout the fork network resulting in confusion for users".
If the documentation is the intended behavior, then perhaps there is/was a bug in the implementation resulting in it diverging from the documentation and if the implementation is still errant, it should be fixed -- and either way, the dangling repositories should be fixed up.
Additional information

https://github.com/jsoref/libmdbx
jsoref / libmdbx Public
forked from https://github.com/erthink/libmdbx
https://api.github.com/repos/erthink/libmdbx
{
"message": "Not Found",
"documentation_url": "https://docs.github.com/rest"
}
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/what-happens-to-forks-when-a-repository-is-deleted-or-changes-visibility
What part(s) of the article would you like to see updated?
The way I read this seems to indicate that when a root of a fork network is deleted or privatized, some other repo in the network is (fairly arbitrarily) selected as the new root and any repositories that were forked from the now missing root are linked to that newly designated repository.
If my reading of the text is wrong (and the implementation is as intended), then the text should be clarified to indicate what's actually happening -- which I think is "dangling links are left randomly throughout the fork network resulting in confusion for users".
If the documentation is the intended behavior, then perhaps there is/was a bug in the implementation resulting in it diverging from the documentation and if the implementation is still errant, it should be fixed -- and either way, the dangling repositories should be fixed up.
Additional information
https://github.com/jsoref/libmdbx
https://api.github.com/repos/erthink/libmdbx