Add a simple graph attempting to show number of releases per month
This needs more work, but we've spent a huge amount of time on it and have
other things to work on yet.
--- a/Dockerfile Fri Nov 18 20:51:21 2022 -0600
+++ b/Dockerfile Sat Nov 19 00:00:52 2022 -0600
@@ -1,7 +1,7 @@
-FROM docker.io/python:3-alpine AS build
+FROM docker.io/python:3-slim AS build - python3 -m pip install mkdocs jinja2==3.0.3
+ python3 -m pip install mkdocs jinja2==3.0.3 mkdocs-matplotlib pandas --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/releases.md Sat Nov 19 00:00:52 2022 -0600
@@ -0,0 +1,206 @@
+ "2.14.10": "2022-06-02", + "2.14.9": "2022-04-28", + "2.14.8": "2021-10-14", + "2.14.7": "2021-09-16", + "2.14.6": "2021-07-08", + "2.14.5": "2021-06-03", + "2.14.4": "2021-04-29", + "2.14.3": "2021-04-08", + "2.14.2": "2021-04-01", + "2.14.1": "2020-11-06", + "2.14.0": "2020-10-06", + "2.13.0": "2018-03-08", + "2.12.0": "2017-03-09", + "2.11.0": "2016-06-21", + "2.10.12": "2015-12-31", + "2.10.11": "2014-11-23", + "2.10.10": "2014-10-22", + "2.10.9": "2014-02-02", + "2.10.8": "2014-01-28", + "2.10.7": "2013-02-13", + "2.10.6": "2012-07-06", + "2.10.5": "2012-07-05", + "2.10.4": "2012-05-06", + "2.10.3": "2012-03-26", + "2.10.2": "2012-03-14", + "2.10.1": "2011-12-06", + "2.10.0": "2011-08-18", + "2.7.11": "2011-03-10", + "2.7.10": "2011-02-06", + "0.82.1": "2004-08-27", + "0.59.9": "2003-03-01", + "0.59.8": "2003-01-06", + "0.59.7": "2002-12-21", + "0.59.6": "2002-11-07", + "0.59.5": "2002-10-14", + "0.59.4": "2002-10-06", + "0.59.3": "2002-09-14", + "0.59.2": "2002-09-09", + "0.59.1": "2002-08-25", + "0.11.0-pre15": "2001-08-28", + "0.11.0-pre14": "2001-06-17", + "0.11.0-pre13": "2001-06-06", + "0.11.0-pre12": "2001-05-29", + "0.11.0-pre11": "2001-04-30", + "0.11.0-pre10": "2001-04-13", + "0.11.0-pre9": "2001-03-26", + "0.11.0-pre8": "2001-03-23", + "0.11.0-pre7": "2001-03-16", + "0.11.0-pre6": "2001-03-06", + "0.11.0-pre5": "2001-02-26", + "0.11.0-pre4": "2000-12-23", + "0.11.0-pre3": "2000-12-15", + "0.11.0-pre2": "2000-12-04", + "0.11.0-pre1": "2000-12-03", + "0.10.3": "2000-10-09", + "0.10.2": "2000-10-07", + "0.10.1": "2000-09-15", + "0.10.0": "2000-09-11", + "0.9.20": "2000-07-14", + "0.9.19": "2000-06-09", + "0.9.18": "2000-06-02", + "0.9.17": "2000-05-31", + "0.9.16": "2000-05-31", + "0.9.15": "2000-05-06", + "0.9.14": "2000-04-24", + "0.9.13": "2000-03-27", + "0.9.12": "2000-03-25", + "0.9.11": "2000-03-22", + "0.9.10": "1999-11-03", +import matplotlib.pyplot as plt +import matplotlib.dates as mdates +fig, ax = plt.subplots() +df = pd.DataFrame.from_dict(data=releases, orient='index', columns=['date']) +df['date'] = pd.to_datetime(df.date) +years = df.groupby(df.date.dt.year) +for year, year_group in years: + months = year_group.groupby(df.date.dt.month) + ax.plot(months.count()) +ax.xaxis.set_ticks(range(13), + ['', 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', +ax.legend(axes, loc='upper left', ncols=2, bbox_to_anchor=(1,1)) +ax.set_ylabel('Number of releases') +ax.set_title('Release per month') --- a/mkdocs.yml Fri Nov 18 20:51:21 2022 -0600
+++ b/mkdocs.yml Sat Nov 19 00:00:52 2022 -0600
@@ -2,3 +2,5 @@
site_name: Pidgin History