Skip to content

Enhance documentation with additional descriptions and links for articles, cmdlets, and installation processes; add new llms.txt file for quick reference.#5334

Merged
gautamdsheth merged 1 commit into
devfrom
fix/docs-llms
May 30, 2026

Conversation

@gautamdsheth
Copy link
Copy Markdown
Collaborator

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

Improve docs

What is in this Pull Request ?

Improve docs for humans and AI

…cles, cmdlets, and installation processes; add new llms.txt file for quick reference.
Copilot AI review requested due to automatic review settings May 30, 2026 20:58
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR improves the PnP PowerShell documentation site for both human readers and AI agents. It introduces stable cross-reference UIDs on key pages so internal links survive future restructuring, adds an llms.txt quick-reference for LLMs, declares a sitemap and _lang for the DocFX site, and adds CSS styling for code-block copy actions.

Changes:

  • Added YAML front matter with uid/title/description to the main index, articles index, cmdlets index, and key articles (installation, registerapplication, authentication, gettingstartedcontributing), and converted internal links to xref: form.
  • Added pages/llms.txt as a static AI-oriented entry point, registered as a DocFX resource; added sitemap configuration and _lang: en in docfx.json.
  • Added CSS in pages/templates/pnp-modern/public/main.css to style a .code-action copy button on <pre> code blocks, including dark theme and small-viewport variants.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pages/index.md Adds UID front matter and converts internal links to xref: references.
pages/articles/index.md Adds UID/title/description front matter for the articles landing page.
pages/articles/installation.md Adds UID front matter so other pages can reference it via xref.
pages/articles/registerapplication.md Adds UID front matter and converts an authentication link to xref.
pages/articles/authentication.md Adds UID front matter and converts registerapplication links to xref.
pages/articles/gettingstartedcontributing.md Adds UID front matter and converts a folder-structure link to existing xref.
pages/cmdlets/index.md Adds UID front matter for the cmdlet index.
pages/docfx.json Adds llms.txt resource, _lang: "en" global metadata, and per-glob sitemap configuration.
pages/llms.txt New AI-agent oriented quick reference with curated links to key docs and cmdlets.
pages/templates/pnp-modern/public/main.css Adds copy-button styling for <pre> blocks with light/dark theme and responsive variants.

Comment on lines +189 to +192
pre:hover > .code-action,
pre:focus-within > .code-action {
display: inline-flex;
}
@gautamdsheth gautamdsheth merged commit 9a41c02 into dev May 30, 2026
4 checks passed
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