2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-22 17:52:30 +00:00

106 Commits

Author SHA1 Message Date
rbbeeston
3735bdf32c Insert Plausible script 2024-09-01 08:56:16 -07:00
Donovan
047a33cb22 Remove all std references
- Removed 'std', 'std-proposal', 'std-tr1' throughout the codes
- Titlize 'C++ standard minimum level' in the doc page
2021-01-11 10:19:38 +08:00
Donovan
787eb56589 Update library doc page with 'Standard' field removed
- Remove 'Standard' field from each library info
- Remove 'Standard Proposals' and 'TR1 libraries' from sort categories
- Add 'C++ Minimum' to sort categories
2021-01-10 10:59:11 +08:00
Donovan
f7428be8e5 Add 'C++ standard minimum level' with 'cxxstd' value to lib doc 2020-12-29 11:57:50 +08:00
Daniel James
3aa079f3fc Copy local changes from server
To have a record of what's actually in use, to make it easier to change them,
and to make updating the website simpler.
2018-02-12 11:06:04 +00:00
Daniel James
280281adf5 Add some newlines to the categorized library list 2018-02-02 13:43:23 +00:00
Daniel James
f75dbab812 Use 'all' view for filtered/categorized views
Might be better to separate view and filter, especially now we have the
condensed view.
2018-02-02 10:59:53 +00:00
Daniel James
10333097fc Fix for substr on old versions of PHP
In older versions substr returns `false` is the substring is at the end of the
string.
2018-02-02 10:53:59 +00:00
Daniel James
6906c02232 Condensed library list (#296) 2018-01-12 11:12:15 +00:00
Daniel James
758eeb0ce0 Normalize ids in library list 2017-09-26 16:55:04 +01:00
Daniel James
82d38ae059 Add ids to libraries in library list 2017-09-26 16:19:57 +01:00
Daniel James
4770b0c110 Add yellow box to top of root index page 2017-08-27 15:05:12 +01:00
Daniel James
5051b6d233 Redirect old beta documentation 2017-01-22 13:14:55 +00:00
Daniel James
768ceaa946 Fix case insensitive category names
Now they are indexed by lower case name, and library category is stored
in lower case.
2017-01-21 13:13:34 +00:00
Daniel James
de6feb6413 Don't use lower case category
The category view was broken because it was converted into lowercase, so
only lowercase paramater values when appropriate. Unfortunately the code
for generating the links at the top is case sensitive, so they're
slightly wrong if a parameter value has the wrong case, but that's
unlikely, and not that bad. Will need to improve this though.
2017-01-14 23:56:31 +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
8abdbd3938 Remove a load of old TODO notes
boost_archive.php:

For mime types, the current list seems fine, and a full list doesn't
seem feasable.

boost_filter_text.php:

For supporting other character sets, could possibly use
mb_detect_encoding to guess the file's encoding, but it's not currently
installed on the server, and I think guesses are probably no better than
just assuming everything is UTF-8. The alternative would be some
mechanism to specify a file's (path's?) encoding, but I'm sure that can
be done if the need arises.

boost_library.php:

If it turns out that a better exception is needed, then it will be
handled then, so I'm not concerned with that TODO note.

boost_pages.php:

Sourceforge is redirecting downloads to the right place, so I'll not
bother with '/download' at the end. It's probably better if the download
URLs have the right filename.

boost_simple_template.php:

I don't think the simple template class really needs to support tricky
edge cases, so I'll just leave that alone.

doc/libraries.php:

I don't think anyone's desperate to see the library list for ancient
versions. If they are, they can get the it in json format using:
http://www.boost.org/doc/libraries.json.php?version=1.11.1

site-tools/git-prep-beta.sh:

Coming back to this, I think the answer is no. A change on master is
only really made when it has been pushed to remote, if it's only local
then it might get rebased.

This script doesn't actually get much use now that there are long
standing unmerged changes in beta, but it used to work well for me.

site-tools/update-doc-list.php:

Other TODO note was to make the script a little more automatic when run
against a local git tree, but I don't think that's a use case to support
in general. The tree might not be fully synced, or might be checked out
from a tag, which would be harder to check.
2016-11-30 01:53:57 +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
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
3e28274c53 Clean up some of the confusing version code 2016-11-14 22:54:08 +00:00
Daniel James
b6ca3886f3 Clean up library list/pull request + better error pages 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
3e7ff0555c Fix default sort for library list 2016-10-27 19:23:18 +01:00
Daniel James
796d1e636d Fix documentation list 2016-10-27 19:20:59 +01:00
Daniel James
aad8876a69 Fix documentation list 2016-10-16 19:51:49 +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
4dd37ac5f4 Sort display of sort links 2016-09-28 22:51:27 +01:00
Daniel James
45f3957e93 Fix the sort option 2016-09-28 22:47:53 +01:00
Daniel James
3bd06c1594 Cleaner code to decide whether to show documentation list. 2016-09-21 09:14:21 +01:00
Daniel James
9ba3d280ad Quick hack to 404 documentation list for missing documentation. 2016-09-06 08:17:24 +01:00
Daniel James
9a7a44e073 Work when latest_version isn't set. 2016-08-24 17:26:27 +01:00
Daniel James
c6b6d62373 Always show developement branches. 2016-08-24 17:26:27 +01:00
Daniel James
7398e7e545 404 when requesting future documentation list.
Could also check for non-existant older versions, perhaps? Probably not
worth trying.
2016-08-24 17:16:20 +01:00
Daniel James
ddf45e503e Tighten up the library display code a little.
Be a little more thorough about validating input. Main benefit is
cleaning up the links displayed on the page, which could contain
arbitray user supplied values.
2016-06-05 13:41:35 +01:00
Daniel James
80c11140c8 Add special versions 'hidden' and 'unreleased'.
So that 'boost-version' is never null.
2015-11-15 15:08:32 +00:00
Daniel James
66160d2fea Move library loading into boost_libraries.
Still a bit shoddy, but at least it's only in one place.
2015-01-10 13:44:58 +00:00
Daniel James
b56b9fc54c Don't show unreleased libraries in release documentation. 2014-08-21 20:22:33 +01:00
Daniel James
c4c3fa8ce6 Rename boost_libraries to BoostLibraries. 2014-08-07 20:34:30 +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
8e68c0b2cb 'unreleased' for libraries without a version.
Assuming that a released library will have a 'boost-version' field.
2014-04-28 21:42:04 +01:00
Daniel James
7c32655b59 Better display of library details.
Don't assume the array entry is set, and htmlencode for output.
2014-04-28 21:42:04 +01:00
Daniel James
f8d9c39b34 Clean up the final page display a bit.
At least I think it's clearer.
2014-04-16 04:35:56 +01:00
Daniel James
ee57ff9dd8 No need to pass around categories now. 2014-04-16 04:35:56 +01:00