Skip to content

Commit

Permalink
improve gen doc
Browse files Browse the repository at this point in the history
Signed-off-by: nameczz <[email protected]>
  • Loading branch information
nameczz committed Dec 10, 2021
1 parent dd82eb0 commit 47da41a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion doc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ const formatDoc = async () => {
fs.unlinkSync("./docs/modules.html");
fs.mkdirSync("./docs/api reference");
fs.renameSync("./docs/index.html", "./docs/tutorial.html");
fs.copyFileSync(
"./docs/modules/utils.html",
"./docs/api reference/utils.html"
);

fs.rmdirSync("./docs/modules", { recursive: true });
fs.rmdirSync("./docs/assets", { recursive: true });
Expand All @@ -31,4 +35,4 @@ const formatDoc = async () => {
fs.rmdirSync("./docs/classes", { recursive: true });
};

// formatDoc();
formatDoc();
1 change: 0 additions & 1 deletion milvus/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { Index } from "./MilvusIndex";
import { Data } from "./Data";
import sdkInfo from "../sdk.json";
import { ERROR_REASONS } from "./const/ErrorReason";
import * as formatUtils from "./utils/Format";

const protoPath = path.resolve(__dirname, "../grpc-proto/milvus.proto");
export class MilvusClient {
Expand Down

0 comments on commit 47da41a

Please sign in to comment.