File tree 2 files changed +35
-1
lines changed
2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Generate Documentation
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - autogenerate-docs
7
+
8
+ permissions : { }
9
+
10
+ jobs :
11
+ generate-docs :
12
+ permissions :
13
+ contents : write
14
+ pull-requests : write
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+ # - uses: actions/setup-python@v5
19
+ # with:
20
+ # python-version: '3.12'
21
+ - run : pip install -r docs/build/requirements.txt
22
+ - run : python build.py
23
+ working-directory : ./docs/build
24
+ - name : Create Pull Request
25
+ uses : peter-evans/create-pull-request@v6
26
+ with :
27
+ commit-message : Update documentation
28
+ branch : update-documentation
29
+ delete-branch : true
30
+ title : ' Update Documentation'
31
+ body : ' This is the PR with the Autogenerated documentation'
32
+ labels : ' documentation'
Original file line number Diff line number Diff line change 19
19
)
20
20
renderer = MarkdownRenderer (
21
21
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 ,
23
25
),
24
26
source_position = "after signature" ,
25
27
source_format = "[[VIEW SOURCE]]({url})" ,
You can’t perform that action at this time.
0 commit comments