Skip to content

Fix duplicate copy buttons in sphinxawesome and shibuya themes - #158

Merged
timkpaine merged 1 commit into
python-project-templates:mainfrom
Point72:tkp/fix-duplicate-copy-buttons
Sep 17, 2026
Merged

timkpaine merged 1 commit into
python-project-templates:mainfrom
Point72:tkp/fix-duplicate-copy-buttons

Conversation

@timkpaine

Copy link
Copy Markdown
Member

sphinx-copybutton styles its button as button.copybtn, so the .copybtn hide rule lost on specificity and both copy buttons rendered.

sphinx-copybutton styles its button as `button.copybtn`, so the `.copybtn` hide rule lost on specificity and both copy buttons rendered.

Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
@codecov

codecov Bot commented Sep 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.22%. Comparing base (4aa5ce1) to head (3e1a11d).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #158   +/-   ##
=======================================
  Coverage   86.22%   86.22%           
=======================================
  Files          16       16           
  Lines        2026     2026           
  Branches      209      209           
=======================================
  Hits         1747     1747           
  Misses        217      217           
  Partials       62       62           

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@timkpaine
timkpaine merged commit 6bd2c92 into python-project-templates:main Sep 17, 2026
3 checks passed
@timkpaine
timkpaine deleted the tkp/fix-duplicate-copy-buttons branch September 17, 2026 14:27
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