Skip to content

Fix documentation build by adding Turing dependency#351

Closed
ChrisRackauckas wants to merge 2 commits intomasterfrom
fix-docs-turing-dependency
Closed

Fix documentation build by adding Turing dependency#351
ChrisRackauckas wants to merge 2 commits intomasterfrom
fix-docs-turing-dependency

Conversation

@ChrisRackauckas
Copy link
Member

Summary

Fixes the documentation build failure by adding the missing Turing dependency.

Problem

The documentation examples use turing_inference but Turing was not listed as a dependency in docs/Project.toml, causing the docs build to fail.

Solution

This PR adds:

  • Turing to the [deps] section of docs/Project.toml
  • Turing = "0.38, 0.39" to the [compat] section

Test plan

  • Documentation builds successfully
  • All turing_inference examples in the docs run without errors

This fix ensures that the documentation can be built with all the necessary dependencies for the code examples.

🤖 Generated with Claude Code

claude added 2 commits July 28, 2025 21:06
The documentation examples use `turing_inference` but Turing was not listed
as a dependency in docs/Project.toml, causing the docs build to fail.

This commit adds:
- Turing to the [deps] section
- Turing = "0.38, 0.39" to the [compat] section

This allows the documentation to build successfully with the Turing examples.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
The strict argument format has changed in newer versions of Documenter.jl.
Instead of an array of symbols, it now uses separate keyword arguments.

This commit:
- Removes the invalid strict = [...] argument
- Adds checkdocs = :exports to check exported docstrings
- Adds linkcheck = true to check external links

These changes fix the documentation build error:
"makedocs() got passed invalid keyword arguments: strict = [...]"

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@ChrisRackauckas-Claude
Copy link

This PR's branch was behind master and needed updates for:

Since I don't have push access to the SciML org branch, I've created a superseding PR #367 from my fork with all the necessary fixes:

  • Merged master to get the latest changes
  • Updated the Turing compat in docs/Project.toml to "0.38, 0.39, 0.40" to match the main Project.toml

@ChrisRackauckas - please close this PR in favor of #367, or alternatively push my changes to this branch from the fork.

🤖 Generated with Claude Code

ChrisRackauckas added a commit that referenced this pull request Jan 8, 2026
…ependency

Fix documentation build by adding Turing dependency (supersedes #351)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants