From 5b46e895a557b302c1fa78af7410e52aca518a42 Mon Sep 17 00:00:00 2001
From: James McKinney <26463+jpmckinney@users.noreply.github.com>
Date: Fri, 15 Mar 2024 16:08:50 -0600
Subject: [PATCH] Add license page, closes #107
---
docs/general/index.rst | 3 ++-
docs/general/license.rst | 20 ++++++++++++++++++++
docs/javascript/index.rst | 11 +++++++++--
docs/python/index.rst | 11 +++++++++++
docs/rust/index.rst | 7 +++++++
5 files changed, 49 insertions(+), 3 deletions(-)
create mode 100644 docs/general/license.rst
diff --git a/docs/general/index.rst b/docs/general/index.rst
index 67344f7..49a2a5b 100644
--- a/docs/general/index.rst
+++ b/docs/general/index.rst
@@ -3,8 +3,9 @@ General
.. toctree::
+ license
documentation
preferences
code
- api
architecture
+ api
diff --git a/docs/general/license.rst b/docs/general/license.rst
new file mode 100644
index 0000000..9b4c32c
--- /dev/null
+++ b/docs/general/license.rst
@@ -0,0 +1,20 @@
+License
+=======
+
+.. list-table::
+ :header-rows: 1
+
+ * - Language
+ - License
+ * - Ruby
+ - `MIT `__
+ * - Standards
+ - `Apache 2.0 `__
+ * - Text
+ - `Creative Commons Attribution 4.0 International `__
+
+.. seealso::
+
+ - :ref:`javascript-license`
+ - :ref:`python-license`
+ - :ref:`rust-license`
diff --git a/docs/javascript/index.rst b/docs/javascript/index.rst
index 54cd61c..1c3d6f8 100644
--- a/docs/javascript/index.rst
+++ b/docs/javascript/index.rst
@@ -1,10 +1,17 @@
-JavaScript
-==========
+JavaScript and TypeScript
+=========================
.. note::
Don't use `CoffeeScript `__. Unless the repository is a fork, use `Decaffeinate `__ to convert CoffeeScript to ECMAScript.
+.. _javascript-license:
+
+License
+-------
+
+Use the `MIT license `__.
+
Version
-------
diff --git a/docs/python/index.rst b/docs/python/index.rst
index 214695d..2baf371 100644
--- a/docs/python/index.rst
+++ b/docs/python/index.rst
@@ -1,11 +1,22 @@
Python
======
+.. _python-license:
+
+License
+-------
+
+Use the `BSD 3-clause license `__.
+
+Version
+-------
+
Applications are written for the latest stable Python version. Packages are written for non-end-of-life versions (`see the status of Python branches `__).
Applications are upgraded to, at minimum, the Python version in the `latest Ubuntu LTS version `__ (search for the "python3" package within the LTS suite).
.. toctree::
+ :caption: Contents
:maxdepth: 2
layout
diff --git a/docs/rust/index.rst b/docs/rust/index.rst
index 3c737ec..7579975 100644
--- a/docs/rust/index.rst
+++ b/docs/rust/index.rst
@@ -1,6 +1,13 @@
Rust
====
+.. _rust-license:
+
+License
+-------
+
+Use the `MIT license `__.
+
Development
-----------