Does the extra.css work with docker container? #8071
-
I was trying to change the color scheme of the code blocks, following this documentation. https://squidfunk.github.io/mkdocs-material/reference/code-blocks/?h=code#custom-syntax-theme So I created the file /docs/stylesheets/extra.css with the following info
In the mkdocs.yml I have added at the end the line:
But nothing changes. I tried:
So, should the extra.css work with docker container? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi @tmpt2
In principle, this should work. My questions:
We need a minimal reproduction of the problem. Otherwise we cannot help you. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your answer! I don't have much knowledge about this things, but checking the inspector, I figure it out. Again, thank you, and sorry for the rookie mistake |
Beta Was this translation helpful? Give feedback.
-
There is one thing. I don't know if it will make since, but I have published the website thought cloudflare and I think there is some cloudflare cache that makes the .css changes to not appear. |
Beta Was this translation helpful? Give feedback.
Hi @tmpt2
In principle, this should work.
My questions:
mkdocs serve
locally (not in the container)?We need a minimal reproduction of the problem. Otherwise we cannot help you.