Skip to content

Commit

Permalink
Копирование ресурсов в доках
Browse files Browse the repository at this point in the history
  • Loading branch information
K1llMan committed May 9, 2023
1 parent 45940da commit 6e0ef4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
def copy_resources(app, docname):
if app.builder.name == 'html':
output_dir = os.path.join(app.outdir, 'src', 'Resources')
source_dir = os.path.join(app.srcdir, '..', 'src', 'Resources')
source_dir = os.path.join(app.srcdir, '..', '..', 'src', 'Resources')
if not os.path.exists(output_dir):
os.makedirs(os.path.join(app.outdir, 'src'))
os.makedirs(os.path.join(app.outdir, 'src', 'Resources'))
shutil.copytree(source_dir, output_dir)

def setup(app):
Expand Down

0 comments on commit 6e0ef4c

Please sign in to comment.