From 9ac615b8b62949962c4e7dd969c0d9cdc57ea52e Mon Sep 17 00:00:00 2001
From: dcarron <daniel.carron@idiap.ch>
Date: Tue, 23 Jan 2024 15:10:21 +0100
Subject: [PATCH] [doc] Add documentation on external contributions

---
 doc/contribute.rst | 23 +++++++++++++++++++++++
 doc/index.rst      |  1 +
 doc/links.rst      |  5 ++++-
 3 files changed, 28 insertions(+), 1 deletion(-)
 create mode 100644 doc/contribute.rst

diff --git a/doc/contribute.rst b/doc/contribute.rst
new file mode 100644
index 00000000..0c25cfa8
--- /dev/null
+++ b/doc/contribute.rst
@@ -0,0 +1,23 @@
+.. Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
+..
+.. SPDX-License-Identifier: GPL-3.0-or-later
+
+.. _mednet.contribute:
+
+===================================
+ Getting Involved and Contributing
+===================================
+
+We will happily accept external contributions, but substantial contributions
+require a signed Contributor or `Copyright License Agreement <cla_>`_ (CLA).
+Our CLA, based on `Project Harmony`_, leaves copyright with you (the
+contributor), but allows us to relicense the code, with a restriction based on
+the license the contribution was made under.
+
+Contact our `Technology Transfer Officer <tto_>`_ to get a copy of the CLA_ for
+this project.  If you work for a company and your contributions are tied to
+your job, ensure you have the legal right to sign this CLA, or refer to the
+responsible person during your e-mail exchange with our TTO_.
+
+
+.. include:: links.rst
diff --git a/doc/index.rst b/doc/index.rst
index fdf8b6d0..8e7bdde5 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -57,6 +57,7 @@ User Guide
    cli
    config
    api
+   contribute
 
 
 Indices and tables
diff --git a/doc/links.rst b/doc/links.rst
index f4ba3310..a692f286 100644
--- a/doc/links.rst
+++ b/doc/links.rst
@@ -5,8 +5,11 @@
 .. place re-used URLs here, then include this file
 .. on your other RST sources.
 
-.. _conda: https://conda.io
 .. _idiap: http://www.idiap.ch
+.. _cla: https://en.wikipedia.org/wiki/Contributor_License_Agreement
+.. _project harmony: http://www.harmonyagreements.org/
+.. _tto: mailto:tto@idiap.ch
+.. _conda: https://conda.io
 .. _python: http://www.python.org
 .. _pip: https://pip.pypa.io/en/stable/
 .. _mamba: https://mamba.readthedocs.io/en/latest/index.html
-- 
GitLab