From: spython01 at gmail.com (Samir Parikh)
Subject: Viewing Repository "About" Tab
Date: Thu, 17 Oct 2019 10:23:46 -0400 [thread overview]
Message-ID: <CAMj1aXWKcMbXzhV49otbBrKM-PFUUV=zXcstyYKN2E=H65hYJQ@mail.gmail.com> (raw)
What is the correct way to have cgit present the "about" tab for a
given repository (for example https://git.zx2c4.com/cgit/about/)?
I am running cgit version 1.2.1 on FreeBSD 12.0-RELEASE.
Below is a slightly modified version of my /usr/local/etc/cgitrc file.
I am able to output an "about" page for the entire site using
root-readme=/usr/home/username/repos/about
but I can't get the "about" tabs to show for individual repositories.
Within the repo itself, I do have a README.md file:
Mode Name Size
-rw-r--r-- .gitignore 93
-rw-r--r-- README.md 60
Thanks
Samir
/usr/local/etc/cgitrc:
css=/cgit.css
#logo=/cgit.png
logo=/favicon.png
# Add a cgit favicon
favicon=/favicon.png
robots=noindex, nofollow
virtual-root=/
root-title=CGIT
root-desc=description goes here
clone-url=git://git.example.com
enable-index-links=1
enable-log-filecount=1
enable-log-linecount=1
enable-commit-graph=1
enable-remote-branches=1
snapshots=tar.gz tar.bz
max-stats=quarter
#root-readme=/usr/local/www/cgit/about.htm
root-readme=/usr/home/username/repos/about
scan-path=/usr/home/username/repos
# Show owner on index page
enable-index-owner=0
##
## Search for these files in the root of the default branch of repositories
## for coming up with the about page:
##
readme=:README.md
readme=:readme.md
readme=:README.mkd
readme=:readme.mkd
readme=:README.rst
readme=:readme.rst
readme=:README.html
readme=:readme.html
readme=:README.htm
readme=:readme.htm
readme=:README.txt
readme=:readme.txt
readme=:README
readme=:readme
readme=:INSTALL.md
readme=:install.md
readme=:INSTALL.mkd
readme=:install.mkd
readme=:INSTALL.rst
readme=:install.rst
readme=:INSTALL.html
readme=:install.html
readme=:INSTALL.htm
readme=:install.htm
readme=:INSTALL.txt
readme=:install.txt
readme=:INSTALL
readme=:install
next reply other threads:[~2019-10-17 14:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-17 14:23 spython01 [this message]
2019-10-19 12:41 ` daniel
2019-10-19 17:08 ` spython01
2019-10-19 18:42 ` daniel
2019-10-21 0:51 ` spython01
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='CAMj1aXWKcMbXzhV49otbBrKM-PFUUV=zXcstyYKN2E=H65hYJQ@mail.gmail.com' \
--to=cgit@lists.zx2c4.com \
/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;
as well as URLs for NNTP newsgroup(s).