File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ teams-clean:
2121teams : | teams-clean $(patsubst % ,$(TEAMS_DIR ) /% .md,$(TEAMS ) )
2222
2323doc/content/shortcodes.md : $(wildcard layouts/shortcodes/* .html)
24- python tools/render_shortcode_docs.py > doc/content/shortcodes.md
24+ (cd layouts && python ../ tools/render_shortcode_docs.py > ../ doc/content/shortcodes.md)
2525
2626# Serve for development purposes.
2727doc-serve : doc/content/shortcodes.md
Original file line number Diff line number Diff line change 1818 publish = " public"
1919 command = """ \
2020 export DART_SASS_TARBALL="dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz" && \
21- curl -LJO ${DART_SASS_URL}/${DART_SASS_VERSION}/${DART_SASS_TARBALL} && \
22- tar -xf ${DART_SASS_TARBALL} && \
23- rm ${DART_SASS_TARBALL} && \
24- export PATH=/opt/build/repo/doc/dart-sass:$PATH && \
25- (cd ../.. ; ln -s repo scientific-python-hugo-theme) && \
26- (cd .. ; make ${BUILD_TARGET}) \
21+ (cd /tmp && \
22+ curl -LJO ${DART_SASS_URL}/${DART_SASS_VERSION}/${DART_SASS_TARBALL} && \
23+ tar -xf ${DART_SASS_TARBALL} && \
24+ rm ${DART_SASS_TARBALL}) && \
25+ export PATH=/tmp/dart-sass:$PATH && \
26+ (cd ../.. && ln -s repo scientific-python-hugo-theme) && \
27+ (cd .. && make ${BUILD_TARGET})
2728 """
2829
2930[[plugins ]]
You can’t perform that action at this time.
0 commit comments