Skip to content

Commit 6e94db8

Browse files
authored
Remove developer book from DocGen (#172)
1 parent 84532c3 commit 6e94db8

File tree

2 files changed

+0
-80
lines changed

2 files changed

+0
-80
lines changed

scripts/docgen/book.developer.tpl

Lines changed: 0 additions & 72 deletions
This file was deleted.

scripts/docgen/docgen.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
/* Default files for extensions */
4343
$DOC_EXT = array(
4444
'book.xml' => 'book.tpl',
45-
'book.developer.xml' => 'book.developer.tpl',
4645
'setup.xml' => 'setup.tpl',
4746
'constants.xml' => 'constants.tpl',
4847
'configure.xml' => 'configure.tpl',
@@ -813,13 +812,6 @@ function gen_extension_markup(ReflectionExtension $obj, $content, $xml_file) { /
813812
}
814813
$content = preg_replace('/\{VERSIONS\}/', rtrim($markup), $content);
815814
break;
816-
817-
case 'book.developer.xml':
818-
if ($OPTION['docbase'] && $OPTION['phpdoc']) {
819-
$content = preg_replace('/\{PATH_TO_DOCBASE\}/', $OPTION['docbase'], $content);
820-
$content = preg_replace('/\{PATH_TO_DOC\}/', $OPTION['phpdoc'], $content);
821-
}
822-
break;
823815
}
824816

825817
return $content;

0 commit comments

Comments
 (0)