Skip to content

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

Merged
MacOS merged 6 commits into
SKaiNET-developers:developfrom
MacOS:fix/build-docs/npm-urls
Jul 23, 2026
Merged

[FIX]: Change URLs in npm install command#868
MacOS merged 6 commits into
SKaiNET-developers:developfrom
MacOS:fix/build-docs/npm-urls

Conversation

@MacOS

@MacOS MacOS commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

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

This fix has the shortcoming of rolling back the install commands of antora cli and antora site-generator to installation from the npm package repository. The problem with these two is that they are part of a mono-repository, where a lot of packages are developed. I was unable to find a solution where we can pin the installs with a commit hash.

PR #857 is a failed attempt.

@MacOS
MacOS requested review from Copilot and michalharakal July 23, 2026 12:20
@MacOS MacOS self-assigned this Jul 23, 2026
@MacOS MacOS added the bug Something isn't working label Jul 23, 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

Fixes the broken docs Docker image npm installs by switching invalid GitLab/GitHub “browse” URLs to installable package specs (npm registry versions for Antora packages, and proper git URLs with commit hashes for git-installed dependencies).

Changes:

  • Replace non-installable Antora GitLab /tree/<sha>/... URLs with npm registry installs for @antora/cli and @antora/site-generator.
  • Fix git dependency install specs by switching to .git#<commit> format for antora-lunr-extension and mermaid-cli.

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

Comment thread docs/.docker/Dockerfile Outdated

@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 merged commit 2c766b9 into SKaiNET-developers:develop Jul 23, 2026
14 checks passed
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.

3 participants