Skip to content

Commit

Permalink
Fix sed command in readthedocs build.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 469174847
Change-Id: I09d1d62ed95d592c1ada8f1e4a376ab70f844747
  • Loading branch information
lanctot committed Aug 22, 2022
1 parent 8e88a1c commit 5722daf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ build:
- echo "Running post-build commands."
- echo `date`
- echo `pwd`
- echo `ls -lR`
- echo "Fixing the table links"
- sed -i -E 's/a href="(.*)\.md"/a href="\1\.html"/g' _build/html/api_reference.html
- sed -i -E 's/a href="(.*)\.md"/a href="\1\.html"/g' docs/_build/html/api_reference.html

0 comments on commit 5722daf

Please sign in to comment.