Skip to content

Instantly share code, notes, and snippets.

@dholbach
dholbach / changes-over-docsy-v0.6.0.diff
Created March 29, 2023 09:42
fluxcd.io changes over upstream docsy
diff -ru ../../docsy/layouts/partials/favicons.html layouts/partials/favicons.html
--- ../../docsy/layouts/partials/favicons.html 2021-09-08 09:40:18.423978322 +0200
+++ layouts/partials/favicons.html 2022-11-02 10:46:12.673000298 +0100
@@ -1,12 +1,15 @@
-
-<!-- Favicons as generated by http://cthedot.de/icongen -->
-<link rel="shortcut icon" href="{{ "favicons/favicon.ico" | relURL }}" >
-<link rel="apple-touch-icon" href="{{ "favicons/apple-touch-icon-180x180.png" | relURL }}" sizes="180x180">
-<link rel="icon" type="image/png" href="{{ "favicons/favicon-16x16.png" | relURL }}" sizes="16x16">
-<link rel="icon" type="image/png" href="{{ "favicons/favicon-32x32.png" | relURL }}" sizes="32x32">
@dholbach
dholbach / docsy.diff
Created September 6, 2022 09:45
Diff over Docsy partials
diff -ru themes/docsy/layouts/404.html layouts/404.html
--- themes/docsy/layouts/404.html 2022-09-05 16:20:48.000000000 +0200
+++ layouts/404.html 2022-02-07 14:57:17.873525067 +0100
@@ -1,6 +1,37 @@
-{{ define "main" -}}
-<div class="td-content">
- <h1>Not found</h1>
- <p>Oops! This page doesn't exist. Try going back to the <a href="{{ "" | relURL }}">home page</a>.</p>
-</div>
-{{- end }}
@dholbach
dholbach / go-mod.diff
Last active July 26, 2022 10:11
go mod changes since last flux release
✦ ❯ git diff 1.25.2.. go.mod
diff --git a/go.mod b/go.mod
index 3e80a0bd..7ec17a87 100644
--- a/go.mod
+++ b/go.mod
@@ -2,16 +2,9 @@ module github.com/fluxcd/flux
go 1.16
-// remove when https://github.com/docker/distribution/pull/2905 is released.
name: Update MAINTAINERS
description: A GitHub Action for updating MAINTAINERS files
author: Daniel Holbach
branding:
color: blue
icon: command
inputs:
repository:
description: "repository name"
required: true
diff -ruN docs/cmd/_index.md /home/daniel/dev/website/content/en/docs/cmd/_index.md
--- docs/cmd/_index.md 1970-01-01 01:00:00.000000000 +0100
+++ /home/daniel/dev/website/content/en/docs/cmd/_index.md 2021-04-23 15:19:36.082198586 +0200
@@ -0,0 +1,4 @@
+---
+title: 'Flux CLI'
+weight: 65
+---
diff -ruN docs/components/helm/controller.md /home/daniel/dev/website/content/en/docs/components/helm/controller.md
--- docs/components/helm/controller.md 2021-02-23 15:51:02.403798514 +0100
In [5]: sum([r.stargazers_count for r in w.repos])
Out[5]: 12272
In [6]: [(r.name, r.stargazers_count) for r in w.repos]
Out[6]:
[('charts', 14),
('community', 16),
('flagger', 2743),
('flux', 6114),
('flux-get-started', 148),
flux2/docs on  main
❯ git shortlog -ns .
78 stefanprodan
76 Stefan Prodan
61 Hidde Beydals
41 Michael Bridgen
16 Philip Laine
10 Daniel Holbach
7 Aurel Canciu
6 Somtochi Onyekwere
flux/docs on  master via 🐍 v3.8.5 on ☁️ daniel@weave.works(europe-west1)
❯ git shortlog -ns 7117167861f7f9e2f58d091b5deb5dd29779fd40:.. .
37 Daniel Holbach
24 Hidde Beydals
21 Alfonso Acosta
16 stefanprodan
15 Michael Bridgen
5 Olivier Gerbron
5 Ryota
3 Alastair Smith
❯ diff -u flagger.html v1.html
```diff
--- flagger.html 2021-01-18 14:20:10.588200993 +0100
+++ v1.html 2021-02-24 14:24:02.840107590 +0100
@@ -1,8 +1,8 @@
-{{ $title := site.Params.flagger.title }}
-{{ $subtitle := site.Params.flagger.subtitle | markdownify }}
-{{ $img := printf "img/%s" site.Params.flagger.image | relURL }}
-{{ $buttons := site.Params.flagger.buttons }}
-<section id="flagger" class="container box has-background-success has-text-white p-6 my-6">