Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom CSS issue #147

Open
GBrachetta opened this issue Dec 7, 2021 · 1 comment
Open

Custom CSS issue #147

GBrachetta opened this issue Dec 7, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@GBrachetta
Copy link

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 GBrachetta added the bug Something isn't working label Dec 7, 2021
@welcome
Copy link

welcome bot commented Dec 7, 2021

Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

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! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant