मैं कस्टम सीएसएस फ़ाइल कैसे जोड़ सकता हूं? निम्नलिखित config मेरे लिए काम नहीं करता है:स्फिंक्स में कस्टम सीएसएस फ़ाइल कैसे जोड़ें?
# conf.py
html_static_path = ['_static']
html_theme = 'default'
html_theme_options = {
'cssfiles': ['_static/style.css']
}
परिणाम:
C:\temp\test-docs\docs>make html
Running Sphinx v1.2.2
loading pickled environment... not yet created
building [html]: targets for 2 source files that are out of date
updating environment: 2 added, 0 changed, 0 removed
reading sources... [ 50%] help
reading sources... [100%] index
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents...
Theme error:
unsupported theme option 'cssfiles' given
धन्यवाद - यह स्वीकार्य उत्तर होना चाहिए! –
'app.add_javascript ('file.js') के माध्यम से जावास्क्रिप्ट फ़ाइलों को जोड़ें। – Anil
हम्म यह मेरे लिए काम नहीं कर रहा प्रतीत होता है –