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

321 Commits

Author SHA1 Message Date
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
Daniel James
accf89928c Pull xml parser out of the constructor. 2014-02-24 22:49:16 +00:00
Daniel James
5236cbae74 Fix documentation handling 2014-02-23 14:32:35 +00:00
Daniel James
fe955cedd3 Support latest changes to libraries format. 2014-02-23 14:32:35 +00:00
Daniel James
7d1bbcd38b A more capable 'resolve_url'. 2014-02-23 14:32:35 +00:00
Daniel James
04ee442814 Add script to create metadata file for modules. 2014-02-23 14:32:34 +00:00
Daniel James
41fb1c416c A little bit of documentation for boost_libraries 2014-02-23 14:32:34 +00:00
Daniel James
3cb769d321 Store the categories in order. 2014-02-01 21:54:23 +00:00
Daniel James
201c79c2c3 Add ability to update library details. 2014-02-01 21:54:23 +00:00
Daniel James
167a451191 Use version as index in library array. 2014-02-01 21:54:23 +00:00
Daniel James
baf07faaa8 Use static method to create boost_libraries. 2014-02-01 21:54:23 +00:00
Daniel James
3db38a77a3 Add module field. 2014-02-01 21:54:23 +00:00
Daniel James
c48bc55105 Die on invalid xml. 2014-02-01 21:54:23 +00:00
Daniel James
696dfdb11a Generate xml from boost_libraries.
Run it on libraries.xml to "normalize" it.
2014-02-01 21:54:22 +00:00
Daniel James
427808b5e0 Sort the libraries by update.
So the last one that matches can be used.
2014-02-01 21:54:22 +00:00
Daniel James
d84c6d0419 Replace 'boost-min-version', 'boost-max-version' with 'update-version'
Picks the latest update.

There's now no way to remove a library, will probably do so by creating
an update with some xml representation of a removal.
2014-02-01 21:54:22 +00:00
Daniel James
f2990e2a1a Always store min version. 2014-02-01 21:54:22 +00:00