archmanweb issueshttps://gitlab.archlinux.org/archlinux/archmanweb/-/issues2024-03-02T12:57:22Zhttps://gitlab.archlinux.org/archlinux/archmanweb/-/issues/45--opt=[x]NUM syntax breaks rendering of the first bracket2024-03-02T12:57:22ZMartin Rys--opt=[x]NUM syntax breaks rendering of the first bracketThis shows fine:
`-f, --follow[={name|descriptor}]`
This shows as *[*\+]:
`-n, --lines=[+]NUM`
Can be seen on https://man.archlinux.org/man/tail.1.en#cThis shows fine:
`-f, --follow[={name|descriptor}]`
This shows as *[*\+]:
`-n, --lines=[+]NUM`
Can be seen on https://man.archlinux.org/man/tail.1.en#chttps://gitlab.archlinux.org/archlinux/archmanweb/-/issues/16Full-text (or "apropos-like") search2024-03-02T12:42:32ZSven-Hendrik Haasesvenstaro@archlinux.orgFull-text (or "apropos-like") search*Created by: lahwaacz*
PostgreSQL has quite effective indexes for full-text search. They are also available in Django: https://docs.djangoproject.com/en/3.1/ref/contrib/postgres/search/
But indexing full man pages would be probably sti...*Created by: lahwaacz*
PostgreSQL has quite effective indexes for full-text search. They are also available in Django: https://docs.djangoproject.com/en/3.1/ref/contrib/postgres/search/
But indexing full man pages would be probably still very slow. Instead we can extract a short description from each man page (the content of the `NAME` section - that's what [makewhatis(8)](https://mandoc.bsd.lv/man/makewhatis.8.html) does) for faster indexing.https://gitlab.archlinux.org/archlinux/archmanweb/-/issues/43[Enhancement] Add "source" link to man source file (like manned.org)2024-03-02T12:40:43ZSebastian Carlos[Enhancement] Add "source" link to man source file (like manned.org)Would it be possible to add a "source" link that, when clicked, redirects to an URL that displays (or downloads) the raw source man file (in troff format)?
This is done by [manned.org](https://manned.org/). For example, the https://mann...Would it be possible to add a "source" link that, when clicked, redirects to an URL that displays (or downloads) the raw source man file (in troff format)?
This is done by [manned.org](https://manned.org/). For example, the https://manned.org/ls.1 page has a "SOURCE" link on the header that goes to https://manned.org/raw/ls.1
This feature is also on the [Debian Online Man pages](https://manpages.debian.org/bullseye/coreutils/ls.1.en.html). If you are on [bullseye/coreutils/ls.1.en.html](https://manpages.debian.org/bullseye/coreutils/ls.1.en.html), the link called "raw man page" takes you to [bullseye/coreutils/ls.1.en.gz](https://manpages.debian.org/bullseye/coreutils/ls.1.en.gz)
On [Ubuntu](https://manpages.ubuntu.com/manpages/kinetic/en/man1/ls.1.html) it's just a download link with the raw file name.https://gitlab.archlinux.org/archlinux/archmanweb/-/issues/41Extra newlines in codeblocks2024-03-02T12:16:57ZHarold ChengExtra newlines in codeblockse.g. in [fcntl.2](https://man.archlinux.org/man/fcntl.2.en#Advisory_record_locking), the codeblock looks like this:
![image](/uploads/fee834fbe8e928c99a48435f84af4611/image.png)
There are clearly extra blank lines between the code lines.e.g. in [fcntl.2](https://man.archlinux.org/man/fcntl.2.en#Advisory_record_locking), the codeblock looks like this:
![image](/uploads/fee834fbe8e928c99a48435f84af4611/image.png)
There are clearly extra blank lines between the code lines.https://gitlab.archlinux.org/archlinux/archmanweb/-/issues/42mandoc v.s. man-db?2023-03-24T07:11:26ZFranklin Yumandoc v.s. man-db?`man-db` seems more popular among the Linux community. Was the choice of `mandoc` an explicit decision, or was it simply a random choice? Does the Arch community prefer one over the other?`man-db` seems more popular among the Linux community. Was the choice of `mandoc` an explicit decision, or was it simply a random choice? Does the Arch community prefer one over the other?https://gitlab.archlinux.org/archlinux/archmanweb/-/issues/40HTTP 500 when selecting section 12023-01-13T02:32:28ZDaniel ParksHTTP 500 when selecting section 1When I try to look up a command under section 1, for example, https://man.archlinux.org/search?q=man&section=1 , archmanweb responds with error 500.When I try to look up a command under section 1, for example, https://man.archlinux.org/search?q=man§ion=1 , archmanweb responds with error 500.https://gitlab.archlinux.org/archlinux/archmanweb/-/issues/39btrfs man pages are missing links to other man pages2022-11-05T01:07:07Znl6720btrfs man pages are missing links to other man pageshttps://man.archlinux.org/man/btrfs.8 lists multiple other man pages, but they are not linked.
From what I can tell, the man pages are generated from https://github.com/kdave/btrfs-progs/tree/master/Documentation using `sphinx-build`.https://man.archlinux.org/man/btrfs.8 lists multiple other man pages, but they are not linked.
From what I can tell, the man pages are generated from https://github.com/kdave/btrfs-progs/tree/master/Documentation using `sphinx-build`.Jakub KlinkovskýJakub Klinkovskýhttps://gitlab.archlinux.org/archlinux/archmanweb/-/issues/36Incorrect indentation in mpc manpage2022-11-03T14:47:05ZPatrick SmitsIncorrect indentation in mpc manpageIn the 'mpc' man page (https://man.archlinux.org/man/mpc.1), in the 'COMMANDS' section, the commands are not equally indented.In the 'mpc' man page (https://man.archlinux.org/man/mpc.1), in the 'COMMANDS' section, the commands are not equally indented.https://gitlab.archlinux.org/archlinux/archmanweb/-/issues/37Suggested package links look like man-page links and fail2022-08-22T11:51:46Zjakob kSuggested package links look like man-page links and fail- Search for "mitmproxy"
- No man-page results
- "Results in package names and descriptions" lists the package.
- The link (in the page source) is `<a href="/listing/community/mitmproxy/">community/mitmproxy</a>`
- Note the missing hos...- Search for "mitmproxy"
- No man-page results
- "Results in package names and descriptions" lists the package.
- The link (in the page source) is `<a href="/listing/community/mitmproxy/">community/mitmproxy</a>`
- Note the missing host part of the URL and the format for man-page links
- So the link points to https://man.archlinux.org/listing/community/mitmproxy/ instead of the correct https://archlinux.org/packages/community/any/mitmproxy/ and fails to resolve.Jakub KlinkovskýJakub Klinkovskýhttps://gitlab.archlinux.org/archlinux/archmanweb/-/issues/30.Bd -literal -compact in mmcli(1) is not formated2022-08-19T19:58:14Znl6720.Bd -literal -compact in mmcli(1) is not formatedhttps://man.archlinux.org/man/mmcli.1#EXAMPLEShttps://man.archlinux.org/man/mmcli.1#EXAMPLESJakub KlinkovskýJakub Klinkovskýhttps://gitlab.archlinux.org/archlinux/archmanweb/-/issues/35man pages from section 3P do not get linked2022-08-19T19:56:56Znl6720man pages from section 3P do not get linkedman pages whose section is specified as `3P` (capital `P`) in `\fB...\fP` do not get linked.
For example, `gethostname(3P)` in https://man.archlinux.org/man/agetty.8.man pages whose section is specified as `3P` (capital `P`) in `\fB...\fP` do not get linked.
For example, `gethostname(3P)` in https://man.archlinux.org/man/agetty.8.https://gitlab.archlinux.org/archlinux/archmanweb/-/issues/31HTML "a href=" heading links not URL escaped2021-08-30T17:34:44ZJelle van der WaaHTML "a href=" heading links not URL escapedApologies if this is the wrong place to post this but it appears I can't add issues to https://gitlab.archlinux.org/archlinux/archmanweb
Description:
The HTML "a href" links generated for headings don't appear to be URL escaped, so you...Apologies if this is the wrong place to post this but it appears I can't add issues to https://gitlab.archlinux.org/archlinux/archmanweb
Description:
The HTML "a href" links generated for headings don't appear to be URL escaped, so you can't copy and paste them into other places (like the Arch Wiki) if the heading has special characters in it.
Steps to reproduce:
1. Go to https://man.archlinux.org/man/systemd.network.5
2. Scroll down to the fourth heading "[MATCH] SECTION OPTIONS" (or any other heading with square brackets in it)
3. Right-click on the heading and copy the URL.
4. Observe it is not a valid URL as the anchor contains square brackets rather than %5D type escape codes. For example you can't paste it into the Arch Linux wiki as MediaWiki does not recognise the square brackets as part of the URL.
The heading just needs to be URL-encoded before having the '#' added to the front of it.
Originally reported https://bugs.archlinux.org/task/69465https://gitlab.archlinux.org/archlinux/archmanweb/-/issues/32Add robots.txt2021-07-28T18:35:21ZJelle van der WaaAdd robots.txtCurrently the website has no robots.txt and I think we want to exclude /search from being indexed. (Archweb does something similiar)Currently the website has no robots.txt and I think we want to exclude /search from being indexed. (Archweb does something similiar)Jakub KlinkovskýJakub Klinkovskýhttps://gitlab.archlinux.org/archlinux/archmanweb/-/issues/34CSS instructions mising2021-06-05T06:57:53ZJelle van der WaaCSS instructions misingThe readme lacks the recommendation to either do a `git submodule sync` or --recursive git clone to fetch the css submodule.
After that the `static/archlinux-common/navbar.css` file still does not exists.The readme lacks the recommendation to either do a `git submodule sync` or --recursive git clone to fetch the css submodule.
After that the `static/archlinux-common/navbar.css` file still does not exists.Jakub KlinkovskýJakub Klinkovskýhttps://gitlab.archlinux.org/archlinux/archmanweb/-/issues/28Add secure headers2021-06-05T06:33:12ZJelle van der WaaAdd secure headersSee the [securityheaders.com report](https://securityheaders.com/?q=https%3A%2F%2Fman.archlinux.org&followRedirects=on), some security headers are missing.
* [X_FRAME_OPTIONS](https://docs.djangoproject.com/en/3.1/ref/clickjacking/)
* [...See the [securityheaders.com report](https://securityheaders.com/?q=https%3A%2F%2Fman.archlinux.org&followRedirects=on), some security headers are missing.
* [X_FRAME_OPTIONS](https://docs.djangoproject.com/en/3.1/ref/clickjacking/)
* [Referrer policy](https://docs.djangoproject.com/en/3.1/ref/middleware/#referrer-policy)
* [X-Content-Type-Options](https://docs.djangoproject.com/en/3.1/ref/settings/#secure-content-type-nosniff)
django-csp needs to be packaged in our repos to be enabled and configured for Content-Security-Policy.https://gitlab.archlinux.org/archlinux/archmanweb/-/issues/33favicon.ico missing?2021-05-18T19:55:36ZJelle van der Waafavicon.ico missing?On `man.archlinux.org` the nginx error log is full with:
```
2021/05/18 18:13:37 [error] 30411#30411: *149634 open() "/srv/http/archmanweb/repo/collected_static/favicon.ico" failed (2: No such file or directory), client: 60.13.138.32, s...On `man.archlinux.org` the nginx error log is full with:
```
2021/05/18 18:13:37 [error] 30411#30411: *149634 open() "/srv/http/archmanweb/repo/collected_static/favicon.ico" failed (2: No such file or directory), client: 60.13.138.32, server: man.archlinux.org, request: "GET /favicon.ico HTTP/1.1", host: "man.archlinux.org"
```https://gitlab.archlinux.org/archlinux/archmanweb/-/issues/20Add form for the listing view2021-03-26T09:29:23ZSven-Hendrik Haasesvenstaro@archlinux.orgAdd form for the listing view*Created by: lahwaacz*
Since the search page has a nice form to set search parameters, we should add the same thing to the listing view to set filter parameters and ordering.
When done, the information about listings in `index.html` sh...*Created by: lahwaacz*
Since the search page has a nice form to set search parameters, we should add the same thing to the listing view to set filter parameters and ordering.
When done, the information about listings in `index.html` should be updated.https://gitlab.archlinux.org/archlinux/archmanweb/-/issues/25Fix links in README2021-01-21T07:42:53ZSven-Hendrik Haasesvenstaro@archlinux.orgFix links in READMEMany of the links in the README do not point to the live instance at man.archlinux.org. This should be fixed.Many of the links in the README do not point to the live instance at man.archlinux.org. This should be fixed.Jakub KlinkovskýJakub Klinkovskýhttps://gitlab.archlinux.org/archlinux/archmanweb/-/issues/24Center page2021-01-21T07:42:52ZSven-Hendrik Haasesvenstaro@archlinux.orgCenter page*Created by: FFY00*
Currently the content is placed at the left, this does not scale well with big screens. Would it be possible to center the content like most websites do?
Screenshot on my 4k screen for eg.
![arch-man-content-left](h...*Created by: FFY00*
Currently the content is placed at the left, this does not scale well with big screens. Would it be possible to center the content like most websites do?
Screenshot on my 4k screen for eg.
![arch-man-content-left](https://user-images.githubusercontent.com/11718923/101925923-5e82e000-3bca-11eb-9363-298ea147e6c4.png)Filipe Laínslains@archlinux.orgJakub KlinkovskýFilipe Laínslains@archlinux.orghttps://gitlab.archlinux.org/archlinux/archmanweb/-/issues/2crash on zshall(1)2021-01-11T21:03:22ZSven-Hendrik Haasesvenstaro@archlinux.orgcrash on zshall(1)*Created by: nl6720*
http://jlk.fjfi.cvut.cz/arch/manpages/man/extra/zsh/zshall.1.en
```
500 — Internal server error
The web application crashed.
```*Created by: nl6720*
http://jlk.fjfi.cvut.cz/arch/manpages/man/extra/zsh/zshall.1.en
```
500 — Internal server error
The web application crashed.
```