File tree 1 file changed +1
-9
lines changed
1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,7 @@ git merge upstream/$OLD_BRANCH --message "merge $OLD_BRANCH" || (grep -l "<<<<<
34
34
35
35
# Overwrite the ditectory with the contents from tensorflow/en/versions
36
36
rm -rf site/en/api_docs/python
37
- python ../tensorflow/tensorflow/tools/docs/generate2.py --output_dir=site/en/api_docs/python
38
-
39
- # Strip some devsite headers and stuff.
40
- # The sed call is independant of the number of files per call so there's
41
- # no problem to a simple "xargs" here.
42
- find site/en/api_docs/ -name " *.md" | xargs sed -i ' /Book:/d'
43
- find site/en/api_docs/ -name " *.md" | xargs sed -i ' /Project:/d'
44
- find site/en/api_docs/ -name " *.html" | xargs sed -i ' /name=\"book_path\"/d'
45
- find site/en/api_docs/ -name " *.html" | xargs sed -i ' /name=\"project_path\"/d'
37
+ python ../tensorflow/tensorflow/tools/docs/generate2.py --output_dir=site/en/api_docs/python --code_url_prefix=" https://github.com/tensorflow/tensorflow/blob/${NEW_BRANCH} /tensorflow"
46
38
47
39
# Commit and push to your github.
48
40
git add site/en/api_docs/
You can’t perform that action at this time.
0 commit comments