diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml index 5a55e3d0..b90b5899 100644 --- a/.github/workflows/book.yml +++ b/.github/workflows/book.yml @@ -2,9 +2,11 @@ name: booj on: push: - branches: [main] + branches: + - '**' pull_request: - branches: [main] + branches: + - '**' merge_group: jobs: @@ -104,6 +106,11 @@ jobs: - name: Build docs run: cargo +nightly doc + env: + # Keep in sync with ./ci.yml:jobs.docs + RUSTDOCFLAGS: + --cfg docsrs --show-type-layout --generate-link-to-definition --enable-index-page + -Zunstable-options - name: Move docs to book folder run: |