Commit graph

10 commits

Author SHA1 Message Date
379152348f Fix many link-checker.sh warnings and errors
The most common warning is about redirects. Such links are replaced
with direct links. In some cases better syntax for the same URL is
used, and in a single case the link target seems to be completely gone,
so the link is just removed.
2024-07-04 21:39:42 +03:00
a1287f0c49 Use https instead of http in links
This is the modern way, and also removes many warnings from
`check-links.sh` output.
2024-07-04 21:39:42 +03:00
f16ef32bac Fix misspellings 2024-01-28 21:57:46 -03:00
1eef429e63 Fix fedmsg link
Domain fedmsg.com is now owned by an unrelated party.
Instead link to fedmsg documentation at readthedocs.io.
2023-02-28 07:46:46 +00:00
f6aa83acfe
feat: remove explicit toc
The UI bundle now includes a toc in the right hand sidebar, so there's
no need to have tocs explicitly at the start of documents.
2022-03-16 15:37:09 +00:00
Otto Urpelainen
8cc222771f Add link checker script
Add a link checker script and instructions on how to run it.
First run found some problems, fix those as well:

* Escape some url templates from link creation with a '\' prefix,
the templates need to be turned into valid urls
by inserting a package name.

* For some reason,
the link checker cannot follow https://crates.io/crates/bodhi-cli.
This tool is also packaged in the official Fedora repositories,
and it is customary to refer to such tools simply by tool name,
so replacing the link with that
instead of excluding that link for the check.

* https://bodhi.fedoraproject.org/updates/new requires authentication.
It is not wrong to link there,
but since the Bodhi web app main page also has a "New Update" button,
replacing the link there,
so even unauthenticated readers get a good experience.

* Fix link to nonexistent page at src.fedoraproject.org
with a link to site root,
which is suitable in the context.
2021-10-07 08:42:52 +03:00
Otto Urpelainen
d0e1bca913 Import remaining wiki updates
After Package Maintainer Docs were imported from the wiki
there have been some further wiki updates.
To avoid losing content when wiki pages are replaced
with links to the Package Maintainer Docs,
these updates are imported in this commit.

Some pages were already handled in a preceding commit.
This commit handles the reset.
The "Imported from:" comment is removed
from the top of the pages that are handled
since now that the migration is complete,
that information is not relevant any more.
2021-09-15 09:07:06 +03:00
Otto Urpelainen
9f54ac3b07 Prefer [#some-ref] over [[some-ref]] 2021-08-22 14:01:27 +03:00
Otto Urpelainen
5b6d4b2db8 Add Imported from tags to pages from wiki
When Package Maintainer Docs are published,
duplicate material in the Fedora Wiki should be removed
and replaced with links to the new docs.
In order to make this easy,
add a comment at the start od each page
linking to the original wiki page.
2021-08-22 13:57:01 +03:00
Otto Urpelainen
bd40aeedab Wiki import
Restart the repository by
1. Starting to use Antora
2. Moving over some packaging related pages over from the wiki
3. Updating the pages where there are obvious problems
2021-07-07 21:55:43 +03:00