mirror of
https://github.com/boostorg/website.git
synced 2026-01-19 04:42:17 +00:00
22 lines
636 B
PHP
Executable File
22 lines
636 B
PHP
Executable File
#!/usr/bin/env php
|
|
<?php
|
|
# Copyright 2007 Rene Rivera
|
|
# Copyright 2011, 2015 Daniel James
|
|
# Distributed under the Boost Software License, Version 1.0.
|
|
# (See accompanying file LICENSE_1_0.txt or https://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
$usage = <<<EOL
|
|
Usage: {}
|
|
|
|
Reconvert all the quickbook files and regenerate the html pages. Does
|
|
not update the rss feeds or add new pages. Useful for when quickbook,
|
|
the scripts or the templates have been updated.
|
|
EOL;
|
|
|
|
require_once(__DIR__.'/../common/code/bootstrap.php');
|
|
|
|
BoostSiteTools\CommandLineOptions::parse($usage);
|
|
|
|
$site_tools = new BoostSiteTools();
|
|
$site_tools->update_quickbook(true);
|