Skip to content

Commit

Permalink
Codechange: docs_templates/static is simpler than docs_templates/html…
Browse files Browse the repository at this point in the history
…/static when there's no gain from the extra nesting
  • Loading branch information
andythenorth committed Sep 2, 2023
1 parent 7693861 commit 6fb7cb5
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/render_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ def main():
# convenience for local development, this means docs/index.html can be opened from shell, and has list of links to tech tree, which is a common use case
shutil.copyfile(os.path.join(docs_src, "local_docs_root.html"), os.path.join(currentdir, "docs", "index.html"))

static_dir_src = os.path.join(docs_src, "html", "static")
static_dir_src = os.path.join(docs_src, "static")
static_dir_dst = os.path.join(html_docs_output_path, "static")
shutil.copytree(static_dir_src, static_dir_dst)

Expand Down

0 comments on commit 6fb7cb5

Please sign in to comment.