sphinx-autobuild copy files (.rst, .sh, .py) on build

Skip to first unread message

1520 gis

Jan 7, 2022, 9:27:13 PMJan 7
to sphinx-users
Hi all,

I have a sphinx project inside ./docs directory. The docs directory has a sub-directory resources ./docs/resources. When I run the command <sphinx-autobuild . docs/_build/html> only the .rst files in ./docs/resources/*.rst files are copied to ./docs/docs/_buils/html/resources/ as html file. However, ./docs/resourses has more files (.py, .sh, .pdf, .txt, etc). Would anyone give me an insight on how to change sphinx configuration to copy the other file extensions (.py, .sh, .pdf) from ./docs/reosurces to ./docs/docs/_build/html/resources/ when running the sphinx-autobuild?

Thank you for your time in advance


Ahmii Azan

Jan 11, 2022, 7:30:32 PM (11 days ago) Jan 11
to sphinx...@googlegroups.com
It's ok 

You received this message because you are subscribed to the Google Groups "sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/a972a8db-f5e8-4972-8865-1fbb9dc6ca4fn%40googlegroups.com.
Reply all
Reply to author
0 new messages