4646# phobos-prerelease
4747# apidocs-prerelease Ddox documentation
4848#
49- # B) `docs-latest ` (aka upstream/stable)
49+ # B) `docs-stable ` (aka upstream/stable)
5050#
5151# Based on the last official release (git tag), the repositories are freshly cloned from GitHub.
5252# Individual targets include:
5353#
54- # dmd-latest
55- # druntime-latest
56- # phobos-latest
57- # apidocs-latest Ddox documentation
54+ # dmd-stable
55+ # druntime-stable
56+ # phobos-stable
57+ # apidocs-stable Ddox documentation
5858#
5959# Documentation development Ddox web server
6060# -----------------------------------------
101101# It's a long-lasting effort to transition from the Ddoc documentation build
102102# to a Ddox documentation build of the D standard library.
103103#
104- # https://dlang.org/phobos Stable Ddoc build (`docs-latest `)
104+ # https://dlang.org/phobos Stable Ddoc build (`docs-stable `)
105105# https://dlang.org/phobos-prerelease Master Ddoc build (`docs-prerelease`)
106- # https://dlang.org/library Stable Ddox build (`apidocs-latest `)
106+ # https://dlang.org/library Stable Ddox build (`apidocs-stable `)
107107# https://dlang.org/library-release Master Ddox build (`apidocs-prerelease`)
108108#
109109# For more documentation on Ddox, see https://github.com/rejectedsoftware/ddox
@@ -388,10 +388,10 @@ ifeq (1,$(RELEASE))
388388release : html dmd-release druntime-release phobos-release d-release.tag
389389endif
390390
391- docs-latest : dmd-latest druntime-latest phobos-latest apidocs-latest
391+ docs-stable : dmd-stable druntime-stable phobos-stable apidocs-stable
392392docs-prerelease : dmd-prerelease druntime-prerelease phobos-prerelease apidocs-prerelease
393393
394- docs : docs-latest docs-prerelease
394+ docs : docs-stable docs-prerelease
395395
396396html : $(ALL_FILES )
397397
@@ -614,7 +614,7 @@ dmd-prerelease : $(STD_DDOC_PRERELEASE) druntime-target $G/changelog/next-versio
614614dmd-release : $(STD_DDOC_RELEASE ) druntime-target
615615 $(MAKE ) AUTO_BOOTSTRAP=1 --directory=$(DMD_DIR ) -f posix.mak html $(DDOC_VARS_RELEASE_HTML )
616616
617- dmd-latest : $(STD_DDOC_STABLE ) druntime-latest -target
617+ dmd-stable : $(STD_DDOC_STABLE ) druntime-stable -target
618618 $(MAKE ) AUTO_BOOTSTRAP=1 --directory=$(DMD_STABLE_DIR ) -f posix.mak html $(DDOC_VARS_STABLE_HTML )
619619
620620dmd-prerelease-verbatim : $(STD_DDOC_PRERELEASE ) druntime-target \
@@ -634,7 +634,7 @@ $W/phobos-prerelease/mars.verbatim: verbatim.ddoc $G/changelog/next-version
634634druntime-target : ${DRUNTIME_DIR} ${DMD}
635635 ${MAKE} --directory=${DRUNTIME_DIR} -f posix.mak target ${DDOC_VARS_PRERELEASE_HTML}
636636
637- druntime-latest -target : ${DRUNTIME_STABLE_DIR} ${DMD_STABLE}
637+ druntime-stable -target : ${DRUNTIME_STABLE_DIR} ${DMD_STABLE}
638638 ${MAKE} --directory=${DRUNTIME_STABLE_DIR} -f posix.mak target ${DDOC_VARS_STABLE_HTML}
639639
640640druntime-prerelease : druntime-target $(STD_DDOC_PRERELEASE ) $G/changelog/next-version
@@ -647,7 +647,7 @@ druntime-release : druntime-target $(STD_DDOC_RELEASE)
647647 DOCDIR=$W /phobos \
648648 DOCFMT=" $( addprefix ` pwd` /, $( STD_DDOC_RELEASE) ) "
649649
650- druntime-latest : druntime-latest -target $(STD_DDOC_STABLE )
650+ druntime-stable : druntime-stable -target $(STD_DDOC_STABLE )
651651 ${MAKE} --directory=${DRUNTIME_STABLE_DIR} -f posix.mak doc $(DDOC_VARS_STABLE_HTML ) \
652652 DOCDIR=$W /phobos \
653653 DOCFMT=" $( addprefix ` pwd` /, $( STD_DDOC_STABLE) ) "
@@ -674,7 +674,7 @@ phobos-prerelease : ${PHOBOS_FILES_GENERATED} druntime-target $(STD_DDOC_PRERELE
674674phobos-release : ${PHOBOS_FILES_GENERATED} druntime-target $(STD_DDOC_RELEASE )
675675 $(MAKE ) --directory=$(PHOBOS_DIR_GENERATED ) -f posix.mak html $(DDOC_VARS_RELEASE_HTML )
676676
677- phobos-latest : ${PHOBOS_STABLE_FILES_GENERATED} druntime-latest -target $(STD_DDOC_STABLE )
677+ phobos-stable : ${PHOBOS_STABLE_FILES_GENERATED} druntime-stable -target $(STD_DDOC_STABLE )
678678 $(MAKE ) --directory=$(PHOBOS_STABLE_DIR_GENERATED ) -f posix.mak html $(DDOC_VARS_STABLE_HTML )
679679
680680phobos-prerelease-verbatim : ${PHOBOS_FILES_GENERATED} druntime-target \
@@ -696,7 +696,7 @@ $(PHOBOS_LIB): $(DMD)
696696# ###############################################################################
697697
698698apidocs-prerelease : $W/library-prerelease/sitemap.xml $W/library-prerelease/.htaccess
699- apidocs-latest : $W/library/sitemap.xml $W/library/.htaccess
699+ apidocs-stable : $W/library/sitemap.xml $W/library/.htaccess
700700apidocs-serve : $G/docs-prerelease.json
701701 ${DPL_DOCS} serve-html --std-macros=html.ddoc --std-macros=dlang.org.ddoc --std-macros=std.ddoc --std-macros=macros.ddoc --std-macros=std-ddox.ddoc \
702702 --override-macros=std-ddox-override.ddoc --package-order=std \
@@ -709,7 +709,7 @@ $W/library-prerelease/sitemap.xml : $G/docs-prerelease.json
709709 --git-target=master $(DPL_DOCS_PATH_RUN_FLAGS ) \
710710 $< $W /library-prerelease
711711
712- $W/library/sitemap.xml : $G/docs-latest .json
712+ $W/library/sitemap.xml : $G/docs-stable .json
713713 @mkdir -p $(dir $@ )
714714 ${DPL_DOCS} generate-html --file-name-style=lowerUnderscored --std-macros=html.ddoc --std-macros=dlang.org.ddoc --std-macros=std.ddoc --std-macros=macros.ddoc --std-macros=std-ddox.ddoc \
715715 --override-macros=std-ddox-override.ddoc --package-order=std \
732732 DMD_EXCLUDE_STABLE += -e /scanmach/d -e /libmach/d
733733endif
734734
735- $G/docs-latest .json : ${DMD_STABLE} ${DMD_STABLE_DIR} \
735+ $G/docs-stable .json : ${DMD_STABLE} ${DMD_STABLE_DIR} \
736736 ${DRUNTIME_STABLE_DIR} ${PHOBOS_STABLE_FILES_GENERATED} | dpl-docs
737737 # remove this after https://github.com/dlang/dmd/pull/7513 has been merged
738738 if [ -f $( DMD_STABLE_DIR) /src/* /objc_glue_stubs.d ] ; then \
@@ -804,7 +804,7 @@ ${STABLE_DMD} ${STABLE_RDMD} ${DUB}: ${STABLE_DMD_ROOT}/.downloaded
804804# ###############################################################################
805805
806806# testing menu generation
807- chm-nav-latest .json : $(DDOC ) std.ddoc spec/spec.ddoc ${GENERATED}/modlist-stable.ddoc changelog/changelog.ddoc chm-nav.dd $(DMD )
807+ chm-nav-stable .json : $(DDOC ) std.ddoc spec/spec.ddoc ${GENERATED}/modlist-stable.ddoc changelog/changelog.ddoc chm-nav.dd $(DMD )
808808 $(DMD ) -conf= -c -o- -Df$@ $(filter-out $(DMD ) ,$^ )
809809
810810chm-nav-release.json : $(DDOC ) std.ddoc spec/spec.ddoc ${GENERATED}/modlist-release.ddoc changelog/changelog.ddoc chm-nav.dd $(DMD )
@@ -817,7 +817,7 @@ chm-nav-prerelease.json : $(DDOC) std.ddoc spec/spec.ddoc ${GENERATED}/modlist-p
817817# Dman tags
818818# ###############################################################################
819819
820- d-latest .tag d-tags-latest .json : chmgen.d $(STABLE_DMD ) $(ALL_FILES ) phobos-latest druntime-latest chm-nav-latest .json
820+ d-stable .tag d-tags-stable .json : chmgen.d $(STABLE_DMD ) $(ALL_FILES ) phobos-stable druntime-stable chm-nav-stable .json
821821 $(STABLE_RDMD ) chmgen.d --root=$W --only-tags --target stable
822822
823823d-release.tag d-tags-release.json : chmgen.d $(STABLE_DMD ) $(ALL_FILES ) phobos-release druntime-release chm-nav-release.json
0 commit comments