Skip to content

feat: link to OMA-URIs instead of inlining code - #295

Merged
bsmth merged 1 commit into
mozilla:mainfrom
bsmth:oma-uris
Aug 25, 2026
Merged

feat: link to OMA-URIs instead of inlining code#295
bsmth merged 1 commit into
mozilla:mainfrom
bsmth:oma-uris

Conversation

@bsmth

@bsmth bsmth commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Description:

In this PR, we link out to the OMA-URIs in the templates repo instead of including all of the code in each reference page.

Motivation:

We're manually curating the code here, but MKaply has created a generator in the templates repo which is much more stable. It's easier for us to maintain it and much less error prone if we link out to the external site instead of including the content in-page.

Related issues and pull requests:

@bsmth
bsmth requested a review from mkaply August 24, 2026 14:23
```

If you are using custom ADMX and ADML administrative templates in Intune, you can use this OMA-URI instead
to workaround the limit on the length of strings. Put all of your JSON on one line.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This is recorded inline in the templates repo: no information loss here.

@bsmth

bsmth commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator Author

@mkaply FWIW, I checked all diffs under src/content/docs/reference/policies/* manually and all looking fine.

@mkaply

mkaply commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

I trust you on this one.

@bsmth
bsmth merged commit d46a2cc into mozilla:main Aug 25, 2026
1 check passed
@bsmth
bsmth deleted the oma-uris branch August 25, 2026 07:30
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.

2 participants