From b3c6ccc110f884c7d05697eb2db36c02b556138c Mon Sep 17 00:00:00 2001
From: jmwang66 <wangjiaming.wjm@alibaba-inc.com>
Date: 星期一, 26 十二月 2022 16:43:33 +0800
Subject: [PATCH] update github.io page
---
.idea/inspectionProfiles/Project_Default.xml | 50 ++++++++++++++++
.idea/vcs.xml | 6 ++
.idea/modules.xml | 8 ++
.github/workflows/main.yml | 32 ++++++++++
.idea/FunASR.iml | 12 ++++
.idea/inspectionProfiles/profiles_settings.xml | 6 ++
.DS_Store | 0
.idea/.gitignore | 3 +
.idea/misc.xml | 4 +
docs/Makefile | 6 +-
10 files changed, 124 insertions(+), 3 deletions(-)
diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 0000000..0831ca1
--- /dev/null
+++ b/.DS_Store
Binary files differ
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..bd7da0c
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,32 @@
+name: "FunASR Docs"
+on:
+ pull_request:
+ branches:
+ - main
+ push:
+ branches:
+ - dev
+
+jobs:
+ docs:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v1
+ - uses: ammaraskar/sphinx-action@master
+ with:
+ docs-folder: "docs/"
+ pre-build-command: "pip install sphinx-markdown-tables nbsphinx jinja2 recommonmark sphinx_rtd_theme"
+
+ - name: deploy copy
+ if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev'
+ run: |
+ mkdir public
+ cp -r docs/build/html/* public/
+
+ - name: deploy github.io pages
+ if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev'
+ uses: peaceiris/actions-gh-pages@v2.3.1
+ env:
+ GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
+ PUBLISH_BRANCH: gh-pages
+ PUBLISH_DIR: public
\ No newline at end of file
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..26d3352
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,3 @@
+# Default ignored files
+/shelf/
+/workspace.xml
diff --git a/.idea/FunASR.iml b/.idea/FunASR.iml
new file mode 100644
index 0000000..8b8c395
--- /dev/null
+++ b/.idea/FunASR.iml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="PYTHON_MODULE" version="4">
+ <component name="NewModuleRootManager">
+ <content url="file://$MODULE_DIR$" />
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ </component>
+ <component name="PyDocumentationSettings">
+ <option name="format" value="PLAIN" />
+ <option name="myDocStringFormat" value="Plain" />
+ </component>
+</module>
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..b4b4cc9
--- /dev/null
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,50 @@
+<component name="InspectionProjectProfileManager">
+ <profile version="1.0">
+ <option name="myName" value="Project Default" />
+ <inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
+ <option name="ignoredPackages">
+ <value>
+ <list size="37">
+ <item index="0" class="java.lang.String" itemvalue="sentencepiece" />
+ <item index="1" class="java.lang.String" itemvalue="pyyaml" />
+ <item index="2" class="java.lang.String" itemvalue="parameterized" />
+ <item index="3" class="java.lang.String" itemvalue="rouge" />
+ <item index="4" class="java.lang.String" itemvalue="nose2" />
+ <item index="5" class="java.lang.String" itemvalue="timm" />
+ <item index="6" class="java.lang.String" itemvalue="mypy" />
+ <item index="7" class="java.lang.String" itemvalue="tensorboardX" />
+ <item index="8" class="java.lang.String" itemvalue="torch" />
+ <item index="9" class="java.lang.String" itemvalue="blobfile" />
+ <item index="10" class="java.lang.String" itemvalue="torchvision" />
+ <item index="11" class="java.lang.String" itemvalue="einops" />
+ <item index="12" class="java.lang.String" itemvalue="editdistance" />
+ <item index="13" class="java.lang.String" itemvalue="soundfile" />
+ <item index="14" class="java.lang.String" itemvalue="typeguard" />
+ <item index="15" class="java.lang.String" itemvalue="torchaudio" />
+ <item index="16" class="java.lang.String" itemvalue="kaldiio" />
+ <item index="17" class="java.lang.String" itemvalue="webdataset" />
+ <item index="18" class="java.lang.String" itemvalue="g2p" />
+ <item index="19" class="java.lang.String" itemvalue="flake8-executable" />
+ <item index="20" class="java.lang.String" itemvalue="pyflakes" />
+ <item index="21" class="java.lang.String" itemvalue="textgrid" />
+ <item index="22" class="java.lang.String" itemvalue="flake8-pyi" />
+ <item index="23" class="java.lang.String" itemvalue="pycodestyle" />
+ <item index="24" class="java.lang.String" itemvalue="flake8-bugbear" />
+ <item index="25" class="java.lang.String" itemvalue="flake8-comprehensions" />
+ <item index="26" class="java.lang.String" itemvalue="flake8" />
+ <item index="27" class="java.lang.String" itemvalue="shapely" />
+ <item index="28" class="java.lang.String" itemvalue="submitit" />
+ <item index="29" class="java.lang.String" itemvalue="tensorboard" />
+ <item index="30" class="java.lang.String" itemvalue="matplotlib" />
+ <item index="31" class="java.lang.String" itemvalue="ftfy" />
+ <item index="32" class="java.lang.String" itemvalue="sacremoses" />
+ <item index="33" class="java.lang.String" itemvalue="efficientnet_pytorch" />
+ <item index="34" class="java.lang.String" itemvalue="pytorch_lightning" />
+ <item index="35" class="java.lang.String" itemvalue="rouge_score" />
+ <item index="36" class="java.lang.String" itemvalue="torch_complex" />
+ </list>
+ </value>
+ </option>
+ </inspection_tool>
+ </profile>
+</component>
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml
new file mode 100644
index 0000000..105ce2d
--- /dev/null
+++ b/.idea/inspectionProfiles/profiles_settings.xml
@@ -0,0 +1,6 @@
+<component name="InspectionProjectProfileManager">
+ <settings>
+ <option name="USE_PROJECT_PROFILE" value="false" />
+ <version value="1.0" />
+ </settings>
+</component>
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..0e2f199
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.7 (funasr_doc)" project-jdk-type="Python SDK" />
+</project>
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..90e3d17
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="ProjectModuleManager">
+ <modules>
+ <module fileurl="file://$PROJECT_DIR$/.idea/FunASR.iml" filepath="$PROJECT_DIR$/.idea/FunASR.iml" />
+ </modules>
+ </component>
+</project>
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="VcsDirectoryMappings">
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
+ </component>
+</project>
\ No newline at end of file
diff --git a/docs/Makefile b/docs/Makefile
index 269cadc..6b39ba6 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -3,9 +3,9 @@
# You can set these variables from the command line, and also
# from the environment for the first two.
-SPHINXOPTS ?=
-SPHINXBUILD ?= sphinx-build
-SOURCEDIR = source
+SPHINXOPTS =
+SPHINXBUILD = sphinx-build
+SOURCEDIR = .
BUILDDIR = build
# Put it first so that "make" without argument is like "make help".
--
Gitblit v1.9.1