2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-28 19:52:14 +00:00
Commit Graph

337 Commits

Author SHA1 Message Date
Daniel James
62d53126d5 Prepare update for 1.56.0.
Upon release will need to merge this, update boost_1_56_0.qbk, and
rebuild.
2014-08-07 13:34:54 +01:00
Daniel James
4fdd326d07 Fix setting the documentation path.
It was wrong for modules where the module path doesn't match the module
name.
2014-08-06 20:02:11 +01:00
Daniel James
bbebb927ce Set version on release.
A bit trickier than expected!
2014-08-06 20:02:11 +01:00
Daniel James
67329904aa Fix is_numbered_release. 2014-08-06 20:02:11 +01:00
Daniel James
071434ac67 Remove some broken code.
This was meant to fill in missing boost version entries, but it didn't
work, and it's done properly in 'reduce_versions'.
2014-08-06 20:02:11 +01:00
Daniel James
24a8f38712 Better support for beta versions.
It used to just ignore the beta information, but that wasn't quite right.
This does means that the library details will still have information about
the beta version after a release, which isn't desirable, but it
shouldn't be too hard to write something to strip out old beta
information.
2014-07-21 22:29:42 +01:00
Daniel James
860cb21970 Custom html_encode to use UTF-8.
PHP 5.4 uses UTF-8 by default, but PHP 5.3 uses ISO-8859-1 so character
encoding is going wrong there. So replace htmlentities with a function
that uses the correct encoding.
2014-07-20 23:36:24 +01:00
Daniel James
b3dea6453d Don't die on parse errors when updating. 2014-07-13 11:21:44 +01:00
Daniel James
efc08e09fb Support release versions in update. 2014-07-13 11:21:44 +01:00
Daniel James
fce30841ed Merge branch 'beta' 2014-07-06 21:10:15 +01:00
Daniel James
f06d96fa24 Fix resolve_url for absolute urls. 2014-07-06 21:08:30 +01:00
Daniel James
f42a214afc Half-hearted error handling. 2014-06-16 10:22:47 +01:00
Daniel
6a58669e05 Inherit boost-version metadata from previous version.
Does this fit in reduce_versions? It seems to. Maybe should make the
data structure a bit better, boost-version shouldn't change with new
releases so it could be part of some release independent data.
2014-06-09 11:55:26 +01:00
Daniel James
091ac11df2 Fix modules.
First remove some old code which guessed the module from the library's
key, this was there to bootstrap modules - no need now they're all
stored either in the documentation list, or implicitly by the location
of libraries.json.

Secondly, pass the name of the module as the parameter, rather than the
array containing the module data.
2014-06-08 23:00:51 +01:00
Daniel James
2776664692 Use 'and' for names lists. 2014-06-03 19:05:32 +01:00
Daniel James
61509415d6 Remove excluded fields from json last.
Doing it before the normalization can remove needed fields.
2014-06-03 19:05:32 +01:00
Daniel James
287032b9d1 Set build docs version to null.
Which is accurate, and removes the need for a special case. If boost
build needs special behaviour, that could be set by adding an extra
entry to `$params`.
2014-05-03 16:01:18 +01:00
Daniel
a965217851 Don't display link to latest version in error pages. 2014-04-30 22:51:05 +01:00
Daniel
8a09c60cd5 Only support arrays in file_not_found. 2014-04-30 22:51:05 +01:00
Daniel
d2f2b875be Use $params in get_archive_location. 2014-04-30 22:51:05 +01:00
Daniel
ee8ea45f9e Use archive_dir from params in latest_link. 2014-04-30 22:51:05 +01:00
Daniel James
4ece40aeac Fix latest_link for directories. 2014-04-30 09:16:34 +01:00
Daniel James
a77e874480 Add latest_link to more pages. 2014-04-30 09:15:38 +01:00
Daniel James
26e90f1602 Move latest_link into boost_archive.php.
It's a display function rather than a filter function.
2014-04-30 09:12:57 +01:00
Daniel James
874164e494 Pass full $params array to 'display_template'.
The 'display_template' mechanism is pretty rubbish. There's only ever
one template, and it's probably not flexible enough to ever be of use.
Might be best to just remove it.
2014-04-30 09:10:02 +01:00
Daniel James
49704ac2ca Factor out and improve version output stuff. 2014-04-28 21:42:04 +01:00
Daniel James
ec24f4ff58 Fix handling of boost-version.
It needs to be optional as a library might not be released yet.
2014-04-28 21:42:04 +01:00
Daniel James
4e0dbc79c3 Move page title generation into BoostVersion. 2014-04-16 04:35:55 +01:00
Daniel James
02a6c12cad Rename test_template so it doesn't look like a test. 2014-04-13 14:24:47 +01:00
Daniel James
50d43e61ef Update test_libraries.php 2014-04-13 14:24:47 +01:00
Daniel James
3a683575db Avoid a couple of warnings. 2014-04-13 14:24:47 +01:00
Daniel James
11c12a0419 Fix test_filters.php.
Did it ever work?
2014-04-13 14:24:47 +01:00
Daniel James
83f1106294 Rebuild library list. 2014-04-13 14:24:47 +01:00
Daniel James
9df3d484b4 Convert std-proposal/std-tag to an array. 2014-04-13 14:24:47 +01:00
Daniel James
b0b9d198b0 Keep the libraries sorted by key 2014-02-28 09:12:48 +00:00
Daniel James
76f9b6dd1e Better logic for setting version info. 2014-02-28 09:12:48 +00:00
Daniel James
f63dcb640d Setting up the array in boost_libraries' constructor 2014-02-28 09:12:48 +00:00
Daniel James
5f9692f08d Only implode name arrays when appropriate. 2014-02-28 09:12:48 +00:00
Daniel James
2d5375f0e9 Fix json import 2014-02-28 09:12:48 +00:00
Daniel James
c6e22ed10b Fix some issues in to_json. 2014-02-27 08:07:50 +00:00
Daniel James
0a530c074e Scrape maintainers from repo.
Should probably actually do this in create-module-metadata, as once the
metadata is in place this script should ignore the maintainers file. But
I didn't have much time tonight. So I won't check the changes into
libraries.xml. Also need to consider that 'maintainers' should probably
be backdated to apply to all versions. Maybe it shouldn't be store in
libraries.xml at all.
2014-02-26 23:56:00 +00:00
Daniel James
b8bce24245 Fix name of BoostVersion 2014-02-26 23:56:00 +00:00
Daniel James
eedbd22cf6 Update the libraries test.
- 'update' now takes a library object, not a string - because the string
  might be xml or json.
- Categories are stored in alphabetical order.
2014-02-26 23:56:00 +00:00
Daniel James
4cf66b51cc Add support for maintainers, and allow multiple authors/maintainers. 2014-02-24 22:49:17 +00:00
Daniel James
0f2df6f4df Detect when a library has a new field. 2014-02-24 22:49:17 +00:00
Daniel James
fca7542d4f Update from json or xml 2014-02-24 22:49:17 +00:00
Daniel James
56e5a8b906 Always normalize spaces.
It makes it easier to detect when a library's details have changes. I
could normalize when comparing, but this seems easier. It's okay to
lose this information.
2014-02-24 22:49:17 +00:00
Daniel James
702606aabc Generate json metadata. 2014-02-24 22:49:17 +00:00
Daniel James
78a6aa7733 More specific names for from_string/from_file. 2014-02-24 22:49:17 +00:00
Daniel James
30859144ae Move library prep back into constructor. 2014-02-24 22:49:17 +00:00