Update docs for theming

This commit is contained in:
Frank Yu authored and GitHub committed 2021-07-03 00:44:10 +08:00
1 parent bc616d3b1a
commit da00466081
1 file changed
+3
+3
View File
@@ -256,6 +256,9 @@ Here is some sample code to accomplish this:
.. code-block:: python
from os import path
from sphinx.util.fileutil import copy_asset_file
def copy_custom_files(app, exc):
if app.builder.format == 'html' and not exc:
staticdir = path.join(app.builder.outdir, '_static')