Skip to content

Additional download links on release page #2047

@sdarwin

Description

@sdarwin

Title: no-docs archives, hosted on GitHub
Description: These no-docs boost downloads are smaller, and ideal for GitHub CI jobs when docs aren't needed.

Title: no-docs archives, hosted on the CDN
Description: Smaller no-docs boost archives offer fast download times.

Title: cmake archives
Description: Boost cmake archives.

The above titles and descriptions can be modified.

On a release page, along with the existing downloads, add new collapsible windows, that are mostly hidden by default.

Only the "Title" shows, on a horizontal line.

If you click on on " + no-docs archives, hosted on GitHub" , it expands (vertically) and displays all the choices. If you click it again, it reduces/collapses back to a hidden state. Refreshing or reloading the page will collapse/hide all the sections. It appears like this:

+ no-docs archives, hosted on GitHub
+ no-docs archives, hosted on CDN
+ cmake archives

After expanding the window, download links appear. Show the "Description" there, either below or above the download links.

Sources:

https://github.com/boostorg/boost/releases/tag/boost-1.90.0
https://archives.boost.io/release/1.90.0/source-nodocs/

If part of the import process fails, such as being unable to discover "cmake" archives, the entire "cmake archives" section should be removed from the webpage. Don't show a drop-down that mentions "cmake". This would allow the feature to be robust to errors/bugs, and also be backward compatible. If "import" ran on boost 1.40.0: no cmake or no-docs versions, no drop-down windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions