Skip to content

Add documentation style guide#523

Draft
vicroms wants to merge 1 commit intoMicrosoftDocs:mainfrom
vicroms:style-guide
Draft

Add documentation style guide#523
vicroms wants to merge 1 commit intoMicrosoftDocs:mainfrom
vicroms:style-guide

Conversation

@vicroms
Copy link
Collaborator

@vicroms vicroms commented Aug 19, 2025

@learn-build-service-prod
Copy link
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 issues. Other issues are also a high priority. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 6f3b565:

✅ Validation status: passed

File Status Preview URL Details
.copilot/documentation-template.md ✅Succeeded
.copilot/instructions.md ✅Succeeded
README.md ✅Succeeded
vcpkg/contributing/documentation-style-guide.md ✅Succeeded View
vcpkg/TOC.yml ✅Succeeded View

For more details, please refer to the build report.

@prmerger-automator
Copy link

PRMerger Results

Issue Description
Added File(s) This PR contains added files. New files require human review.
Yaml File(s) This PR includes changes to .yml file(s) owned by another author.
File Change Percent This PR contains file(s) with more than 30% file change.
Repository root file This pull request contains a file submitted to the root of the repository.


[Cross-references to related documentation:]

- [vcpkg Maintainer Guide](./maintainer-guide.md)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not an expert on copilot reading this stuff but I think there may be confusion with [] used to denote "replacements" above with the markdown URL syntax used here.

- **Never create duplicate H2 headings** within the same document
- **Always use relative paths** for internal links (./filename.md)
- **Follow markdown formatting rules** defined in .markdownlint.jsonc
- **Maintain line length limits** (120 characters for prose)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- **Maintain line length limits** (120 characters for prose)
- **Maintain line length limits** (120 characters for prose) but don't edit something only to restore a length limit

Copy link
Collaborator

Choose a reason for hiding this comment

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

Also why are some of these bold and some not?

- **Repository**: vcpkg-docs (Microsoft's vcpkg package manager documentation)
- **Audience**: Developers using vcpkg for C++ package management
- **Platform**: Microsoft Docs publishing system
- **Primary Shell**: PowerShell (pwsh.exe) on Windows
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- **Primary Shell**: PowerShell (pwsh.exe) on Windows
- **Primary Shell**: PowerShell (pwsh.exe) on Windows, zsh on macOS, bash on Linux

### Links to Avoid

- External links that may break over time
- Deep links into other repositories' documentation
Copy link
Collaborator

Choose a reason for hiding this comment

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

What's wrong with these?


### Voice and Tone

- **Authoritative but approachable**: Be confident and knowledgeable while remaining accessible
Copy link
Collaborator

Choose a reason for hiding this comment

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

In my experience these things are already fairly confident and asking them to be even more confident may increase the risk of hallucinations but 🤷

# Use PowerShell syntax for Windows examples
vcpkg install boost

# Use appropriate shell for cross-platform examples
Copy link
Collaborator

Choose a reason for hiding this comment

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

Bash example? Also what about @JavierMatosD 's zone pivots?

@vicroms vicroms marked this pull request as draft October 20, 2025 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants