Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/pr-link-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
fail="FALSE"
merged_commit=$(git log -1 --format='%H')
changed_files="$(git diff --name-status --diff-filter=ARM $BASE_SHA ${merged_commit} | awk '/\.md$/ {print $NF}')"

echo "no_proxy=$no_proxy"
echo "http_proxy=$http_proxy"
echo "https_proxy=$https_proxy"

if [ -n "$changed_files" ]; then
for changed_file in $changed_files; do
# echo $changed_file
Expand Down Expand Up @@ -118,11 +118,11 @@ jobs:
merged_commit=$(git log -1 --format='%H')
changed_files="$(git diff --name-status --diff-filter=ARM $BASE_SHA ${merged_commit} | awk '/\.md$/ {print $NF}')"
png_lines=$(grep -Eo '\]\([^)]+\)' --include='*.md' -r .|grep -Ev 'http' | grep -Ev 'shape=' | grep -Ev 'mailto:inc.maintainers@intel.com')

echo "no_proxy=$no_proxy"
echo "http_proxy=$http_proxy"
echo "https_proxy=$https_proxy"

if [ -n "$png_lines" ]; then
for png_line in $png_lines; do
# echo "No.1----->png_line is $png_line"
Expand Down
29 changes: 17 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
Expand All @@ -18,16 +21,18 @@ jobs:
pull-requests: write
contents: write
steps:
- uses: actions/checkout@v3
- name: Build Online Document
run: |
git config --local --get remote.origin.url
cd docs/build_docs
bash build.sh latest
- uses: actions/checkout@v3

- name: Build Online Document
run: |
git config --local --get remote.origin.url
cd docs/build_docs
bash build.sh latest

- name: Push to github
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build_tmp/gh-pages
publish_branch: gh-pages
- name: Push to github
if: ${{ github.event_name == 'push' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build_tmp/gh-pages
publish_branch: gh-pages
1 change: 0 additions & 1 deletion docs/source/api-doc/api_2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
quantization.rst
mix_precision.rst
training.rst
benchmark.rst
config.rst
objective.rst

Expand Down
7 changes: 0 additions & 7 deletions docs/source/api-doc/api_3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,3 @@
tf_quantization_common.rst
tf_quantization_config.rst
tf_quantization_autotune.rst

**Other Modules:**

.. toctree::
:maxdepth: 1

benchmark.rst
6 changes: 0 additions & 6 deletions docs/source/api-doc/benchmark.rst

This file was deleted.

Loading