Documenter.jl icon indicating copy to clipboard operation
Documenter.jl copied to clipboard

Deprecation warning from Documenter.jl source code

Open juliohm opened this issue 3 years ago • 6 comments

Can you please confirm that this warning is already on your radar?

DEPRECATION WARNING on line 18 of /home/juliohm/.julia/packages/Documenter/Nu7Lp/assets/html/scss/documenter/components/_admonition.scss:
!global assignments won't be able to declare new variables in future versions.
Consider adding `$admonition-header-color: null` at the top level.

juliohm avatar Feb 10 '22 13:02 juliohm

I saw this on CI, but how did you trigger it?

fredrikekre avatar Feb 10 '22 13:02 fredrikekre

I am triggering it whenever I build the GeoStats.jl docs in the master branch.

juliohm avatar Feb 18 '22 22:02 juliohm

https://github.com/JuliaEarth/GeoStats.jl/blob/392ac42e239ee71647c79b4e44cdc7ee5f069403/docs/make.jl#L14-L15

fredrikekre avatar Feb 25 '22 09:02 fredrikekre

@fredrikekre aren't these lines supported? What should I do?

juliohm avatar Feb 25 '22 11:02 juliohm

I get the same issue. These lines came from a long back and forth I had with @mortenpi about how to theme your own docs and they are what allows documentation pages to look different, e.g. https://juliadynamics.github.io/DynamicalSystems.jl/dev/ . If the way to theme your docpages has changed, please do let us know of the new way :)

Datseris avatar Feb 27 '22 12:02 Datseris

You can use a version of libsass that doesn't deprecate those things: https://github.com/JuliaDocs/Documenter.jl/commit/33c53bd43657dbbd26532b35646d842526a86ff8

fredrikekre avatar Feb 27 '22 13:02 fredrikekre