Skip to content

test: Check if we can update source branch name #486

Description

@VaclavElias

This issue: Stride API Docs pages' source links are pointing into incorrect (non-existing) branch release.

According this https://github.com/dotnet/docfx/blob/main/docs/reference/docfx-environment-variables-reference.md#L13-L20 we should be able to override branch name.

We might be able to simplify also PowerShell script.

- name: Build API Docs with docfx
  env:
    DOCFX_SOURCE_REPOSITORY_URL: https://github.com/stride3d/stride  # ← The Stride source repo
    DOCFX_SOURCE_BRANCH_NAME: master                                  # ← The correct branch in Stride repo
  run: dotnet tool run docfx docfx.json

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions