Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
CMD ["npm", "run", "serve"]
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion src/remark/autoNumberedImages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: если потребуется, можно добавить индексацию видео вложений и т.д.
Expand Down
3 changes: 2 additions & 1 deletion src/remark/releasesValidation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: добавить проверку на наличие `***` и на то, что он один + в самом начале

Expand Down