-
Notifications
You must be signed in to change notification settings - Fork 863
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
Docfx not working on apple silicon #9081
Comments
Some additional info. When I type: I get the following error: I've reinstalled docfx and now when building I get message for every API source file saying: Same goes for resources: I've also tried just pasting the templates directory from the docfx source in my project and adjusting docfx.json to use a template from there. I'm using default + statictoc. I then get these warnings: And the output of the site is jibberish. All of the API documents are empty. The articles contain the text I wrote but no other layout. Also, I'm having the same issue as: All of these things may be related. Hoping somebody can be of help here! I need to update documentation for an existing project and I'm completely stuck. Also wondering if there is anybody on Apple Silicon for who docfx works as expected? |
It seems you are using docfx that installed with docfx formula installation scripts(docfx.rb) This Workaround
You needs to copy or simply use |
After copying the templates from the build into my project, it works. Thank you! |
Running docfc gives the message:
There is no template processing document type(s): Conceptual,ManagedReference,Toc
If I run the command docfx template list, it gives me nothing.
Also when I run docfx template export default, it says:
default is not an embedded template.
My build succeeds but the website is not served. The _site folder only contains images, manifest.json and xrefmap.yml.
Expected behavior
The site should build
Context (please complete the following information):
Additional context
The problems began when switching to a macbook pro M2. First I had this problem but patched it:
#9047
Before on an intel mac everthing worked fine with the same project.
The text was updated successfully, but these errors were encountered: