2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-24 06:22:15 +00:00

23 Commits

Author SHA1 Message Date
Daniel James
a4f4815023 Code changes to support HTTPS 2018-04-13 09:14:48 +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
0f8056298e Add 'base_version' variable to templates 2017-08-27 23:45:44 +01:00
Daniel James
5bcf63f836 Include the current version libraries on master
So that they still appear after the library list has been updated.
2017-08-27 23:30:23 +01:00
Daniel James
123e00a58f Clean up rewriting library details for templates 2017-08-27 23:30:05 +01:00
Daniel James
fe7ee95bc8 Add a variable to indicate development snapshots in mustache
A better solution than the quick hack I just added.
2017-08-27 14:32:00 +01:00
Daniel James
a674c787d7 Quick hack not to use version number in develop snapshot.
Looks weird, but I saw someone who thought the page was for the release
itself, will hopefully reduce confusion.
2017-08-27 14:21:44 +01:00
Daniel James
ac91fe9cc7 Fix generate.php for non-standard branches 2017-06-09 21:16:51 +01:00
Daniel James
b5c7a42825 Tell mutache whether the number of unreleased libraries is plural 2017-03-30 17:38:27 +01:00
Daniel James
42043ac2b2 When generating pages, get version info from Jamroot 2017-01-21 13:13:34 +00:00
Daniel James
3e28274c53 Clean up some of the confusing version code 2016-11-14 22:54:08 +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
34ce8f168e Only include visible libraries in library list 2016-10-27 20:09:13 +01:00
Daniel James
bfd4f9ed8f Support for generating root index file 2016-10-06 22:42:03 +01:00
Daniel James
b8120cc53c Adjust a lot of the error handling.
Use exceptions for most internal errors. Return error codes for most errors.
2016-09-29 02:08:52 +01:00
Daniel James
f4472fc751 Website bootstrap file.
Sets up error handling and timezone, maybe other things in the future.
2016-09-29 02:08:52 +01:00
Daniel James
4f28b5bfdd Read libraries.htm template from repo. 2016-05-29 19:49:58 +01:00
Daniel James
32c9ac5114 Make 'render' return a string. 2016-05-19 23:18:34 +01:00
Daniel James
fe7b6e1d34 Move template code into its own file. 2016-05-11 09:13:01 +01:00
Daniel James
2700d89858 Quick comment describing SimpleTemplate. 2016-05-08 14:40:52 +01:00
Daniel James
862fecc89a Implement inverted sections.
Untested...
2016-05-08 14:40:41 +01:00
Daniel James
72eed824d8 Quick and dirty mustache style template engine.
I didn't want to use the existing mustache, as I want to keep the site
dependency free for now, and not have to deal with caching compiled
templates. Might switch to using composer on the site in the future.

This isn't full mustache syntax, and might behave slightly differently?
2016-05-08 14:08:44 +01:00
Daniel James
f461216118 Quick API for generating files. 2016-05-08 14:06:32 +01:00