Skip to content

Conversation

@spookylukey
Copy link
Contributor

The correct alignment for the content of these code-block directives is the 3rd column, (aligned to the code-block text), not the 4th column.

The extra space is not removed by the docutils parser, so the docs all have an extra space in them, which is very annoying for copy-pasting, especially into limited editors like the CQ-editor where you have to clean up every code sample before it works (otherwise you get IndentationError).

See, for example: https://cadquery.readthedocs.io/en/latest/quickstart.html#start-with-a-single-simple-plate

Some other whitespace errors with image directive were also fixed.

This is almost all rst files, one py file with some rst code was also fixed.

The correct alignment is the 3 column, aligned to the `code-block` directive,
not the 4 column.

The extra space is not removed by the docutils parser, so the docs
all had an extra space in them, which is very annoying for copy-pasting,
especially into limited editors like the CQ-editor where you have to clean up
every code sample before it works (otherwise you get IndentationError).
@codecov
Copy link

codecov bot commented Jun 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.66%. Comparing base (f07e7e0) to head (227a936).
⚠️ Report is 10 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1861   +/-   ##
=======================================
  Coverage   95.66%   95.66%           
=======================================
  Files          28       28           
  Lines        7431     7431           
  Branches     1122     1122           
=======================================
  Hits         7109     7109           
  Misses        193      193           
  Partials      129      129           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@adam-urbanczyk
Copy link
Member

LGTM, thanks @spookylukey ! Formatting fix, so merging without reviews.

@adam-urbanczyk adam-urbanczyk merged commit b94a067 into CadQuery:master Jul 6, 2025
5 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