Rst2html.py <link> stylesheet

Using Docutils rst2html.py, whether to include a reference to the style sheet to head

: <head>...<link rel=stylesheet href="friendly+dinosaur.css" />...</head>

?

So, to clarify, I'm not interested in creating <style>...{{ contents on friendly+dinosaur.css }}...</style>

or using @import

.

I noticed there --link-stylesheet

, although it doesn't take any arguments, it just adds a reference to the html4css1.css

. --stylesheet-path

seems unrelated to my question.

+3


source to share


1 answer


You were almost there. The flag --link-stylesheet

sets the style of the style binding to (not inline) and then you specify the name of the style sheet you want to link to--stylesheet my_style.css



... html4css1.css

appeared because it is the default stylesheet.
+1


source







All Articles