1
0
mirror of https://github.com/prometheus/docs.git synced 2026-02-07 03:44:55 +01:00
Commit Graph

27 Commits

Author SHA1 Message Date
SuperQ
92c3baeb99 Update Nanoc 4.13
Update Nanoc and Ruby.
* Update to the latest supported Ruby version.
* Bump bundler.
* Bump stringio.
* Update to Nanoc 4.13.
* Increase open PR limit.
* Fixup `exists?` deprecation.

Signed-off-by: SuperQ <superq@gmail.com>
2025-03-11 10:20:15 +01:00
Julien
60899b37d2 Update icons to use Tabler and apply the new Twitter logo. (#2527)
* Update icons to use Tabler and apply the new Twitter logo.

Switch to Tabler because Prometheus 3.0 uses it, and Font Awesome's
latest open-source version doesn't include all necessary icons.

Signed-off-by: Julien <roidelapluie@o11y.eu>

* Remove twitter

Signed-off-by: Julien <roidelapluie@o11y.eu>

---------

Signed-off-by: Julien <roidelapluie@o11y.eu>
2024-10-08 16:09:21 +02:00
Julien
9e2fdfaf4e Merge pull request #2523 from roidelapluie/fix255
Add download for prometheus 2.55
2024-09-30 16:19:25 +02:00
Julius Volz
cfc543aa28 Only consider non-draft releases for downloads page (#2517)
Currently the Makefile uses authenticated GitHub accesses to download a
JSON containing *all* releases (since we're authenticated), including draft
ones.

The script that then assembles the downloads page tries to also download
the checksums for those draft releases, which fails with a 404 if you are
not authenticated (and we probably don't want to show these anyway).

Interestingly the build works on Netlify anyway. Probably the GitHub API
token used there doesn't actually have the rights to see draft releases on the
Prometheus org. But it still produces build errors for people building the
site locally with their own GitHub access token.

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-30 15:09:31 +02:00
Julien
a0ad75591c Add download for prometheus 2.55
Signed-off-by: Julien <roidelapluie@o11y.eu>
2024-09-30 15:04:33 +02:00
Julien Pivotto
af671274a3 fix: exclude versions with build metadata from downloads
This change ensures that only versions without build metadata are
included in the list of available downloads on prometheus.io to prevent
non-stable releases from being published on the main download page. For
example, Prometheus 2.43.0-rc.1+stringlabels is excluded from the list
of available downloads.

Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2023-03-20 10:33:44 +01:00
Julien Pivotto
498d281f36 Add support for LTS releases (#2158)
* Add support for LTS releases

- Mark version as 2.37 (LTS) in dropdown.
- Keep LTS releases in Downloads and mark them with a badge.
- Do not show version warning in docs for LTS

Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2022-06-16 21:21:06 +02:00
Julien Pivotto
c1de03a743 Exclude Web UI from the downloads (#2123)
Prometheus now provides web UI tarballs to better integrate with
downstream distributions.

We need to explictly exclude them from our downloads.

Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2022-04-14 21:32:41 +02:00
Tobias Schmidt
17b04945e7 Show .zip archive only for Windows (#1775)
If a release archive is available in both .tar.gz and .zip format, only
show the .zip archive in the download list.

Signed-off-by: Tobias Schmidt <tobidt@gmail.com>
2020-10-29 18:26:25 +01:00
Tobias Schmidt
ef4e611471 Automate repository docs inclusion (#1762)
So far every prometheus/alertmanater/... release branch had to be
manually configured in the nanoc.yaml config file. With this change the
most recent release branches will be checked out automatically if a
corresponding semver tag exists.

As the Prometheus git repository includes several hundreds of megabytes
of vendored assets, the repository is cloned bare and all blobs are
filtered by default. Each version is then checked out in an individual
working tree and git's spare-chekcout feature is used to reduce the
checkout to the `docs/` folder. The git data is cached in
`tmp/repo_docs/` and will be recreated automatically if removed.

Signed-off-by: Tobias Schmidt <tobidt@gmail.com>
2020-10-14 20:04:54 +02:00
Tobias Schmidt
2ddbb4a19b Refactor download release selection (#1701)
* Add test
* Use Ruby's comparable module to implement sort behavior

Signed-off-by: Tobias Schmidt <tobidt@gmail.com>
2020-07-26 22:56:39 +02:00
Julien Pivotto
bed817c52d Sort releases (#1700)
2.19.3 was released after 2.20.0 but 2.20.0 should be the one displayed
on th website

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2020-07-25 13:24:39 +02:00
Julien Pivotto
7a82f0a0e7 Reduce build time (#1662)
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2020-06-09 17:09:32 +02:00
Tobias Schmidt
75db8b6906 Fix nil comparision 2017-11-08 08:58:01 +01:00
Tobias Schmidt
708415ff13 Add basic version picker 2017-11-07 18:41:36 +01:00
Tobias Schmidt
ab04bb6f2d Add support for subsections 2017-10-26 23:16:21 +02:00
Tobias Schmidt
bd570947a5 Add repository documentation data source
With this commit it becomes possible to define additional data sources
for content pages. The content will be cloned from the specified
repository. Links in these pages will be normalized to work inside the
docs project. It's assumed the documentation pages include the standard
nanoc config options and set :title and optionall :sort_rank.
2017-10-26 14:03:59 +02:00
Tobias Schmidt
e8611aec41 Render tarball sha256 checksum if available for release 2017-04-15 09:14:33 -03:00
Tobias Schmidt
3df23e45e8 Fix beta release asset name parsing 2016-10-07 18:03:29 +02:00
Tobias Schmidt
ed12a65c95 Default arch download default to amd64
Remove the popular option as it only included a single item.
2016-04-16 22:50:23 -04:00
Tobias Schmidt
d68a07b025 Fix asset download URL 2016-04-16 13:53:56 -04:00
Tobias Schmidt
ffbdada173 Add download section
This adds a new download section to the page with list for all available
precompiled versions for officially maintained components. The release
information are fetched via the Github API and rendered as static list.

Currently only the latest release and the newest pre-release (if
available) are show. This could be extended later. In order to keep the
list usable besides the massive list of prebuilt binaries, a javascript
os/arch filter has been added, defaulting to popular versions.

The following changes have been made on the way:

* Ensure all pages have a footer.
* Remove duplicated jquery inclusion.
* Use CSS to define text case of jumbotron buttons.
* Add Download section to the header.
* Reduce Github link to just the logo to save space.
* Update Getting Started and Installing sections.
2016-04-16 12:02:48 -04:00
Tobias Schmidt
26063c1d0c Collapse inactive navigation menus
Use javascript to hide all inactive menu items and only show one active
menu item at a time.
2016-04-02 13:08:25 -04:00
Tobias Schmidt
ce7b754f52 Clean up navigation helper 2016-03-29 21:03:43 -04:00
Tobias Schmidt
ccc3d97491 Rename navigation helper function to nav() 2016-01-19 22:15:18 -05:00
Julius Volz
2ac7105c4c Complete site redesign and added non-doc pages. 2014-12-22 03:37:54 +01:00
Julius Volz
426fab7c20 Initial commit of the Prometheus docs site. 2014-12-19 16:09:50 +01:00