Skip to content

Refresh README and broaden CI detection#9

Merged
pingu2k4 merged 3 commits into
mainfrom
feature/docs-refresh
May 2, 2026
Merged

Refresh README and broaden CI detection#9
pingu2k4 merged 3 commits into
mainfrom
feature/docs-refresh

Conversation

@pingu2k4
Copy link
Copy Markdown
Contributor

@pingu2k4 pingu2k4 commented May 2, 2026

Categorise the PR

  • feature
  • bug
  • docs
  • security
  • meta
  • patch
  • minor
  • major

Summary

This pull request focuses on improving the documentation and build integration guidance for RazorStyle, with no changes to production or test code. The main updates are a complete rewrite of the README.md for clarity and usability, and enhancements to CI build detection in Directory.Build.props.

Documentation improvements:

  • Completely rewrote the README.md to include a clear package comparison table with grouped badges, a contents section, detailed package usage guidance, build integration instructions, CLI usage examples, and richer descriptions of each linting rule. [1] [2] [3] [4] [5]
  • Reformatted badges in the README.md to display version and download counts grouped by package type for better readability.

Build and CI integration:

  • Broadened automatic CI detection in Directory.Build.props so that ContinuousIntegrationBuild is enabled for GitHub Actions, Azure DevOps, TeamCity, Jenkins, and any environment with CI=true, unless explicitly set. This ensures consistent behaviour across common CI providers.
  • Updated documentation to explain the new CI detection logic and how to override build behaviour with MSBuild properties.

Process documentation:

  • Added a .diary/docs-refresh.md file summarizing the motivation, plan, and session log for the documentation and CI improvements.

pingu2k4 added 3 commits May 2, 2026 03:55
Rewrote README to refresh structure and add NuGet badges, a Contents section, clearer package guidance (PinguApps.RazorStyle and PinguApps.RazorStyle.Cli), Build Integration and CLI usage docs, and expanded rule descriptions for RS0001–RS0003. Broadened CI detection guidance so ContinuousIntegrationBuild is documented to auto-enable for GitHub Actions, Azure DevOps (TF_BUILD), generic CI=true, TeamCity, and Jenkins. Added .diary/docs-refresh.md capturing the session log and next actions. No production or test code was changed; this commit is purely documentation and build guidance updates.
Expand ContinuousIntegrationBuild logic to detect multiple CI environments (GITHUB_ACTIONS, TF_BUILD, CI, TEAMCITY_VERSION, JENKINS_URL) and only set it to true when not already defined. Previously it only checked GITHUB_ACTIONS; this prevents overriding an explicit setting and ensures builds on various CI systems are recognized.
Group and reformat the README badges into a Markdown table to separate CLI tool and build package badges into Version/Downloads rows. Also record the docs refresh entry in .diary/docs-refresh.md with timestamp and brief rationale. (files: README.md, .diary/docs-refresh.md)
@pingu2k4 pingu2k4 self-assigned this May 2, 2026
Copilot AI review requested due to automatic review settings May 2, 2026 10:24
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 2, 2026

Pull Request Test Results

20 tests   20 ✅  0s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 03c8666.

Copy link
Copy Markdown

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 refreshes the project’s documentation and clarifies CI/build integration behavior for RazorStyle, primarily by rewriting the README and expanding CI detection logic at the repo build-props level.

Changes:

  • Rewrote README.md to improve package guidance, add a contents section, reorganize build vs CLI usage instructions, and expand rule explanations.
  • Broadened ContinuousIntegrationBuild auto-detection in Directory.Build.props to cover multiple CI providers (and CI=true) when not explicitly set.
  • Added a .diary entry documenting the motivation and steps taken for the docs/CI refresh.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
README.md New structure, badges table, clearer usage guidance (build integration + CLI), and richer rule descriptions.
Directory.Build.props Expanded conditional logic that sets ContinuousIntegrationBuild based on common CI environment variables.
.diary/docs-refresh.md Session notes/log for the docs and CI detection updates.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pingu2k4 pingu2k4 merged commit 9a5e0b4 into main May 2, 2026
8 checks passed
@pingu2k4 pingu2k4 deleted the feature/docs-refresh branch May 2, 2026 10:28
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.

2 participants