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

throws Uncaught TypeError and some breadcrumb are not displayed #25

Open
kawana77b opened this issue Jul 9, 2023 · 0 comments
Open

Comments

@kawana77b
Copy link

When deploying a documentation site built with the current latest DocFX 2.67.5 to a service like Cloudflare Pages,
This template uses highlight.js 10.1.1, so the generated website has an Uncaught TypeError,
and the breadcrumb does not display properly on nested pages.

This issue is mentioned in dotnet/docfx#8428
It has been broken since v2.62+, suggesting that it is not compatible with DocFX.

hljserror

Note: Warnings in DevTools are basically from a Chrome Extension, so don't worry 🙂

How to reproduce

  • Create an arbitrary C# library and define some public classes
  • Build a static site using DocFX 2.67.5
  • Deploy the generated files in _site to a hosting service like Cloudflare Pages manually or through any CI
  • Ensure that the breadcrumb list is not displayed on the created class page

Thanks for the nice and cool template!

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

Successfully merging a pull request may close this issue.

1 participant