Links and Cross References #9510
Unanswered
VaclavElias
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Going through the docs, I wonder, if I should add this to
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have 2 questions.
Question 1
Is this page https://dotnet.github.io/docfx/docs/links-and-cross-references.html purposely removed from the docs? This link is not showing up in the docs. Maybe there should be dashes instead of underscores?
Question 2
How can I change the GitHub url branch when cross referencing, in this example the cref
Entity
https://stride3d.github.io/stride-community-toolkit/api/Stride.CommunityToolkit.Engine.EntityExtensions.html.When the docs are built through GitHub Action
https://github.com/stride3d/stride-community-toolkit/blob/main/src/Stride.CommunityToolkit/Engine/EntityExtensions.cs#L7
this
cref
below:The
Entity
link is pointing here https://github.com/stride3d/stride/blob/main/sources/engine/Stride.Engine/Engine/Entity.cs which doesn't exist, we don't havemain
branch. Note I didn't set this up. Not sure where the link is coming from and how your fallback works.The correct link is with
master
branch not themain
branch so it should be https://github.com/stride3d/stride/blob/master/sources/engine/Stride.Engine/Engine/Entity.csThe Stride Community Toolkit is here https://github.com/stride3d/stride-community-toolkit while the referenced entity
Entity
is referenced through NuGet packageStride.Engine
. The Stride repo is here https://github.com/stride3d/strideAny suggestions how to resolve this? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions