Skip to content

Commit

Permalink
add a postprocessing script for doc site
Browse files Browse the repository at this point in the history
  • Loading branch information
allenanie committed Jul 23, 2024
1 parent 606f7e1 commit bda63cd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/post_build_script.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import shutil
import os

custom_index = 'index.html'
built_book = '_build/html'

shutil.copy2(custom_index, os.path.join(built_book, 'index.html'))

0 comments on commit bda63cd

Please sign in to comment.