-
Notifications
You must be signed in to change notification settings - Fork 9
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
Unable to build with template #28
Comments
Ran into the same problem here. If you nuke the toc.html.tmpl and toc.tmpl.partial files it'll build but you won't have a toc or searchable filter on the table of contents page or class click-through pages. This is using the latest release from https://github.com/dotnet/docfx on Windows 11. |
Interesting. Just looking and the last commits for those files were years ago so I wonder if it's a breaking change or bug in docfx then. I'm brand new to docfx, so I'll have to invest a bit of time into debugging it at some point. |
@jmckenzie-dev If you rename If it's by design, then in the situation where one of the ancestor templates contains primary renderer, that the leaf template needs to deliberately override that primary explicitly. Then the error handling needs to be improved in docfx to show a sensible error, and the discordfx template needs a rework). Or, docfx should consider the template's renderers in "random order" as per the documentation, but still allow any non-primary renderer in the leaf node template to override an ancestor template's primary renderer. |
same problemn, any workaround? |
Using docfx version
2.75.2+fe673ecea2ac444a4fd480e6cfcf605c78614385
(latest from github), and discordfxv0.5
, I'm getting an error preventing the build.Project folder is
C:\Projects\technical-guides\content
so in a command prompt I change to this folder and then run..\build\docfx\docfx.exe build
(the docfx executable lives relative to the current folder).The discordfx template folder is in
C:\Projects\technical-guides\content\templates\discordfx
. And the error I'm seeing when trying to build is below. I can build fine with the default themes so I wonder if there's a compatibility issue?The text was updated successfully, but these errors were encountered: