Skip to content

Commit

Permalink
fix: path in generated file header
Browse files Browse the repository at this point in the history
  • Loading branch information
sujuka99 committed Oct 25, 2023
1 parent 7f876c4 commit 1300b4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/docs/developer/contributing.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- This file is autogenerated by /home/sujuka99/Projects/bakdata/kpops/hooks/gen_docs/gen_docs_contributing.py. -->
<!-- This file is autogenerated by hooks/gen_docs/gen_docs_contributing.py. -->

# Contributions

Expand Down
2 changes: 1 addition & 1 deletion hooks/gen_docs/gen_docs_contributing.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
KPOPS_ROOT = Path(__file__).parents[2].resolve()
SOURCE = KPOPS_ROOT / "CONTRIBUTING.md"
DEST = KPOPS_ROOT / "docs/docs/developer/contributing.md"
HEADER = f"<!-- This file is autogenerated by {Path(__file__)}. -->\n\n".encode()
HEADER = f"<!-- This file is autogenerated by {Path(__file__).relative_to(KPOPS_ROOT)}. -->\n\n".encode()

# Copy `CONTRIBUTING.md` into the equivalent file in the docs,
# adding a comment at the top which notes that the file is generated
Expand Down

0 comments on commit 1300b4a

Please sign in to comment.