Skip to content

Separate build instructions for Windows and Unix into separate sections in README.md #664

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mcbarton
Copy link
Collaborator

Description

Please include a summary of changes, motivation and context for this PR.

There is a lot of back and forth in the build instructions in the readme for different platforms. To quickly get a set of instructions for either Windows or a Unix platform this PR arranges them into clickable sections when viewed on Github. e.g. it looks like this, where you click on the platform you want, to get the instructions just for that platform

image

To me this a lot cleaner, and easier for a beginner to decipher what exact instructions the user wants for their platform. To see how this looks in practice, and how it neatens everything up, see the branch of this PR https://github.com/mcbarton/CppInterOp/tree/Neaten-readme-build-instrucgtions

Fixes # (issue)

Type of change

Please tick all options which are relevant.

  • Bug fix
  • New feature
  • Requires documentation updates

Testing

Please describe the test(s) that you added and ran to verify your changes.

Checklist

  • I have read the contribution guide recently

@mcbarton mcbarton requested a review from vgvassilev July 11, 2025 18:18
@mcbarton
Copy link
Collaborator Author

Will work out how best to fix the linter issues next week (almost all about now having duplicate headers). Feel free to provide feedback on the idea of the PR in the meantime though. I will stop the workflows for now, and they can run when I fix the linter issues.

@mcbarton mcbarton force-pushed the Neaten-readme-build-instrucgtions branch 2 times, most recently from a0eddb2 to f21a206 Compare July 13, 2025 21:06
Copy link

codecov bot commented Jul 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.30%. Comparing base (10e0d5d) to head (c2e265e).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #664   +/-   ##
=======================================
  Coverage   79.30%   79.30%           
=======================================
  Files           9        9           
  Lines        3876     3876           
=======================================
  Hits         3074     3074           
  Misses        802      802           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mcbarton
Copy link
Collaborator Author

Now that the markdown linter is passing for this PR it is ready for review.

Copy link
Collaborator

@Vipul-Cariappa Vipul-Cariappa left a comment

Choose a reason for hiding this comment

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

This looks good, will help beginners.
I was thinking; should we have nested expandable sections, for cling & clang-repl?

@mcbarton
Copy link
Collaborator Author

This looks good, will help beginners. I was thinking; should we have nested expandable sections, for cling & clang-repl?

Thanks for the feedback. I was thinking about this idea already, and will implement it sometime this week.

@mcbarton mcbarton force-pushed the Neaten-readme-build-instrucgtions branch from f21a206 to c2e265e Compare July 17, 2025 13:13
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