This directory contains the documentation source files for the Wolfram Client Library for Python. This readme was generated using AI.
- uv - Fast Python package manager and project runner
- Node.js (optional) - For CSS compilation via npx sass
curl -LsSf https://astral.sh/uv/install.sh | sh# macOS
brew install node
# Or download from https://nodejs.org/For local development, use the simple build script:
./build.shThis script uses uv to manage dependencies and builds the documentation in one command.
The build_docs.sh script is used in CI environments and supports additional options:
./build_docs.sh./build_docs.sh --all./build_docs.sh --build /path/to/output/directoryThe generated HTML documentation will be available in:
_build/html/index.html(default)- Or your specified output directory
The build process uses the dependencies specified in requirements.txt:
- Pygments 2.19.1 (syntax highlighting)
- pygments-mathematica 0.4.2 (Wolfram Language lexer)
- Sphinx (documentation generator)
Both scripts automatically install these dependencies and the wolframclient package. The build.sh script uses uv for faster dependency resolution, while build_docs.sh uses traditional pip in virtual environments for CI compatibility.
- Missing Node.js/npx: CSS compilation will be skipped with a warning, but documentation will still build
- Missing uv: The script will exit with installation instructions
- Import errors: Some optional dependencies (pandas, PIL, etc.) may show warnings but don't affect the build