-
Hello everyone! I need some help with transferring a directory containing This step is not helpful for me:
Can anyone please help me with this? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
You need to put the |
Beta Was this translation helpful? Give feedback.
-
Thank you very much, guys! Have a great day!!! |
Beta Was this translation helpful? Give feedback.
When you put the CSS into
docs/
then it gets deployed to your site, while files outsidedocs/
do not. Theextra_css
configuration option does not result in extra files being deployed but just leads to a link being inserted in the HTML that loads the CSS. If you want to keep your CSS, JS or other files outside thedocs/
folder then you need to also get MkDocs to copy them over to your site.It turns out that the
static_templates
option is not needed for CSS and JS, so this should be enough:Now, create a folder
assets
in your project root and inside thatstylesheets
, then copy/move yourextra.css
there.