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
This commit is contained in:
Ville Brofeldt 2020-04-22 19:11:20 +03:00 committed by GitHub
parent cba82cfd03
commit c3307fa7aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1 additions and 5 deletions

View File

@ -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

1
docs/_static/images vendored Symbolic link
View File

@ -0,0 +1 @@
../../superset-frontend/images

View File

@ -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

View File

@ -1 +0,0 @@
../superset-frontend/images