2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-21 17:32:23 +00:00
Commit Graph

772 Commits

Author SHA1 Message Date
Daniel James
cbba61cfc0 Use initial-scale=1.0 2017-11-04 13:24:17 +00:00
Daniel James
b5ff5b1e26 Add viewport metatag to boostbook documentation 2017-11-04 12:44:38 +00:00
Daniel James
9ae8344037 First stab at mobile version 2017-11-04 09:50:50 +00:00
Daniel James
3ea5b26f2e Don't send error headers if headers have already been sent 2017-09-14 16:34:06 +01:00
Daniel James
15b21ff234 Support 'fallback' directory in documentation-fixes 2017-09-09 19:29:51 +01:00
Daniel James
90814d8302 Add 'minor release' for non-point release number, and use in template 2017-08-27 23:53:31 +01:00
Daniel James
c1256a876a Include the body tag in develop_box filter 2017-08-27 22:47:20 +01:00
Daniel James
4770b0c110 Add yellow box to top of root index page 2017-08-27 15:05:12 +01:00
Daniel James
11c4e5f549 Disable last modified date for directory lists
Disables both the last modified and etag headers. I think they work
okay, but I'm not sure, and it doesn't cost much to disable them.
2017-08-07 19:29:53 +01:00
Daniel James
f31c2898b1 Close comment 2017-08-03 18:50:43 +01:00
Daniel James
1e8df7203c Make the cache expiration date shorter
Fixes #262
2017-08-03 16:02:36 +01:00
Daniel James
935a7d18e3 Add download tables to download page
Looks a bit ugly, perhaps also a bit redundant as the release notes are
generally good enough for downloading.
2017-07-30 19:20:49 +01:00
Daniel James
696ea6ee6e Store 'params' as member variables in BoostArchive 2017-07-30 19:20:49 +01:00
Daniel James
baad1c756e Add some php-doc comments to BoostArchive 2017-07-23 13:43:12 +01:00
Daniel James
c106968b3e Remove some redundant code from BoostArchive::display_raw_file 2017-07-23 13:43:12 +01:00
Daniel James
238e5114c6 Update page data before generating quickbook page
Need to do it first, in order to set the page location. It might be best
to also do this every time the page is regenerated?
2017-07-13 17:01:01 +01:00
Daniel James
1a1dd6810a Remove the chrono/Stopwatch manual metadata override
It now has status=unrelease in both develop and master.
2017-07-08 20:53:44 +01:00
Daniel James
53ea7b52cd Don't write out empty authors tag 2017-07-02 14:52:36 +01:00
Daniel James
2b2298c599 Add support for 'removed' status + remove TR1 2017-07-02 14:52:36 +01:00
Daniel James
cd8ecff9ae Move asciidoctor header css into main css file 2017-06-18 13:10:43 +01:00
Daniel James
d35a3e755d Add body class to asciidoctor docs 2017-06-18 13:07:34 +01:00
Daniel James
7f698ab503 Detect asciidoctor docs, and fix header style 2017-06-18 13:07:12 +01:00
Daniel James
d9a990c8b9 Fix json bintray-version 2017-06-17 13:35:24 +01:00
Daniel James
64cfbd90a0 Fix indentation 2017-06-15 13:22:21 +01:00
Daniel James
e951d500b5 Support json bintray-version files 2017-06-15 13:22:09 +01:00
Daniel James
379bcdc16f Fix protocol in error_handler 2017-06-09 21:16:51 +01:00
Daniel James
d38607da66 Scan for new pages when running 'update_pages --in-progress-only'
So that it will pick up new release notes. It also means that the state
will be updated for other pages. They won't be rebuilt, but I feel that
the state should only be updated when they are actually going to be
built. Maybe add an option to `update_qbk_file` to only update
development pages. Or perhaps only scan for new files that aren't in
pages yet.
2017-06-09 21:16:51 +01:00
Daniel James
ac91fe9cc7 Fix generate.php for non-standard branches 2017-06-09 21:16:51 +01:00
Daniel James
6d8c91b3b5 Fix download links 2017-04-19 19:31:30 +01:00
Daniel James
6a6fabdab1 Add option to specify version when loading release data
Was inferring it from the download page URL, but that isn't currently
following the normal format.
2017-04-17 17:27:59 +01:00
Daniel James
568e661541 Support for new download path 2017-03-22 21:46:29 +00:00
Daniel James
0f3ebbdf09 When checking release data, convert DateTime objects to strings
This will trigger a rebuild of the 1.63.0 release notes, but that should
be tolerable. Without this change, different versions of php will encode
the DateTime differently in json, resulting in unnecessary rebuilds.
2017-03-02 10:27:26 +00:00
Daniel James
40126d7210 Add configuration option for quickbook executable 2017-03-02 10:27:26 +00:00
Daniel James
5e03142069 Remove unnecessary 'clear' tag
It's already in $BOOST_ROOT/index.php, so isn't needed in the template
file.
2017-03-02 10:27:26 +00:00
Daniel James
52761eb196 Disable one of the tests for PHP 5.3 2017-02-19 13:39:06 +00:00
Daniel James
f5540f032c Fix the error_handler test cases
The problem is that when nette tester runs the tests using a CGI
executable it expects HTTP error statuses, but because it's not a real
HTTP request, SERVER_PROTOCOL isn't set. I tried to fix this before
using `http_repsonse_code` which does the right thing, but it's not
always available, so I had to revert that. So instead I've changed it so
that it assumes that it's an HTTP request unless it knows for sure that
it's a command line run.
2017-02-19 13:20:40 +00:00
Daniel James
a8d10c4211 Remove special case for HEAD requests
It's not really any more efficient than GET, so it's mostly pointless.
I still want to go through the motions of the unzip for a HEAD request,
as I want it to fail when a GET request would fail. They're almost never
used to efficiency isn't much of a concern.
2017-02-19 01:09:02 +00:00
Daniel James
5034261b57 Revert http_repsonse_code Changes
It isn't available on the server.
2017-02-17 21:46:53 +00:00
Daniel James
889bdc314f Allow syntax error in travis test 2017-02-09 13:28:48 +00:00
Daniel James
9489e3b0b7 Use exit(255) to match php 2017-02-09 13:28:46 +00:00
Daniel James
a604fa9df3 Convert a couple more places to use http_response_code 2017-02-09 13:28:46 +00:00
Daniel James
5dfc5183e0 Fix a couple of error handling issues
- Use `http_response_code` as it's a bit more robust than using `header`.
- Check errors against `error_reporting()`, so that error checks can be
  ignored when appropriate.
2017-02-09 13:28:45 +00:00
Daniel James
e02f26deaa Fix filter test for php 5.4+ 2017-02-09 13:28:44 +00:00
Daniel James
7a543697b6 Temporary fix for Chrono/Stopwatch in documentation list
Its metadata was added before 'status unreleased' was added, so it
doesn't have it yet.
2017-02-03 09:08:01 +00:00
Daniel James
38a3eaa5ec Auto-capitalize library names 2017-01-25 01:10:56 +00:00
Daniel James
3c2505c531 Escape the '>' in '?>'
Php is fine with it, but it confuses vim's syntax highlighter, and
possibly others.
2017-01-22 13:14:55 +00:00
Daniel James
6c188dd604 Link to github commmit in master/develop documentation 2017-01-22 13:14:55 +00:00
Daniel James
5051b6d233 Redirect old beta documentation 2017-01-22 13:14:55 +00:00
Daniel James
fea0ea2563 Remove use of boolval, which is from php 5.5 2017-01-21 13:20:14 +00:00
Daniel James
9f080f25b6 Remove use_http_expire_date option
Not much point since it was always true.
2017-01-21 13:13:34 +00:00