Skip to content

Commit

Permalink
Merge pull request #914 from MartinNowak/std_container_package
Browse files Browse the repository at this point in the history
move std_container_package.html to std_container.html
  • Loading branch information
CyberShadow authored and MartinNowak committed Feb 28, 2015
1 parent b522d5a commit 8895541
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .htaccess
Expand Up @@ -16,8 +16,4 @@ RewriteBase /
# However, we need redirects for packages in
# previous stable releases (namely, std.container).

# TODO: Make the rule apply to the phobos directory
# (additionally to the phobos-prerelease directory)
# when 2.067 is released.

RewriteRule ^(phobos-prerelease/std_container)_package\.html $1.html [R=301,L]
RewriteRule ^(phobos(-prerelease)?/std_container)_package\.html $1.html [R=301,L]
2 changes: 2 additions & 0 deletions posix.mak
Expand Up @@ -361,6 +361,8 @@ ${DOC_OUTPUT_DIR}/phobos/index.html : $(DMD_REL) $(STD_DDOC) \
DRUNTIME_PATH=${DRUNTIME_DIR}-${LATEST} \
DOC_OUTPUT_DIR=${DOC_OUTPUT_DIR}/phobos \
STDDOC="$(addprefix `pwd`/, $(STD_DDOC))"
# temporary hack for 2.066.1
mv ${DOC_OUTPUT_DIR}/phobos/std_container_package.html ${DOC_OUTPUT_DIR}/phobos/std_container.html

phobos-prerelease-verbatim : ${PHOBOS_DIR}/.cloned ${DOC_OUTPUT_DIR}/phobos-prerelease/index.verbatim
${DOC_OUTPUT_DIR}/phobos-prerelease/index.verbatim : verbatim.ddoc \
Expand Down

0 comments on commit 8895541

Please sign in to comment.