Skip to content

Commit

Permalink
Add fixed for HTMLParser problem (readthedocs build).
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 469166612
Change-Id: I3e0348fe81a5a762540b6e2388f56f674eee51b2
  • Loading branch information
lanctot committed Aug 22, 2022
1 parent 963bc0c commit 52f3365
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docs/requirements.readthedocs.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# These are the dependencies to generate the documentation.
pip==22.2.2
setuptools==65.2.0
distlib==0.3.5
markdown==3.4
sphinx_markdown_tables==0.0.17
sphinx==5.1
5 changes: 5 additions & 0 deletions readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ build:
tools:
python: "3.10"
jobs:
pre_build:
# Fix for: https://stackoverflow.com/questions/65640476/pip3-on-python3-9-fails-on-htmlparser-object-has-no-attribute-unescape
- python3 -m pip install --upgrade setuptools
- python3 -m pip install --upgrade pip
- python3 -m pip install --upgrade distlib
post_build:
- echo "Running post-build commands."
- echo `date`
Expand Down

0 comments on commit 52f3365

Please sign in to comment.