Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

Fails to build on linux #31

Open
clayrisser opened this issue Mar 16, 2021 · 2 comments
Open

Fails to build on linux #31

clayrisser opened this issue Mar 16, 2021 · 2 comments

Comments

@clayrisser
Copy link

I get the following error when building on linux.

docfx build
Loading docsets...
Loading config...
Restoring dependencies...
Building...
schema-not-found ./restapi/petstore.swagger.json(1,1): Unknown schema ''.
schema-not-found ./restapi/contacts_swagger2.json(1,1): Unknown schema ''.
schema-not-found ./toc.yml(1,1): Unknown schema ''.
liquid-not-found ./README.md(1,1): Liquid template is not found for mime type 'Conceptual', the output HTML will not be generated.
liquid-not-found ./articles/docfx_getting_started.md(1,1): Liquid template is not found for mime type 'Conceptual', the output HTML will not be generated.
liquid-not-found ./articles/engineering_guidelines.md(1,1): Liquid template is not found for mime type 'Conceptual', the output HTML will not be generated.
liquid-not-found ./restapi/toc.md(1,1): Liquid template is not found for mime type 'Conceptual', the output HTML will not be generated.
liquid-not-found ./index.md(1,1): Liquid template is not found for mime type 'Conceptual', the output HTML will not be generated.
liquid-not-found ./articles/toc.md(1,1): Liquid template is not found for mime type 'Conceptual', the output HTML will not be generated.
liquid-not-found ./articles/csharp_coding_standards.md(1,1): Liquid template is not found for mime type 'Conceptual', the output HTML will not be generated.
build done in 626.92ms

  3 Error(s), 7 Warning(s), 0 Suggestion(s)
@ophilbinbriscoe
Copy link

experiencing the same issue

@E-G-C
Copy link

E-G-C commented Aug 30, 2022

disclaimer: I'm not by any means not even remotely an expert on docfx, I just had to use it and came across the same problem. Here's how I made it work:

  • create a new project
  • take this "seed" site and replace everything in the newly created project,
  • build
  • serve

I tried this on Windows, something similar should works on linux

>mkdir my-site
>cd my-site
>docfx new conceptual

At this point grab the content of the seed repo and "dump" it into `my-site' then:

>docfx build
>docfx serve

It'd be great If the Repo Owners could shed some light on this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants