From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/policy-guide:master commit in: /
Date: Sat, 14 Jan 2023 18:46:02 +0000 (UTC) [thread overview]
Message-ID: <1673721901.23ddd2ec2b5d5066e3a049e7b13f73f3cce2afdf.sam@gentoo> (raw)
commit: 23ddd2ec2b5d5066e3a049e7b13f73f3cce2afdf
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 21 17:09:33 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 14 18:45:01 2023 +0000
URL: https://gitweb.gentoo.org/proj/policy-guide.git/commit/?id=23ddd2ec
Add a section on editing and publishing
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Closes: https://github.com/gentoo/policy-guide/pull/10
Signed-off-by: Sam James <sam <AT> gentoo.org>
editing.rst | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
index.rst | 1 +
2 files changed, 87 insertions(+)
diff --git a/editing.rst b/editing.rst
new file mode 100644
index 0000000..a12ff0b
--- /dev/null
+++ b/editing.rst
@@ -0,0 +1,86 @@
+Editing and publishing updates to this Guide
+============================================
+
+Formatting and style
+--------------------
+While editing the Guide, please respect the existing formatting rules.
+Notably:
+
+- wrap lines at 72 characters
+- two spaces between sentences (after full stop), one space otherwise
+- one empty line between titles and paragraphs, two empty lines between
+ text and next section
+- indent using spaces, aligning to previous line
+
+When adding a new rule, use the chapter with a fitting topic. Some
+rules match multiple chapters, choose the one that fits it best. Make
+sure to match existing keywords in index.
+
+
+Getting sources
+---------------
+The reference repository is hosted at git.gentoo.org, and available
+via `proj/policy-guide.git gitweb`_. To clone it::
+
+ # via https
+ git clone https://anongit.gentoo.org/git/proj/policy-guide.git
+ # via ssh
+ git clone git@git.gentoo.org:proj/policy-guide.git
+
+Non-developers wishing to send pull requests may prefer to fork
+the GitHub `gentoo/policy-guide repository`_ and clone their own fork
+instead.
+
+
+Building
+--------
+A tox-file is provided to build the Guide in a virtualenv, installing
+all necessary dependencies. To build the HTML version, run::
+
+ tox
+
+Another format (as well as other make arguments) can be specified
+as a command-line argument, e.g.::
+
+ tox latexpdf
+
+
+Sending contributions
+---------------------
+Changes to this document can be either submitted to `Policy Manual
+Gentoo Bugzilla component`_ as git-format patches attached to the bugs,
+or to `gentoo/policy-guide repository`_ as pull requests.
+
+
+Merging pull requests
+---------------------
+The recommended way to merge pull requests is to use
+``app-portage/pram``. To configure the remote before the first use,
+run the following command in your checkout::
+
+ git config --replace-all pram.repo gentoo/policy-guide
+
+Afterwards, call the tool to merge pull request by number::
+
+ pram N
+
+
+Publishing
+----------
+The built version of Policy Guide is currently published via a git
+repository. The recommended method is to clone the repository
+into ``_build/html`` in order to make Sphinx output into the checkout::
+
+ rm -r _build/html
+ git clone git@git.gentoo.org:sites/projects/qa/policy-guide.git \
+ _build/html
+
+Commit and push all the changes after rebuilding the Guide.
+
+
+.. _proj/policy-guide.git gitweb:
+ https://gitweb.gentoo.org/proj/policy-guide.git/
+.. _gentoo/policy-guide repository:
+ https://github.com/gentoo/policy-guide
+.. _Policy Manual Gentoo Bugzilla component:
+ https://bugs.gentoo.org/enter_bug.cgi?product=Documentation&component=Policy+Guide
diff --git a/index.rst b/index.rst
index b3bcddc..1978cc8 100644
--- a/index.rst
+++ b/index.rst
@@ -17,6 +17,7 @@ in which the policy can be updated.
motivation
basics
other-docs
+ editing
*
next reply other threads:[~2023-01-14 18:46 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-14 18:46 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-07-13 4:07 [gentoo-commits] proj/policy-guide:master commit in: / Sam James
2025-07-13 4:07 Sam James
2024-05-18 12:59 Ulrich Müller
2023-09-01 10:31 Michał Górny
2023-08-17 21:46 Ulrich Müller
2023-08-17 20:56 Ulrich Müller
2023-01-18 17:28 Ulrich Müller
2023-01-14 18:46 Sam James
2023-01-14 18:46 Sam James
2023-01-14 18:46 Sam James
2023-01-14 18:34 Ulrich Müller
2023-01-14 17:31 Ulrich Müller
2023-01-14 16:45 Ulrich Müller
2023-01-14 16:45 Ulrich Müller
2023-01-14 16:45 Ulrich Müller
2022-04-29 11:15 Ulrich Müller
2022-04-24 8:20 Ulrich Müller
2021-11-15 13:10 Ulrich Müller
2021-11-15 4:19 Sam James
2021-08-15 6:31 Michał Górny
2021-01-26 18:48 Ulrich Müller
2021-01-26 18:43 Ulrich Müller
2020-11-06 22:24 Michał Górny
2020-09-13 7:00 Michał Górny
2020-03-05 7:59 Michał Górny
2020-03-02 5:22 Michał Górny
2020-02-25 15:16 Michał Górny
2020-02-21 11:07 Michał Górny
2020-02-21 11:07 Michał Górny
2020-01-26 4:46 Michał Górny
2020-01-22 3:33 Michał Górny
2020-01-22 3:33 Michał Górny
2020-01-22 3:33 Michał Górny
2020-01-21 16:49 Michał Górny
2020-01-21 16:46 Michał Górny
2020-01-19 20:10 Michał Górny
2020-01-19 20:10 Michał Górny
2020-01-19 10:52 Michał Górny
2020-01-19 10:52 Michał Górny
2020-01-19 10:52 Michał Górny
2020-01-13 19:33 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1673721901.23ddd2ec2b5d5066e3a049e7b13f73f3cce2afdf.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox