dip icon indicating copy to clipboard operation
dip copied to clipboard

Support nested directories in the `lip` directory

Open JoelMarcey opened this issue 4 years ago • 2 comments

Right now, we cannot have nested directories in the lip directory.

8:54:41 AM: > node scripts/createDocsDir.js && docusaurus build
8:54:43 AM: Creating an optimized production build...
8:54:43 AM: Error: EISDIR: illegal operation on a directory, read
8:54:43 AM: npm
8:54:43 AM:  ERR! code ELIFECYCLE
8:54:43 AM: npm
8:54:43 AM:  ERR! errno 1
8:54:43 AM: npm ERR! [email protected] build: `node scripts/createDocsDir.js && docusaurus build`
8:54:43 AM: npm ERR! Exit status 1

See commits of https://github.com/libra/lip/pull/7 for an example.

JoelMarcey avatar Jun 03 '20 00:06 JoelMarcey

@JoelMarcey any status update here?

dahliamalkhi avatar Apr 12 '21 18:04 dahliamalkhi

Now that dip.diem.com has moved to Docusaurus v2, nested directories //should// work, I believe. In fact, we are almost done with a feature that automatically generates the sidebar based upon the docs directory structure - https://github.com/facebook/docusaurus/issues/3464.

The one thing we would need to check is whether because we are naming the directory lip instead of docs, whether that will still cause an issue.

@jjwill Are you / Dfuzr still managing this site? Or is that on the Diem team now?

JoelMarcey avatar Apr 14 '21 14:04 JoelMarcey