This is an automated email from the ASF dual-hosted git repository.
villebro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new c3307fa fix: move docs image symlink to _static (#9592)
c3307fa is described below
commit c3307fa7aa511d264bf8557adf8bbed0cbae7711
Author: Ville Brofeldt <[email protected]>
AuthorDate: Wed Apr 22 19:11:20 2020 +0300
fix: move docs image symlink to _static (#9592)
* fix: move docs image symlink to _static
* Remove unneeded copy statements from build script
* Remove copy statement from CI conf
---
.github/workflows/superset-python.yml | 2 --
docs/_static/images | 1 +
docs/build.sh | 2 --
docs/images | 1 -
4 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/.github/workflows/superset-python.yml
b/.github/workflows/superset-python.yml
index 8d8a6a8..5d681fe 100644
--- a/.github/workflows/superset-python.yml
+++ b/.github/workflows/superset-python.yml
@@ -47,8 +47,6 @@ jobs:
run: |
pip-install
pip install -r docs/requirements.txt
- - name: Copy Images
- run: cp -r superset-frontend/images/ docs/_static/images/
- name: Build documentation
run: sphinx-build -b html docs _build/html -W
diff --git a/docs/_static/images b/docs/_static/images
new file mode 120000
index 0000000..92d8e83
--- /dev/null
+++ b/docs/_static/images
@@ -0,0 +1 @@
+../../superset-frontend/images
\ No newline at end of file
diff --git a/docs/build.sh b/docs/build.sh
index 9012a43..0f80b99 100755
--- a/docs/build.sh
+++ b/docs/build.sh
@@ -16,9 +16,7 @@
# limitations under the License.
#
rm -rf _build
-cp -r ../superset-frontend/images/ _static/images/
make html
-#cp -r ../superset-frontend/images/ _build/html/_static/img/
rm -rf /tmp/superset-docs
cp -r _build/html /tmp/superset-docs
cp -r _build/html ../superset/static/assets/docs
diff --git a/docs/images b/docs/images
deleted file mode 120000
index b3b4f39..0000000
--- a/docs/images
+++ /dev/null
@@ -1 +0,0 @@
-../superset-frontend/images
\ No newline at end of file