List for cgit developers and users
 help / color / mirror / Atom feed
* [PATCH 0/2] wiki: update some links and fix some formatting
@ 2022-02-16  6:07 Todd Zullinger
  2022-02-16  6:07 ` [PATCH 1/2] update Fedora & OS X package links, add OpenBSD Todd Zullinger
  2022-02-16  6:07 ` [PATCH 2/2] index: avoid formatting issue in git clone instructions Todd Zullinger
  0 siblings, 2 replies; 3+ messages in thread
From: Todd Zullinger @ 2022-02-16  6:07 UTC (permalink / raw)
  To: cgit

Hi,

I noticed a few of the URLs on the about page had grown stale.  While I was
looking at the page, I noticed the git clone command didn't appear to be
indented as intended.

Trivial fixes for both follow.

Todd Zullinger (2):
  update Fedora & OS X package links, add OpenBSD
  index: avoid formatting issue in git clone instructions

 index | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

-- 
2.35.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] update Fedora & OS X package links, add OpenBSD
  2022-02-16  6:07 [PATCH 0/2] wiki: update some links and fix some formatting Todd Zullinger
@ 2022-02-16  6:07 ` Todd Zullinger
  2022-02-16  6:07 ` [PATCH 2/2] index: avoid formatting issue in git clone instructions Todd Zullinger
  1 sibling, 0 replies; 3+ messages in thread
From: Todd Zullinger @ 2022-02-16  6:07 UTC (permalink / raw)
  To: cgit

Use the current URL's for the Fedora and OS X (Mac Ports) packages.  Add
a link to the OpenBSD ports tree.

Expand the Fedora link to mention EPEL, which covers Alma Linux and
Rocky Linux as well as RHEL and CentOS.  This may help folks find us
better if they're using a RHEL-8 rebuild like Alma or Rocky, now that
CentOS Linux 8 is EOL.

Signed-off-by: Todd Zullinger <tmz@pobox.com>
---
 index | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/index b/index
index 8ff5fce..048ab05 100644
--- a/index
+++ b/index
@@ -46,16 +46,18 @@ Packages
 --------
  * [Arch Linux][archlinux]
  * [Gentoo][gentoo]
- * [Fedora/RHEL/CentOS][fedora]
+ * [Fedora/EPEL (RHEL/Alma/CentOS/Rocky)][fedora]
  * [OS X][macports]
  * [OpenSUSE][OpenSUSE]
  * [NetBSD][pkgsrc]
  * [FreeBSD][freshports]
+ * [OpenBSD][openbsd]
 
 [archlinux]:    https://www.archlinux.org/packages/?name=cgit
-[fedora]:       https://apps.fedoraproject.org/packages/cgit
+[fedora]:       https://packages.fedoraproject.org/pkgs/cgit/cgit/
 [gentoo]:       https://packages.gentoo.org/packages/www-apps/cgit
-[macports]:     https://trac.macports.org/browser/trunk/dports/www/cgit
+[macports]:     https://ports.macports.org/port/cgit/
 [opensuse]:     https://software.opensuse.org/package/cgit
 [pkgsrc]:       http://pkgsrc.se/www/cgit
 [freshports]:   https://www.freshports.org/devel/cgit/
+[openbsd]:      https://cvsweb.openbsd.org/ports/www/cgit/
-- 
2.35.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] index: avoid formatting issue in git clone instructions
  2022-02-16  6:07 [PATCH 0/2] wiki: update some links and fix some formatting Todd Zullinger
  2022-02-16  6:07 ` [PATCH 1/2] update Fedora & OS X package links, add OpenBSD Todd Zullinger
@ 2022-02-16  6:07 ` Todd Zullinger
  1 sibling, 0 replies; 3+ messages in thread
From: Todd Zullinger @ 2022-02-16  6:07 UTC (permalink / raw)
  To: cgit

The bulleted list which includes instructions for cloning cgit are
intended to be formatted as:

    * clone the repo:
      * git clone https://git.zx2c4.com/cgit

with the git clone command being a nested list.  This does not work with
markdown-python and instead is rendered as two separate bullet points.

According to upstream¹:

    Python-Markdown consistently requires 4 spaces of indent per level
    or it ignores the indent

While we could adjust the indent level, it seems cleaner to simply
remove the nested list item for the git clone command and format it as
code.

¹ https://github.com/Python-Markdown/markdown/issues/125#issuecomment-7210925

Signed-off-by: Todd Zullinger <tmz@pobox.com>
---
 index | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/index b/index
index 048ab05..2570c42 100644
--- a/index
+++ b/index
@@ -35,8 +35,7 @@ Features
 Source Code
 -----------
  * download current or past [releases][]
- * clone the repo:
-   * git clone https://git.zx2c4.com/cgit
+ * clone the repo: `git clone https://git.zx2c4.com/cgit`
  * see the [README][] for build instructions
 
 [releases]: /cgit/refs/tags
-- 
2.35.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-16  6:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-16  6:07 [PATCH 0/2] wiki: update some links and fix some formatting Todd Zullinger
2022-02-16  6:07 ` [PATCH 1/2] update Fedora & OS X package links, add OpenBSD Todd Zullinger
2022-02-16  6:07 ` [PATCH 2/2] index: avoid formatting issue in git clone instructions Todd Zullinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).