Added .htaccess file for docs directory.
This commit is contained in:
parent
394334671c
commit
2d56dbc13d
3
Makefile
3
Makefile
|
@ -84,6 +84,9 @@ docs: ${JQ}
|
||||||
@@mkdir -p ${DOCS_DIR}
|
@@mkdir -p ${DOCS_DIR}
|
||||||
@@mkdir -p ${DOCS_DIR}/data
|
@@mkdir -p ${DOCS_DIR}/data
|
||||||
|
|
||||||
|
@@echo " - Copying over htaccess file."
|
||||||
|
@@cp -fR ${BUILD_DIR}/docs/.htaccess ${DOCS_DIR}
|
||||||
|
|
||||||
@@echo " - Copying over script files."
|
@@echo " - Copying over script files."
|
||||||
@@cp -fR ${BUILD_DIR}/docs/js ${DOCS_DIR}/js
|
@@cp -fR ${BUILD_DIR}/docs/js ${DOCS_DIR}/js
|
||||||
|
|
||||||
|
|
|
@ -81,6 +81,7 @@
|
||||||
<echo message="Building Documentation" />
|
<echo message="Building Documentation" />
|
||||||
<delete dir="${DOCS_DIR}" />
|
<delete dir="${DOCS_DIR}" />
|
||||||
<mkdir dir="${DOCS_DIR}/data" />
|
<mkdir dir="${DOCS_DIR}/data" />
|
||||||
|
<copy todir="${DOCS_DIR}" file="${BUILD_DIR}/docs/.htaccess" />
|
||||||
<mkdir dir="${DOCS_DIR}/js" />
|
<mkdir dir="${DOCS_DIR}/js" />
|
||||||
<copy todir="${DOCS_DIR}/js" >
|
<copy todir="${DOCS_DIR}/js" >
|
||||||
<fileset dir="${BUILD_DIR}/docs/js">
|
<fileset dir="${BUILD_DIR}/docs/js">
|
||||||
|
|
1
build/docs/.htaccess
Normal file
1
build/docs/.htaccess
Normal file
|
@ -0,0 +1 @@
|
||||||
|
DirectoryIndex index.xml
|
Loading…
Reference in a new issue