Skip to content

Commit

Permalink
fix: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zdm committed Apr 15, 2024
1 parent c2ab929 commit 3a38c9e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/package/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ export default class Docs {
}

// private
// XXX
async #init ( options ) {
const fileTree = new FileTree();

Expand Down Expand Up @@ -119,15 +118,6 @@ export default class Docs {
fileTree.add( { "path": "_sidebar.md", "buffer": await ejs.renderFile( utils.resolve( "#resources/templates/docs/_sidebar.md", import.meta.url ), options ) } );
}

// XXX
// generate .docs.config.yaml
// if ( !fs.existsSync( options.locationPath + "/_sidebar.md" ) ) {
// fileTree.add( {
// "path": ".docs.config.yaml",
// "buffer": await ejs.renderFile( utils.resolve( "#resources/templates/docs/.docs.config.yaml", import.meta.url ), options ),
// } );
// }

await fileTree.write( options.locationPath );

// copy .nojekyll
Expand Down

0 comments on commit 3a38c9e

Please sign in to comment.