Skip to content

tutorial: Fix line numbers in literalincludes - #1056

Merged
crimson11 merged 1 commit into
mainfrom
mf_fix_tutorial_code_listings
Sep 8, 2026
Merged

crimson11 merged 1 commit into
mainfrom
mf_fix_tutorial_code_listings

Conversation

@crimson11

Copy link
Copy Markdown
Contributor

Later changes of the source-code hadn't been reflected in README.rst, thus tutorial pointing to wrong code locations. Fixed line numbers.

Later changes of the source-code hadn't been reflected in
README.rst, thus tutorial pointing to wrong code locations.
Fixed line numbers.

.. literalinclude:: provider.cpp
:language: cpp
:lines: 30-30

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Would it be possible to somehow create tags which can be linked to? I guess the code will change in the future again so we will never keep these in sync

@crimson11
crimson11 enabled auto-merge September 8, 2026 09:58
@crimson11
crimson11 added this pull request to the merge queue Sep 8, 2026
Merged via the queue into main with commit 89ffbcd Sep 8, 2026
21 checks passed
@crimson11
crimson11 deleted the mf_fix_tutorial_code_listings branch September 8, 2026 10:20
@github-project-automation github-project-automation Bot moved this from Backlog to Done in COM - Communication FT Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants