From 3ac44700f672167dd9da7079f440b836d5dd85d7 Mon Sep 17 00:00:00 2001 From: Sc222 Date: Fri, 19 Jun 2026 17:09:55 +0500 Subject: [PATCH 1/3] Update image link according to new organization name --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5a09974..5910071 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,8 +2,8 @@ version: "3" services: docusaurus: - image: ghcr.io/altecsystems/amaterasudocumentation_docusaurus:latest - container_name: docusaurus + image: ghcr.io/formitlabs/amaterasudocs:latest + container_name: documentation ports: - '3000:3000' networks: From 75b651cbc9a365c2a7b79647cd6f5476178e9127 Mon Sep 17 00:00:00 2001 From: Sc222 Date: Fri, 19 Jun 2026 17:24:20 +0500 Subject: [PATCH 2/3] Add deployment todo --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4d05586..28f971a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,9 @@ WORKDIR /app COPY . . +# TODO: #shatr заменить на раздачу статической папки через nginx (https://docusaurus.io/docs/deployment#self-hosting) RUN npm install RUN npm run build EXPOSE 3000 -CMD ["npm", "run", "serve"] -#CMD ["npm", "run", "serve", "--", "--build"] \ No newline at end of file +CMD ["npm", "run", "serve"] \ No newline at end of file From 0a4388f8e1d5ef3c1cabd0cbc312e33a3e87a826 Mon Sep 17 00:00:00 2001 From: Sc222 Date: Fri, 19 Jun 2026 17:28:55 +0500 Subject: [PATCH 3/3] Add todos, remove logs breaking build --- src/remark/autoNumberedImages.ts | 3 ++- src/remark/releasesValidation.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/remark/autoNumberedImages.ts b/src/remark/autoNumberedImages.ts index fc0fe89..3ae8ad7 100644 --- a/src/remark/autoNumberedImages.ts +++ b/src/remark/autoNumberedImages.ts @@ -12,7 +12,8 @@ const plugin = () => { const transformer = async (ast: Root, file: VFile) => { // TODO: выводить логи в зависимости от .env - console.info("auto-numbering processing: ", file.path); + // TODO: #shatr - реализовать, что только локально выводится, ломает билд + // console.info("auto-numbering processing: ", file.path); // TODO: если потребуется, можно добавить индексацию видео вложений и т.д. diff --git a/src/remark/releasesValidation.ts b/src/remark/releasesValidation.ts index a13e85c..813ff25 100644 --- a/src/remark/releasesValidation.ts +++ b/src/remark/releasesValidation.ts @@ -122,7 +122,8 @@ const plugin = (options: ReleasesValidationOptions) => { } // TODO: выводить логи в зависимости от .env - console.info("releases-validation processing: ", file.path); + // TODO: #shatr - реализовать, что только локально выводится, ломает билд + // console.info("releases-validation processing: ", file.path); // TODO: добавить проверку на наличие `***` и на то, что он один + в самом начале