# Broken documentation for Source maps

**URL:** <https://discuss.elastic.co/t/broken-documentation-for-source-maps/344716>\
**Category:** Elastic Observability\
**Created:** [October 10, 2023, 9:03am UTC](https://discuss.elastic.co/t/broken-documentation-for-source-maps/344716 "2023-10-10T09:03:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mattias\_Pantzare](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattias_pantzare/32/126405_2.png) [@Mattias\_Pantzare](https://discuss.elastic.co/u/Mattias_Pantzare)\
**Post date:** [October 10, 2023, 9:03am UTC](https://discuss.elastic.co/t/broken-documentation-for-source-maps/344716/1 "2023-10-10T09:03:51Z")

</div>

In the documentation for APM Real User Monitoring Javascript Agent 5.x (current) there is a chapter for "Source maps".

[Introduction | APM Real User Monitoring JavaScript Agent Reference [5.x] | Elastic](https://www.elastic.co/guide/en/apm/agent/rum-js/current/intro.html)

No link on that page for how you generate a sourcemap works. They all point back to "What is APM" which is of no use...

Where are documentation errors supposed to be reported?

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [October 10, 2023, 2:55pm UTC](https://discuss.elastic.co/t/broken-documentation-for-source-maps/344716/2 "2023-10-10T14:55:00Z")

</div>

Hi @Mattias_Pantzare,

Welcome to the community! Thanks for flagging the issue.

The best approach for documentation errors is to either [raise an issue](https://github.com/elastic/apm-agent-rum-js/issues/new) on the RUM agent GitHub repo. Alternatively if you know the fix you can raise a PR [updating the ascii doc directly](https://github.com/elastic/apm-agent-rum-js/blob/5d2d16908ffc3cadfabf5139bfaf21628d69df8d/docs/intro.asciidoc#L4).

Hope that helps!
