Skip to content

Commit 5bcc708

Browse files
authored
Update readthedocs (#1776)
* Update readthedocs * delete doctree * update * update * update * update * update * update * update * update
1 parent 783ac71 commit 5bcc708

File tree

355 files changed

+43410
-5960
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

355 files changed

+43410
-5960
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ coverage.xml
5353
# Translations
5454
*.mo
5555
*.pot
56+
*.doctree
5657

5758
# Django stuff:
5859
*.log

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ sphinx:
1919

2020
# Optionally set the version of Python and requirements required to build your docs
2121
python:
22-
version: 3.7
22+
version: 3.8
2323
install:
2424
- requirements: docs/requirements.txt
2525
- requirements: requirements.txt

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
#
2727
import os
2828
import sys
29-
sys.path.insert(0, os.path.abspath('../paddlenlp/'))
29+
sys.path.insert(0, os.path.abspath('../..'))
30+
sys.path.append(os.path.abspath('..'))
3031

3132
# -- Project information -----------------------------------------------------
3233

0 commit comments

Comments
 (0)