Skip to content

Commit

Permalink
Fix the ReadTheDocs clang dependency (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
evshary authored Aug 4, 2023
1 parent ba21bd7 commit b68364f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ build:
os: ubuntu-22.04
tools:
python: "3.11"
apt_packages:
- libclang-dev

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
# python:
# install:
# - requirements: docs/requirements.txt
python:
install:
- requirements: docs/requirements.txt
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@
raise ValueError("Windows not supported yet for building docs.")

else:
Config.set_library_file('/usr/lib/llvm-6.0/lib/libclang.so.1') # Required for readthedocs
Config.set_library_file('/usr/lib/llvm-14/lib/libclang.so.1') # Required for readthedocs

0 comments on commit b68364f

Please sign in to comment.