Skip to content

Add non-specific locale links to Mozilla docs #964

Closed
@pdehaan

Description

@pdehaan

It seems like the data types always return MDN links (yay!), but MDN is pretty awesome at inferring the user's locale and serving up the best solution automatically, so it'd be nice if we could drop the /en-US/ bit and let MDN handle it.

### getTelemetryId

Returns **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** the telemetry client ID

I tried searching the codebase, but couldn't find where/how we were generating those URLs.


$(npm bin)/documentation --version # 5.3.3
$(npm bin)/documentation build 'src/**' -f md --parse-extension=jsm -o docs/api.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions