Skip to content

[FIX]: Change URLs in npm install command#857

Closed
MacOS wants to merge 5 commits into
SKaiNET-developers:developfrom
MacOS:fix/build-docs/npm-urls
Closed

[FIX]: Change URLs in npm install command#857
MacOS wants to merge 5 commits into
SKaiNET-developers:developfrom
MacOS:fix/build-docs/npm-urls

Conversation

@MacOS

@MacOS MacOS commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

This PR fixes the broken npms install by changing the URLs, the bug was introduced by PR #848.

@MacOS
MacOS requested review from Copilot and michalharakal July 22, 2026 11:57
@MacOS MacOS self-assigned this Jul 22, 2026
@MacOS MacOS added the bug Something isn't working label Jul 22, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the pinned git URLs used to install Antora-related npm dependencies in the docs Docker image, intended to fix a broken npm install introduced by PR #848.

Changes:

  • Replaces GitLab/GitHub “tree/commit page” URLs with git-repository URLs intended to be installable by npm.
  • Keeps commit-hash pinning for reproducible, integrity-preserving installs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/.docker/Dockerfile
Comment on lines 55 to 59
RUN npm init -y && npm i --save-exact \
https://gitlab.com/antora/antora/-/tree/aa33c8283f9cbc76df93201bec5f8421e8f59a43/packages/cli \
https://gitlab.com/antora/antora/-/tree/aa33c8283f9cbc76df93201bec5f8421e8f59a43/packages/site-generator \
https://gitlab.com/antora/antora-lunr-extension/-/commit/41975fc8f62cb2219a2de2f618de1ae1482bd0ce \
https://github.com/mermaid-js/mermaid-cli/tree/a85b11df7064498d5b6b97ee9b2d4a7c10cb42ae \
https://gitlab.com/antora/antora.git#aa33c8283f9cbc76df93201bec5f8421e8f59a43 \
https://gitlab.com/antora/antora-lunr-extension.git#41975fc8f62cb2219a2de2f618de1ae1482bd0ce \
https://github.com/mermaid-js/mermaid-cli.git#a85b11df7064498d5b6b97ee9b2d4a7c10cb42ae \
https://github.com/asciidoctor/asciidoctor-kroki.git#d02fbf06cdb837524f5e4e12537c05e0bb83c715 \
@MacOS

MacOS commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator Author

This is not done yet - I will continue tomorrow!

@michalharakal

Copy link
Copy Markdown
Contributor

@MacOS after you are done, I will probably reuse your work and move the docker/antora docs generating related code into a seprate repository and reuse it from other SKaiNET-family repositories.

michalharakal
michalharakal previously approved these changes Jul 22, 2026

@michalharakal michalharakal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @MacOS

@MacOS

MacOS commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator Author

@michalharakal I will continue tomorrow.

Comment thread docs/.docker/Dockerfile Outdated
Comment on lines +61 to +67
RUN git clone https://gitlab.com/antora/antora.git \
&& cd antora \
&& git checkout aa33c8283f9cbc76df93201bec5f8421e8f59a43 \
&& cd packages/cli \
&& npm install --save-exact \
&& cd ../packages/site-generator \
&& npm install --save-exact
Comment thread docs/.docker/Dockerfile Outdated
Comment on lines +61 to +67
RUN git clone https://gitlab.com/antora/antora.git \
&& cd antora \
&& git checkout aa33c8283f9cbc76df93201bec5f8421e8f59a43 \
&& cd packages/cli \
&& npm install --save-exact \
&& cd ../packages/site-generator \
&& npm install --save-exact
@MacOS MacOS closed this Jul 23, 2026
@MacOS
MacOS deleted the fix/build-docs/npm-urls branch July 23, 2026 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants