Custom docs folder issue #9516
Unanswered
EvaldasLiu
asked this question in
Q&A
Replies: 1 comment
-
|
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have this directory structure in my local GIT repo:
So basically I want to put all Markdown and static asset files near my component, e.g.:
C:\GIT\my-project\component\docs\docs-sub\sometopic.md.Configuration related files should be saved in the root directory of my project, e.g.
C:\GIT\my-project\docs\docusaurus.config.js.I have added this custom docs path to docusaurus.config.js:
But when running
npm run startI get this error:[ERROR] Error: The docs folder does not exist for version "current". A docs folder is expected to be found at ..\..\..\component.I suppose I'm doing something wrong when specifying this custom path to the docs folder. Spent hours trying diferent paths but still can't figure out what I'm doing wrong.
Maybe someone could help me?
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions