You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pouchdb.apache.org by ja...@apache.org on 2026/06/03 14:17:05 UTC
(pouchdb) 01/12: fix: remove gravatar, host avatars in repo, and allow authors without avatar images
This is an automated email from the ASF dual-hosted git repository.
janl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pouchdb.git
commit 4b3ada68211c1daf5d31f990a4af7b035b7634a6
Author: Alex Feyerke <al...@neighbourhood.ie>
AuthorDate: Tue May 12 14:30:11 2026 +0200
fix: remove gravatar, host avatars in repo, and allow authors without avatar images
---
CONTRIBUTING.md | 2 +-
docs/_data/authors.json | 19 +++++++++----------
docs/_includes/post_details.html | 10 ++++------
docs/static/img/authors/alba_herreiras.png | Bin 0 -> 14707 bytes
docs/static/img/authors/calvin_metcalf.jpeg | Bin 0 -> 4160 bytes
docs/static/img/authors/dale_harvey.jpeg | Bin 0 -> 3753 bytes
docs/static/img/authors/gareth_bowen.png | Bin 0 -> 13317 bytes
docs/static/img/authors/garren_smith.png | Bin 0 -> 13270 bytes
docs/static/img/authors/giovanni_ornaghi.jpeg | Bin 0 -> 3398 bytes
docs/static/img/authors/nick_colley.jpeg | Bin 0 -> 4025 bytes
docs/static/img/authors/nolan_lawson.png | Bin 0 -> 11128 bytes
11 files changed, 14 insertions(+), 17 deletions(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index ff498ecd5..5ffe5fead 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -117,7 +117,7 @@ Writing a blog post for PouchDB is exactly the same process as other contributio
### Steps
1. Open up an issue proposing the blog post if you need help getting ideas or structuring it.
-2. Add yourself as an author to https://github.com/pouchdb/pouchdb/blob/master/docs/_data/authors.yml. (Make sure you have a [Gravatar](http://en.gravatar.com/) too.)
+2. Add yourself as an author to https://github.com/pouchdb/pouchdb/blob/master/docs/_data/authors.yml, and optionally add an image of yourself in `/docs/static/img/authors`, check the existing files there for guidance on size and format.
3. Add a new blog post with the date that you expect it will be published (we can always change it later).
4. Write something!
5. Run `npm run build-site` and you will always have a fresh version of the site at localhost:4000. You may need to Cmd-Shift-R or Ctrl-Shift-R (hard refresh) to see the latest version, since we use AppCache.
diff --git a/docs/_data/authors.json b/docs/_data/authors.json
index af09e0a5c..192e5c8f5 100644
--- a/docs/_data/authors.json
+++ b/docs/_data/authors.json
@@ -4,62 +4,61 @@
"twitter": "nickcolley",
"github": "nickcolley",
"www": "http://nickcolley.co.uk",
- "gravatar": "d83613912d1a2511a784b99c703bdcf6"
+ "avatar": "nick_colley.jpeg"
},
{
"name": "Nolan Lawson",
"twitter": "nolanlawson",
"github": "nolanlawson",
"www": "http://nolanlawson.com",
- "gravatar": "c436dec61b906e27c963518d0ef1d972"
+ "avatar": "nolan_lawson.png"
},
{
"name": "Dale Harvey",
"twitter": "daleharvey",
"github": "daleharvey",
"www": "http://arandomurl.com",
- "gravatar": "030451d8cfc268d666bae9a7fe8d10ec"
+ "avatar": "dale_harvey.jpeg"
},
{
"name": "Calvin Metcalf",
"twitter": "CWMma",
"github": "calvinmetcalf",
"www": "http://calvinmetcalf.com/",
- "gravatar": "e8153037a068f1c32e546f82729a64a5"
+ "avatar": "calvin_metcalf.jpeg"
},
{
"name": "Giovanni Ornaghi",
"twitter": "sphaso",
"github": "sphaso",
"www": "https://it.linkedin.com/in/giovanniornaghi",
- "gravatar": "da853b1ad9ebe5e1c3ab5b340bb63b70"
+ "avatar": "giovanni_ornaghi.jpeg"
},
{
"name": "Garren Smith",
"twitter": "garrensmith",
"github": "garrensmith",
"www": "http://www.redcometlabs.com",
- "gravatar": "15fb22e15587c7c36e0aeb5bf3579b07"
+ "avatar": "garren_smith.png"
},
{
"name": "Will Holley",
"twitter": "wilhol",
"github": "willholley",
- "www": "https://github.com/willholley/",
- "gravatar": "059d287498c864868b910fb0db7c469b"
+ "www": "https://github.com/willholley/"
},
{
"name": "Gareth Bowen",
"twitter": "garethjtbowen",
"github": "garethbowen",
"www": "https://bowenwebdesign.co.nz",
- "gravatar": "eda4874d50a06c7a6b231ba3dd29c7c0"
+ "avatar": "gareth_bowen.png"
},
{
"name": "Alba HerrerĂas",
"twitter": "alba_dev",
"github": "AlbaHerrerias",
"www": "https://www.albaherrerias.dev",
- "gravatar": "da81e745b26ae8ca53fc77538599510f"
+ "avatar": "alba_herreiras.png"
}
]
diff --git a/docs/_includes/post_details.html b/docs/_includes/post_details.html
index 6704691e2..82391862a 100644
--- a/docs/_includes/post_details.html
+++ b/docs/_includes/post_details.html
@@ -8,15 +8,15 @@
{% endif %}
{% assign post_author = author %}
-{% assign post_gravatar = '' %}
+{% assign avatar = '' %}
{% for a in authors %}
{% if a.name == author %}
{% if a.twitter %}
{% capture post_author %}<a href="https://twitter.com/{{a.twitter}}">{{ author }}</a>{% endcapture %}
{% endif %}
- {% if a.gravatar %}
- {% capture post_gravatar %}https://gravatar.com/avatar/{{ a.gravatar }}{% endcapture %}
+ {% if a.avatar %}
+ {% capture avatar %}<img class="pull-left media-object img-circle img-responsive" src='/static/img/authors/{{ a.avatar }}' alt='{{ author }}'>{% endcapture %}
{% endif %}
{% endif %}
{% endfor %}
@@ -27,9 +27,7 @@
<div class="post">
<div class="media">
- <a class="pull-left" href="#">
- <img class="media-object img-circle img-responsive" src='{{ post_gravatar }}' alt='{{ author }}'>
- </a>
+ {{ avatar }}
<div class="media-body">
<p>
<strong>By:</strong> {{ post_author }}<br>
diff --git a/docs/static/img/authors/alba_herreiras.png b/docs/static/img/authors/alba_herreiras.png
new file mode 100644
index 000000000..c793ff80c
Binary files /dev/null and b/docs/static/img/authors/alba_herreiras.png differ
diff --git a/docs/static/img/authors/calvin_metcalf.jpeg b/docs/static/img/authors/calvin_metcalf.jpeg
new file mode 100644
index 000000000..911bbc7f4
Binary files /dev/null and b/docs/static/img/authors/calvin_metcalf.jpeg differ
diff --git a/docs/static/img/authors/dale_harvey.jpeg b/docs/static/img/authors/dale_harvey.jpeg
new file mode 100644
index 000000000..6f31bd92d
Binary files /dev/null and b/docs/static/img/authors/dale_harvey.jpeg differ
diff --git a/docs/static/img/authors/gareth_bowen.png b/docs/static/img/authors/gareth_bowen.png
new file mode 100644
index 000000000..96814ff22
Binary files /dev/null and b/docs/static/img/authors/gareth_bowen.png differ
diff --git a/docs/static/img/authors/garren_smith.png b/docs/static/img/authors/garren_smith.png
new file mode 100644
index 000000000..53cf1ee3f
Binary files /dev/null and b/docs/static/img/authors/garren_smith.png differ
diff --git a/docs/static/img/authors/giovanni_ornaghi.jpeg b/docs/static/img/authors/giovanni_ornaghi.jpeg
new file mode 100644
index 000000000..421800d61
Binary files /dev/null and b/docs/static/img/authors/giovanni_ornaghi.jpeg differ
diff --git a/docs/static/img/authors/nick_colley.jpeg b/docs/static/img/authors/nick_colley.jpeg
new file mode 100644
index 000000000..2514aa55a
Binary files /dev/null and b/docs/static/img/authors/nick_colley.jpeg differ
diff --git a/docs/static/img/authors/nolan_lawson.png b/docs/static/img/authors/nolan_lawson.png
new file mode 100644
index 000000000..0d2b9a2c1
Binary files /dev/null and b/docs/static/img/authors/nolan_lawson.png differ