Skip to content

Commit

Permalink
disable related documents
Browse files Browse the repository at this point in the history
  • Loading branch information
m-maillot committed Apr 3, 2024
1 parent ea59ca6 commit 1a91f06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion targets/export-elasticsearch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"build:watch": "tsc -w -p tsconfig.json",
"build:swc": "swc ./src -d build",
"build:swc:watch": "swc ./src -d build -w",
"run:ingester": "curl -X POST -H \"Content-Type: application/json\" -d '{\"environment\": \"preproduction\", \"userId\": \"3d6dddc4-e117-4772-9288-cd8a608693e4\"}' http://localhost:8787/export",
"run:ingester:preprod": "curl -X POST -H \"Content-Type: application/json\" -d '{\"environment\": \"preproduction\", \"userId\": \"3d6dddc4-e117-4772-9288-cd8a608693e4\"}' http://localhost:8787/export",
"run:ingester:prod": "curl -X POST -H \"Content-Type: application/json\" -d '{\"environment\": \"production\", \"userId\": \"3d6dddc4-e117-4772-9288-cd8a608693e4\"}' http://localhost:8787/export",
"lint": "npx eslint ./src --ext .ts"
},
"dependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const generateEditorialContents = (
addGlossary: (valueInHtml: string) => string
): Return => {
const documentsMarkdownified = markdownTransform(addGlossary, documents);
const relatedIdsDocuments = getRelatedIdsDocuments(documentsMarkdownified);
const relatedIdsDocuments: string[] = []; // getRelatedIdsDocuments(documentsMarkdownified);
return {
documents: documentsMarkdownified,
relatedIdsDocuments,
Expand Down

0 comments on commit 1a91f06

Please sign in to comment.