Skip to content

Render code blocks with DocumenterCodeBlocks - #83

Open
maleadt wants to merge 1 commit into
mainfrom
tb/codeblocks
Open

maleadt wants to merge 1 commit into
mainfrom
tb/codeblocks

Conversation

@maleadt

@maleadt maleadt commented Oct 25, 2026

Copy link
Copy Markdown
Collaborator

Adds the DocumenterCodeBlocks.jl plugin to the documentation build, as done in JuliaGPU/KernelAbstractions.jl#917. Julia code blocks are now highlighted at build time, get linkable line numbers, and link identifiers to their docstrings with hover tooltips.

The plugin relies on Documenter internals, so a future Documenter release may need a matching DocumenterCodeBlocks update.

The plugin highlights Julia code at build time, adds linkable line numbers,
and links identifiers in code blocks to their docstrings with hover tooltips.
The configuration matches the one in KernelAbstractions.jl.
@codecov

codecov Bot commented Oct 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.73%. Comparing base (ee2d444) to head (384748f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #83      +/-   ##
==========================================
+ Coverage   80.64%   80.73%   +0.09%     
==========================================
  Files           9        9              
  Lines         837      841       +4     
==========================================
+ Hits          675      679       +4     
  Misses        162      162              

☔ View full report in Codecov by Harness.
📢 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.

This branch has not been deployed

No deployments
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.

1 participant