From c3307fa7aa511d264bf8557adf8bbed0cbae7711 Mon Sep 17 00:00:00 2001 From: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Date: Wed, 22 Apr 2020 19:11:20 +0300 Subject: [PATCH] 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(-) create mode 120000 docs/_static/images delete mode 120000 docs/images diff --git a/.github/workflows/superset-python.yml b/.github/workflows/superset-python.yml index 8d8a6a8c5..5d681feae 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 000000000..92d8e83b2 --- /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 9012a43c2..0f80b9903 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 b3b4f39fa..000000000 --- a/docs/images +++ /dev/null @@ -1 +0,0 @@ -../superset-frontend/images \ No newline at end of file