Mirror of the Rel4tion website/wiki source, view at <http://rel4tion.org>

[[ 🗃 ^yEzqv rel4tion-wiki ]] :: [📥 Inbox] [📤 Outbox] [🐤 Followers] [🤝 Collaborators] [🛠 Commits]

Clone

HTTPS: git clone https://vervis.peers.community/repos/yEzqv

SSH: git clone USERNAME@vervis.peers.community:yEzqv

Branches

Tags

master :: maint /

old.mdwn

Use this as basis: https://wiki.gnome.org/MaintainersCorner/

inside .ikiwiki

[[!iki tips/inside_dot_ikiwiki]]

project page, doxy pages and readme generation

Useful things, even for maintainers in general:

Example for page of GNU project:

The idea is as follows.

To make it easy to keep the order in FTP, there will be 4 main directories which will map to wiki pages and fill the following purposes:

Since these are generated and not manually made, it may be a good idea to put them in a separate underlay, maybe not in the FTP server. Currently they have a separate underlay, /home/ikiwiki/generated.

readme

My first idea was to inline the package READMEs into the website. But there is a major weakness: Nothing in them generated automatically. Each package will have its own README in version control, even if they have many common parts. After realizing I can generate the common parts, I had a new idea: Have a readme page on the wiki, possibly using templates for the common parts. The package README will simply be generated from it.

That, of course, is a problem too - people should always have a full README in the package. Would it be copied manually or automatically? How to avoid cluttering the git log with minor README type fix commits?

Then I checked GNU’s ones and I realized the thing is that they are separate files. The content is not copied around or generated. Each maintainer simply knows they need to update both the README and the project page.

Therefore, by default, this must work: Manually written separate files. When each package has its own maintainer, it’s reasonable effort. On the other hand, I’m working alone right now and many new packages will come, so saving work by automating things may be a good idea.

Another option is to have SOME readme sections in git, and the rest generated when building.

The general direction should probably be having an option to save work by:

  1. Having template-generated parts in the project page
  2. Having README-extracted parts in the project page
  3. Having a template for a new project, including README
  4. Having build-generated parts in README

Let’s examine autoconf and sif, and compare.

autoconf readme

autoconf page

sif readme

some drafts from sif wikipage

This is supposed to be the webpage of Sif. It’s supposed to have:

  1. An HTML rendering of (parts) of README
  2. An HTML rendering of the API reference, along with the tutorial etc.
  3. Development/other info and plans

The parts from README will probably be right at the address of this page, but not necessarily by putting the README in underlay - it will be in underlay as a subpage, and will be [[ikiwiki/directive/inline]]d here.

The 2 first kinds will be made with a script and written into the website:

Note that the API reference will need to be there at the same time for all releases, and there will need to be symlinks like “stable” and “latest”. The main page for each reference will contain a list of the available versions present. It can either be done using ikiwiki manually by adding links to the source with a script and manually git-pushing the result, or the final HTML can be generated externally, separate from the wiki source and automated: e.g. detect versions by looking at folder contents instead of a manually managed list.

I could use ikiwiki template pages for that, to help automate and generalize.

[See repo JSON]