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

35 Commits

Author SHA1 Message Date
Jeremy Rickards
b801babcb1 Fix header anchor CSS (#2575)
* Fix header anchor CSS

This is a leftover from 60899b37d2, where
Font Awesome was removed. The missing font causes the link icon to show as
a tofu. Tabler, the new library that was introduced as a replacement has a
link icon CSS class we can use instead. I also adjusted the left pad.

Signed-off-by: Jeremy Rickards <jeremy.rickards@sap.com>

* Address PR comment

Signed-off-by: Jeremy Rickards <jeremy.rickards@sap.com>

---------

Signed-off-by: Jeremy Rickards <jeremy.rickards@sap.com>
2025-02-24 18:03:01 +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
Manoramsharma
8f591c43d6 Fixed docs images size (#2490)
Signed-off-by: Manoramsharma <84619980+Manoramsharma@users.noreply.github.com>
2024-07-18 16:09:21 +02:00
Julius Volz
2c36ee9045 Rename "Prometheus" docs section to "Prometheus Server" (#2473)
As per Björn's comment on the team mailing list:

"I think the current "Prometheus" section is not very well named. It is
essentially the part coming from the prometheus/prometheus repo (not
prometheus/docs, as the rest fo the site), and it means "The
Prometheus Server". I think it should be named that way because just
"Prometheus" could mean a lot of things. On prometheus.io,
"Prometheus" mostly refers to the overarching project."

This also adds CSS styles to make sure that the "Prometheus Server" text gets
line-broken in such a way on narrow displays that the second line is indented
correctly.

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-06-07 15:43:09 +02:00
Payal Raviya
20d486a9fc fix: CSS to make logos look same in support-training page (#2438)
* Replaced platformengineers logo with named logo

Signed-off-by: Munir Khakhi <munir@improwised.com>

* fix: changed the CSS to look logo same if height and width any

Signed-off-by: Payal17122000 <raviyapayal17@gmail.com>

---------

Signed-off-by: Munir Khakhi <munir@improwised.com>
Signed-off-by: Payal17122000 <raviyapayal17@gmail.com>
Co-authored-by: Munir Khakhi <munir@improwised.com>
2024-03-11 09:36:57 +01:00
Julius Volz
99f1fdf91a Add left/right padding to newsbar for long texts / narrow windows (#2104)
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2022-03-04 17:53:58 +01:00
Richard Hartmann
cf6e9cfe8c Fix NOTE block rendering (#1987)
Fixes: https://github.com/prometheus/docs/issues/1986

Signed-off-by: Richard Hartmann <richih@richih.org>
2021-07-08 12:18:07 +02:00
Julius Volz
432d8cbb6e Bring back old newsbar styling for PromCon banner (#1917)
* Bring back old newsbar styling for PromCon banner

We already used a newsbar multiple times in the past, which was placed under
the main jumbotron and styled a bit more discreetly. I made some text + link
adjustments.

Signed-off-by: Julius Volz <julius.volz@gmail.com>

* Increase link boldness in newsbar

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2021-03-31 13:07:18 +02:00
Julius Volz
1651818fc8 Add Algolia Docsearch (#1637)
* Add Algolia Docsearch

This adds a search box to the top of the document that uses Algolia's
Docsearch (https://docsearch.algolia.com/). Indexing settings for our site
are configured in:

https://github.com/algolia/docsearch-configs/blob/master/configs/prometheus.json

Signed-off-by: Julius Volz <julius.volz@gmail.com>

* Add more general docsearch:include true/false attribute

Will switch to this after it is indexed in a day or so...

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2020-05-20 08:55:49 +02:00
Julius Volz
819fa5e386 Training & Support page fixups / remove marketing blurbs (#1629)
* Training & Support page fixups / remove marketing blurbs

I just wanted to remove the marketing blurbs as requested in
https://github.com/prometheus/docs/pull/1604, but while doing that I
noticed that the current HTML wasn't using Bootstrap validly (the only
valid children of rows are cols, not containers), so I changed that
around everywhere as well, and also fixed the footer, which wasn't
captured in its usual non-fluid container.

Signed-off-by: Julius Volz <julius.volz@gmail.com>

* Fix courses ordering

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2020-05-14 10:20:33 +02:00
Celeste Horgan
3625189bad [WIP]Add a training & support page (#1604)
* Add a training & support page

Signed-off-by: Celeste Horgan <celeste@cncf.io>

* Make small edits

Signed-off-by: Celeste Horgan <celeste@cncf.io>

* Remove approval wording

Signed-off-by: Celeste Horgan <celeste@cncf.io>

* Reword description of training

Signed-off-by: Celeste Horgan <celeste@cncf.io>

* Make training courses more neutrally worded

Signed-off-by: Celeste Horgan <celeste@cncf.io>

* Remove all marketing blurbs

Signed-off-by: Celeste Horgan <celeste@cncf.io>

* Remove requirements, more blurbs

Signed-off-by: Celeste Horgan <celeste@cncf.io>

* Add the button again!

Signed-off-by: Celeste Horgan <celeste@cncf.io>
2020-05-13 21:39:33 +02:00
Julius Volz
9c6c46c3c3 Point out that docs are open source and can be edited (#1033)
* Point out that docs are open source and can be edited

Signed-off-by: Julius Volz <julius.volz@gmail.com>

* Add contribution clarifications to README.md, link to it

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2018-05-29 21:07:24 +02:00
Tobias Schmidt
d08d90e867 Ensure number of Github stargazers can be displayed
We have too many now.
2017-11-08 11:15:58 +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
c5a3f2ac61 Clean up downloads table layout 2017-04-15 13:04:45 -03:00
Tobias Schmidt
e8611aec41 Render tarball sha256 checksum if available for release 2017-04-15 09:14:33 -03:00
Conor Broderick
13d85f3552 Company logo alignment (#704) 2017-04-10 14:19:23 +01:00
Tobias Schmidt
8ee38170b2 Fix broken ToC display on downloads page 2017-03-01 22:44:21 -04:00
Joe Gaffey
eb08bae104 Fix for clipped descenders in feature headings 2017-02-21 17:11:04 +00:00
Joe Gaffey
3157e331b8 Fix for overlapping text in feature item headings.
Only happens in certain window sizes.
2017-01-14 20:34:14 +00:00
Julius Volz
bcf7c1b659 PromCon 2016 recap blog post 2016-09-04 14:02:27 +02:00
Julius Volz
4397095f45 Add some CNCF branding. 2016-07-28 00:02:47 +02:00
Julius Volz
c6dedb3e1a Add 1.0 announcement news bar.
Revert this after we feel that the news is not hot anymore.
2016-07-18 22:09:40 +02:00
Julius Volz
cd4f6528af Re-add small left margin to docs side-nav. 2016-04-16 18:37:03 +02:00
Julius Volz
80a896cb68 Fix logo and docs menu alignment.
Instead of moving the logo to the right to align it with the docs
side-nav, remove the extraneous left-padding on the side-nav. Then the
logo is aligned with the text on all pages again.
2016-04-16 18:21:18 +02: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
Julius Volz
c9e87cb563 Abridge blog posts in index view. 2016-04-15 20:55:47 +02:00
Julius Volz
42718df5fb Improve landing page layout on smaller screens.
- The jumbotron text was not correctly centered between 750px and 970px
  width. Fixed by removing unnecessary HTML.
- Feature items flipped from 4 per row to 1 per row, without any 2-per row
  variant for medium-sized screens. Added a 2-per-row variant.
- The feature items had a fixed height which looked too tall on the
  large end of XS widths (one long item per row). Removed the fixed
  height and let the height adjust itself automatically.
2016-04-15 01:15:12 +02:00
Fabian Reinartz
803cb20bd6 Merge pull request #389 from prometheus/routing-tree-deux
Update routing tree location
2016-04-12 16:41:27 +02:00
Julius Volz
121fc00f94 Move GitHub star button to "Open Source" section. 2016-04-12 15:35:16 +02:00
stuart nelson
520fc5fafe Update routing tree location
Routing tree editor is now only available as a
link from within the configuration docs for
alertmanager.

Code changes:
- Routing tree CSS is now in a CSS file
- The label set input now draws the route when
"enter" is pressed
2016-04-12 11:06:00 +02:00
Julius Volz
6f8fd43b57 Change codebox/toc color from red-ish to gray. 2016-04-11 22:27:34 +02:00
Julius Volz
d55a613e7a Improve overall website design.
- Thinner and more elegant fonts on landing page.
- Removed "Overview" menu item, shortened "Documentation" to "Docs".
- Replaced jumbotron logo+title with motivational text.
- Removed "View details" buttons on landing page, make features clickable
  instead.
- Introduced testimonial quote section on landing page.
- Introduced "Open Source" section on landing page.
- Refactored overall jumbotron layout/content.
- Removed PromCon 2016 button.
- Changed documentation font to smaller size.
- Adjusted header font sizes and weights.
- Made code blocks look cooler, with orange left border.
- Don't wrap long lines in code blocks.
- Harmonized background colors between pre, code, and toc.
- Aligned the navbar Prometheus logo with the docs menu.
2016-04-11 21:30:53 +02:00
Julius Volz
e40149e39f Add cachebusting fingerprints to asset files.
This is using http://avdgaag.github.io/nanoc-cachebuster/.

docs.css had to be moved out of /static because the static datasource
treats all files as binary, and thus no textual filters can be applied
(necessary for rewriting the jumbotron background image URL).

Fixes https://github.com/prometheus/docs/issues/369
2016-04-09 00:16:33 +02:00