Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

use announce section in material theme #3423

Merged
merged 2 commits into from
Feb 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
# Flux documentation

!!!info "Flux v1 is in maintenance mode"
You are looking at the documentation of Flux v1, which
[is in maintenance mode](https://github.com/fluxcd/flux/issues/3320).

The Flux community is working with most of its energy on
**[Flux v2](https://toolkit.fluxcd.io/)** these days which is a more modern
approach to GitOps, implements some long-requested features of v1 and
is generally more flexible. It will be GA soon.

We strongly recommend you familiarise yourself with Flux v2 and start
looking at your [migration path](https://github.com/fluxcd/flux2/discussions/413).

![](_files/flux-cd-diagram.png)

Flux is a tool that automatically ensures that the state of a cluster matches
Expand Down
22 changes: 22 additions & 0 deletions docs_theme_override/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{% extends "base.html" %}

{% block announce %}

<p>
You are looking at the documentation of Flux v1, which is
<a href="https://github.com/fluxcd/flux/issues/3320">in maintenance mode</a>.
</p>

<p>
The Flux community is working with most of its energy on
<a href="https://toolkit.fluxcd.io">Flux v2</a> these days which is a more modern
approach to GitOps, implements some long-requested features of v1 and is generally
more flexible. It will be GA soon.
</p>

<p>
We strongly recommend you familiarise yourself with Flux v2 and start looking at
<a href="https://github.com/fluxcd/flux2/discussions/413">your migration path</a>.
</p>

{% endblock %}
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ theme:
palette:
primary: blue
accent: indigo
custom_dir: docs_theme_override

docs_dir: docs

Expand Down