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

53 Commits

Author SHA1 Message Date
Daniel James
15b21ff234 Support 'fallback' directory in documentation-fixes 2017-09-09 19:29:51 +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
1e8df7203c Make the cache expiration date shorter
Fixes #262
2017-08-03 16:02:36 +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
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
9f080f25b6 Remove use_http_expire_date option
Not much point since it was always true.
2017-01-21 13:13:34 +00:00
Daniel James
5639754447 Fix typo 2017-01-17 17:29:14 +00:00
Daniel James
ee63a54d26 Rewrite the latest link box 2016-12-11 15:38:51 +00:00
Daniel James
1ff8cddecc Add 'latest_link' box to documentation list 2016-12-11 15:38:50 +00:00
Daniel James
af5bb69290 Rename/comment a few variables and functions 2016-12-11 14:56:42 +00:00
Daniel James
42e837259a Fix documentation links in library list 2016-12-11 13:36:03 +00:00
Daniel James
451e564c26 Use exceptions for http errors
Not how I'd normally do this, but seems cleaner than exiting the script
in the middle of a constructor.
2016-11-30 01:30:37 +00:00
Daniel James
d74bcf2a29 Use BoostDocumentation instead of BoostFilterData
Move some of BoostFilterData's member into BoostFilter.
2016-11-30 01:30:36 +00:00
Daniel James
068a037ea3 Store version string for title in BoostDocumentation
Also pulled the BoostDocumentation logic in libraries.php into the
class, which makes it slightly cleaner.
2016-11-30 01:30:36 +00:00
Daniel James
ea3fc601a6 Store documentation details in BoostDocumentation
Allows the library list implementation to be a bit cleaner.
2016-11-30 01:30:15 +00:00
Daniel James
be4fd29599 Strict version parsing in BoostVersion::from
It used to just grab anything that looked like a version number from a
string. Now the whole string must be a version number. Left the library
list in a little bit of a mess, but will clean that up next.
2016-11-30 01:29:27 +00:00
Daniel James
4e7e504f1d Fix date of last release in docs
Was relying on boost.php being updated for every release, but now the
version number is stored in a separate file, so check that instead.
2016-11-30 01:10:30 +00:00
Daniel James
d8c89f8c9a Move the documentation configuration into boost_documentation
Remove a little duplication and makes it easier to see how the class is
actually used. Would normally be stored in a separate file, but I didn't
really want to create one.
2016-11-30 01:10:20 +00:00
Daniel James
c465903879 Make the documentation fix directory configurable
After merging this, I'm planning on splitting putting the fix directoy
in a separate repo, as it's getting large.
2016-11-30 01:08:36 +00:00
Daniel James
d827cf8866 Fix links from regression source into boost source 2016-11-14 22:53:35 +00:00
Daniel James
c8f365bd26 Merge branch 'develop'
Pretty large development merge. Including:

- More robust PHP error handling.
- Automatically update release data from various sources. Manually
  updating a json file was too error prone.
- Normalize hashes of release notes, so that they won't need to be
  manually updated so often.
- Small improvements to quickbook page data.
- Cache html generated from quickbook - so no need to reparse when
  changing release data. Much of the site can now be rebuilt without
  installing quickbook, although changes in quickbook won't be included.
- Scripts in site-tools have are more consistent at the command line,
  and all support '--help' (although some have very little information).
- Automatically update more of the site for new releases.
2016-10-30 19:57:32 +00:00
Daniel James
a64572a217 Check fix_dir as well as archive_dir in latest_link 2016-10-27 19:40:01 +01:00
Daniel James
d2ea07cee1 Fix documentation list when no PATH_INFO 2016-10-26 19:38:13 +01:00
Daniel James
58543a3ae5 Fix the unversioned library page. 2016-09-28 22:42:30 +01:00
Daniel James
3bd06c1594 Cleaner code to decide whether to show documentation list. 2016-09-21 09:14:21 +01:00
Daniel James
c7369480c7 Extract the documentaion path logic.
I normally try to avoid using compact/extract, but that seems the
simplest way to do this here.
2016-09-21 09:14:21 +01:00
Daniel James
f160d6cc55 Autoload URL handling. 2016-05-26 00:12:07 +01:00
Daniel James
b2d368cbe9 Check that path exists earlier.
To avoid warning when getting the last_modified date.
2016-05-25 14:41:38 +01:00
Daniel James
3f7ba6f770 Fix regression documentation. 2016-05-25 14:41:07 +01:00
Daniel James
569bc80157 Stop version check overwriting page version. 2016-05-18 08:58:41 +01:00
Daniel James
51ecd32bdf Remove special case code for build docs + regression results. 2016-03-06 22:23:08 +00:00
Daniel James
e97035c7d6 Fix directory listing. 2016-03-06 22:23:08 +00:00
Daniel James
106c6e73a3 Replace more of params with variables. 2016-03-06 22:23:08 +00:00
Daniel James
9b8ffcfed3 Remove support for override_extractor. 2016-03-06 22:23:08 +00:00
Daniel James
2e675975b9 Use variable for 'use_http_expire_date'
Should possibly always be true.
2016-03-06 22:23:08 +00:00
Daniel James
c8faba5777 Remove use of archive_file_prefix.
I think it was only really appropriate for zipfiles, and should never
have been used in this way.
2016-03-06 22:23:08 +00:00
Daniel James
79cad5cf4c Remove more uses of params in BoostDocumenation. 2016-03-06 22:23:07 +00:00
Daniel James
b623ed84a4 Remove archive_subdir parameter. 2016-03-06 22:23:07 +00:00
Daniel James
ea2e9c2c72 Replace params[key] with variable. 2016-03-06 22:23:07 +00:00
Daniel James
a0088752f3 Inline get_archive_location. 2016-03-06 22:23:07 +00:00
Daniel James
86a4bd1f4c Set up BoostFilterData earlier. 2016-03-06 22:23:07 +00:00
Daniel James
25322ab066 Replace $params with class in filters. 2016-03-06 22:23:07 +00:00
Daniel James
fe3dcc08b7 Rejig BoostWeb::error_page. 2016-03-06 22:23:06 +00:00
Daniel James
01f32a76da Inline some now trivial functions in BoostDocumentation. 2016-03-06 22:23:06 +00:00
Daniel James
cc4686cb7b Extract some of the common code into a new file.
It's a bit arbitrary, so might reconsider later.
2016-03-06 22:23:06 +00:00