@@ -151,7 +151,7 @@ def build_marketplace(
151151 sphinx_quickstart (temp_docs , requirements )
152152
153153 build_temp_project (source_dir , temp_root )
154- build_temp_docs (temp_root , temp_docs )
154+ build_temp_docs (temp_root , temp_docs , source_dir )
155155 patch_temp_docs (source_dir , temp_docs )
156156
157157 if _verbose :
@@ -668,7 +668,7 @@ def sphinx_quickstart(
668668 click .echo ("[Sphinx] Done quickstart" )
669669
670670
671- def build_temp_docs (temp_root , temp_docs ):
671+ def build_temp_docs (temp_root , temp_docs , source_dir ):
672672 """
673673 Look recursively in <MODULE_PATH> for Python modules and packages and create
674674 one reST file with automodule directives per package in the <OUTPUT_PATH>. The
@@ -678,6 +678,7 @@ def build_temp_docs(temp_root, temp_docs):
678678
679679 :param temp_root: The project's temporary functions root.
680680 :param temp_docs: The project's temporary docs root.
681+ :param source_dir: Path to the source directory to build the marketplace from
681682 """
682683 click .echo ("[Sphinx] Running autodoc..." )
683684
@@ -686,6 +687,7 @@ def build_temp_docs(temp_root, temp_docs):
686687
687688 sphinx_apidoc_cmd (cmd .split (" " ))
688689
690+ shutil .copytree (source_dir / "cli" / "marketplace" / "_static" / "css" , temp_docs / '_static/css' )
689691 click .echo ("[Sphinx] Done autodoc" )
690692
691693
0 commit comments