Skip to content

NOISSUE - Fix broken documentation links#94

Open
Musilah wants to merge 4 commits intoabsmach:mainfrom
Musilah:dev-url
Open

NOISSUE - Fix broken documentation links#94
Musilah wants to merge 4 commits intoabsmach:mainfrom
Musilah:dev-url

Conversation

@Musilah
Copy link
Copy Markdown
Contributor

@Musilah Musilah commented Apr 2, 2026

What type of PR is this?

This is a documentation update because it fixes broken internal links, replaces dead external documentation links, and refreshes outdated references across the docs.

What does this do?

Updates docs across user-guide, dev-guide, and related app metadata so links resolve correctly and point to live destinations. This includes:

  • fixing broken internal /docs/... navigation
  • replacing dead external API-host links with live SuperMQ docs pages
  • updating outdated source links from old Magistrala paths to current SuperMQ or contrib locations
  • refreshing stale LoRa references from old LoRa Server pages to current ChirpStack documentation
  • correcting the structured-data releaseNotes URL to a real existing page

Which issue(s) does this PR fix/relate to?

N/A

Have you included tests for your changes?

Tested Manually

Did you document any new/modified features?

Notes

Comment thread content/docs/dev-guide/extensions/lora.mdx Outdated
Comment thread content/docs/dev-guide/dev-tools/authentication.mdx Outdated
Comment thread content/docs/dev-guide/extensions/lora.mdx Outdated
Comment thread content/docs/dev-guide/services/provision.mdx Outdated
Comment thread package.json
"scripts": {
"build": "next build",
"dev": "next dev",
"dev": "NODE_OPTIONS='--max-old-space-size=3072' next dev",
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.

what's the reason for this change?

Copy link
Copy Markdown
Contributor Author

@Musilah Musilah Apr 2, 2026

Choose a reason for hiding this comment

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

Node.js doesn't have a memory limit by default. it'll keep grabbing RAM until the machine runs out. That's exactly what happened to me. After about 22 minutes of running pnpm dev, the dev server had ballooned to 7.7GB of heap memory, crashed and took Brave down with it (the whole laptop was lagging).

This happens because Next.js dev mode compiles and caches every page you visit in memory and never clears it mid-session. Our docs files are on the larger side (some are 76–88KB of MDX) and those expand significantly once compiled. Over a long session it just stacks up.

The fix caps Node's memory at 3GB. Instead of silently eating all the RAM and hanging the machine, it'll now crash just the dev server at that limit. You restart it, carry on without any issues. 3GB is enough to work comfortably through a normal dev session.

@dborovcanin
Copy link
Copy Markdown
Contributor

@Musilah Please rebase.

Musilah added 3 commits April 7, 2026 14:03
Signed-off-by: Musilah <nataleigh.nk@gmail.com>
Signed-off-by: Musilah <nataleigh.nk@gmail.com>
Signed-off-by: Musilah <nataleigh.nk@gmail.com>
Signed-off-by: Musilah <nataleigh.nk@gmail.com>
Copy link
Copy Markdown
Contributor

@dborovcanin dborovcanin left a comment

Choose a reason for hiding this comment

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

Check if there are unused and duplicate links and remove export service references.

[agent]: https://github.com/absmach/agent
[config]: https://github.com/absmach/magistrala/tree/main/provision#configuration
[env]: https://github.com/absmach/magistrala/blob/main/docker/.env
[mgui]: https://github.com/absmach/magistrala-ui-new
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.

Remove UI (and other possibly unused links).

[conftoml]: https://github.com/absmach/magistrala/blob/main/docker/addons/provision/configs/config.toml
[users]: https://github.com/absmach/magistrala/blob/main/users/README.md
[users]: https://magistrala.absmach.eu/docs/dev-guide/services/users/
[exp]: https://github.com/absmach/export
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.

Same here, export service needs some love before we return it to the docs. It will probably be replaced by agent.

Comment on lines +67 to +70
[http-adapter]: /docs/dev-guide/dev-tools/messaging#http
[mqtt-adapter]: /docs/dev-guide/dev-tools/messaging#mqtt
[coap-adapter]: /docs/dev-guide/dev-tools/messaging#coap
[ws-adapter]: /docs/dev-guide/dev-tools/messaging#websocket
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.

We don't have adapters anymore, so rename. We also need to update the diagrams, but I'll need to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants