sphinx-copybutton icon indicating copy to clipboard operation
sphinx-copybutton copied to clipboard

Custom CSS issue

Open GBrachetta opened this issue 3 years ago • 1 comments

Describe the problem

I'm trying to modify the default css and the build doesn't reflect my changes.

My setup is with separate folders for source and build, and I'm using the defaults in conf.py.

However, my modified copybutton.css file is not built.

If I create any other file, say test.css, that one is indeed built.

Seems like the build process executes my modified file before the original one, so mine gets overwritten?

Link to your repository or website

No response

Steps to reproduce

  1. Add modified copybutton.css to source/_static.
  2. Add a test file test.css to same location.
  3. Create HTML either with make html or sphinx-autobuild source build/html.
  4. The file test.css is present in build/html/_static.
  5. The modified copybutton.css is not, just the default one.
  6. There are no error messages in the terminal.

The version of Python you're using

3.9.9

Your operating system

MacOS Monterey

Versions of your packages

[...]
Sphinx==4.3.1
sphinx-autobuild==2021.3.14
sphinx-copybutton==0.4.0
[...]

Additional context

No response

GBrachetta avatar Dec 07 '21 12:12 GBrachetta

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

welcome[bot] avatar Dec 07 '21 12:12 welcome[bot]