Skip to content

Commit ab47f18

Browse files
committed
Documentation source links to the main branch
This will produce consistent source links that point to the main branch. It will reduce the amount of noise in the documentation PRs.
1 parent 23a5882 commit ab47f18

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/build/build.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
)
2020
renderer = MarkdownRenderer(
2121
source_linker=GithubSourceLinker(
22-
root=LIBRARY_ROOT_PATH.as_posix(), repo="quixio/quix-streams"
22+
root=LIBRARY_ROOT_PATH.as_posix(),
23+
repo="quixio/quix-streams",
24+
use_branch=True,
2325
),
2426
source_position="after signature",
2527
source_format="[[VIEW SOURCE]]({url})",

0 commit comments

Comments
 (0)