From d3021f644f49bf7b3cf4f9f65f93eec281a7e5c8 Mon Sep 17 00:00:00 2001
From: Stephen Finucane
Date: Tue, 2 Jun 2020 11:47:27 +0100
Subject: [PATCH] docs: Add contributing document
This completes the migration from the CONTRIBUTING document to the new
in-tree contributing guide. The CONTRIBUTING document itself is
temporarily removed so that git will correctly mark the document as
having been moved. A future change will re-add this document as well as
rework the new contributing document.
Signed-off-by: Stephen Finucane
---
README.rst | 6 +++---
doc/_templates/index.html | 8 ++++----
doc/contents.rst | 1 -
doc/develop.rst | 3 ++-
doc/devguide.rst | 1 -
CONTRIBUTING.rst => doc/internals/contributing.rst | 0
doc/internals/index.rst | 1 +
7 files changed, 10 insertions(+), 10 deletions(-)
delete mode 100644 doc/devguide.rst
rename CONTRIBUTING.rst => doc/internals/contributing.rst (100%)
diff --git a/README.rst b/README.rst
index 68065ac85..b99b79702 100644
--- a/README.rst
+++ b/README.rst
@@ -76,7 +76,7 @@ If you wish to install `Sphinx` for development purposes, refer to `the
contributors guide`__.
__ https://pypi.org/project/Sphinx/
-__ http://www.sphinx-doc.org/en/master/devguide.html
+__ http://www.sphinx-doc.org/en/master/internals/contributing.html
Documentation
=============
@@ -110,14 +110,14 @@ For information on running tests locally, refer to `the contributors guide`__.
__ https://travis-ci.org/sphinx-doc/sphinx
__ https://ci.appveyor.com/project/sphinxdoc/sphinx
__ https://circleci.com/gh/sphinx-doc/sphinx
-__ http://www.sphinx-doc.org/en/master/devguide.html
+__ http://www.sphinx-doc.org/en/master/internals/contributing.html
Contributing
============
Refer to `the contributors guide`__.
-__ http://www.sphinx-doc.org/en/master/devguide.html
+__ http://www.sphinx-doc.org/en/master/internals/contributing.html
Release signatures
==================
diff --git a/doc/_templates/index.html b/doc/_templates/index.html
index 4290c9d22..5e588acc4 100644
--- a/doc/_templates/index.html
+++ b/doc/_templates/index.html
@@ -116,12 +116,12 @@
this part of the documentation is for you.{%endtrans%}
- {%trans%}Code of Conduct{%endtrans%}
+ {%trans%}Code of Conduct{%endtrans%}
- {%trans path=pathto("code_of_conduct")%}Please adhere to our Code of Conduct.{%endtrans%}
+ {%trans path=pathto("code_of_conduct")%}Please adhere to our Code of Conduct.{%endtrans%}
{% endblock %}
diff --git a/doc/contents.rst b/doc/contents.rst
index 1f82fa8d6..17a3d4b54 100644
--- a/doc/contents.rst
+++ b/doc/contents.rst
@@ -19,7 +19,6 @@ Sphinx documentation contents
faq
glossary
- devguide
changes
examples
diff --git a/doc/develop.rst b/doc/develop.rst
index d4b9a0e5d..080251ba6 100644
--- a/doc/develop.rst
+++ b/doc/develop.rst
@@ -14,7 +14,8 @@ Sphinx is a maintained by a group of volunteers. We value every contribution!
* There is also the #sphinx-doc IRC channel on `freenode
`_.
-For more about our development process and methods, see the :doc:`devguide`.
+For more about our development process and methods, refer to
+:doc:`/internals/index`.
Extensions
==========
diff --git a/doc/devguide.rst b/doc/devguide.rst
deleted file mode 100644
index e582053ea..000000000
--- a/doc/devguide.rst
+++ /dev/null
@@ -1 +0,0 @@
-.. include:: ../CONTRIBUTING.rst
diff --git a/CONTRIBUTING.rst b/doc/internals/contributing.rst
similarity index 100%
rename from CONTRIBUTING.rst
rename to doc/internals/contributing.rst
diff --git a/doc/internals/index.rst b/doc/internals/index.rst
index 644fa7774..6a62a96be 100644
--- a/doc/internals/index.rst
+++ b/doc/internals/index.rst
@@ -9,6 +9,7 @@ how to contribute to the project.
.. toctree::
:maxdepth: 2
+ contributing
release-process
organization
code-of-conduct