Skip to content

[Bug] Failed docfx build or serve or both #9292

@JM2K69

Description

@JM2K69

Describe the bug
I setup A linux VM AlmaLinux 9. with .NET SDK 7 with the latest docfx version 2.71.0+f16d314efc74fe1281d1d4eab06997ce7e5e9f3a

To Reproduce
Steps to reproduce the behavior:

  1. Install .NET SDK 7.x
  2. Install docfx with dotnet tool update -g docfx
  3. Create a projet with docfx init -q
  4. Add the text to the index.md dotnet tool update -g docfx
  5. Launch docfx --serve docfx.json
  6. On you browser Try to copy the code doesn't work ?

Expected behavior
The code will not be copied when the sever is docfx I try with httpd same error ?

Context (please complete the following information):

  • OS: Almalinux 9
  • Docfx version: 2.71.0

Additional context
codedocfx

I don't understand why and how the browser have ts files the has been complied into js not ?
If I try on windows server or windows client all seems work. On Linux Host the js file seems not working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions