* 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>
* 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>
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>
* 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>
* 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>
* 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>
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.
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.
- 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.
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
- 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.