@@ -40,20 +40,19 @@ build_developer_guide_for_site() {
4040 return
4141 fi
4242
43- if ! command -v asciidoctor > /dev/null 2>&1 || ! command -v asciidoctor-pdf > /dev/null 2>&1 ; then
43+ if ! command -v asciidoctor > /dev/null 2>&1 ; then
4444 echo " Asciidoctor tooling is required when WEBSITE_INCLUDE_DEVGUIDE=true." >&2
4545 exit 1
4646 fi
4747
4848 echo " Building fresh Developer Guide for website..." >&2
4949 local output_root=" ${REPO_ROOT} /build/website-developer-guide"
5050 local html_out=" ${output_root} /html"
51- local pdf_out=" ${output_root} /pdf"
5251 local manual_dir=" ${WEBSITE_DIR} /static/manual"
5352 local source_dir=" ${REPO_ROOT} /docs/developer-guide"
5453
5554 rm -rf " ${output_root} " " ${manual_dir} "
56- mkdir -p " ${html_out} " " ${pdf_out} " " ${ manual_dir}" " ${WEBSITE_DIR} /static/files "
55+ mkdir -p " ${html_out} " " ${manual_dir} "
5756
5857 (
5958 cd " ${REPO_ROOT} "
@@ -62,10 +61,6 @@ build_developer_guide_for_site() {
6261 -o developer-guide.html \
6362 docs/developer-guide/developer-guide.asciidoc
6463
65- asciidoctor-pdf \
66- -D " ${pdf_out} " \
67- -o developer-guide.pdf \
68- docs/developer-guide/developer-guide.asciidoc
6964 )
7065
7166 cp " ${html_out} /developer-guide.html" " ${manual_dir} /index.html"
@@ -78,8 +73,6 @@ build_developer_guide_for_site() {
7873 cp -R " ${asset_dir} " " ${manual_dir} /"
7974 fi
8075 done
81-
82- cp " ${pdf_out} /developer-guide.pdf" " ${WEBSITE_DIR} /static/files/developer-guide.pdf"
8376}
8477
8578if ! command -v " ${HUGO_BIN} " > /dev/null 2>&1 ; then
0 commit comments