Skip to content

Commit

Permalink
fix broken <source> links in autodoc API reference (#1275)
Browse files Browse the repository at this point in the history
* Update build_documentation.yml

* Update build_pr_documentation.yml

* Update build_pr_documentation.yml
  • Loading branch information
Titus-von-Koeller authored Jul 12, 2024
1 parent dada530 commit 1935a45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
commit_sha: ${{ github.sha }}
package: bitsandbytes
repo_owner: TimDettmers
# avoid /src suffix leading to wrong links, like bitsandbytes/blob/main/src/bitsandbytes/nn/
version_tag_suffix: '' # defaults to '/src'
custom_container: huggingface/transformers-doc-builder
secrets:
hf_token: ${{ secrets.HUGGINGFACE_PUSH }}
4 changes: 3 additions & 1 deletion .github/workflows/build_pr_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ concurrency:

jobs:
build:
if: github.repository == 'TimDettmers/bitsandbytes'
if: github.repository == 'bitsandbytes-foundation/bitsandbytes'
uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main
with:
commit_sha: ${{ github.event.pull_request.head.sha }}
pr_number: ${{ github.event.number }}
package: bitsandbytes
repo_owner: TimDettmers
# avoid /src suffix leading to wrong links, like bitsandbytes/blob/main/src/bitsandbytes/nn/
version_tag_suffix: '' # defaults to '/src'
custom_container: huggingface/transformers-doc-builder

0 comments on commit 1935a45

Please sign in to comment.