These are the involucred files:
dnf-system-upgrade publish-rpm-on-copr raspberry-pi securing-the-system-by-keeping-it-up-to-date using-aide
How did I Detect it?
asciidoctor -a attribute-missing=warn --failure-level=WARN sample.adoc
majorosver -> link to another antora instance to link a document presetn there. nextver > next version of fedora.
These are part of Antora not Asciidoctor...
name version
Regards.,
I've removed warning about consecutive number
debug-dracut-problems.adoc
in this https://pagure.io/fedora-docs/quick-docs/pull-request/318
Fixed most of them in #332; I don't know how to find the majorosver problem though...
majorosver
Metadata Update from @pbokoc: - Issue tagged with: help wanted
You're using the -a flag, but not to its full potential.
-a
You should instead provide the definition of partialsdir, so that it's not missing. Same with any other attributes that the antora processor would autoload.
partialsdir
For example, I can scan all documents in the repo with this zsh syntax:
zsh
cd /path/to/quick-docs for file in modules/**/*.adoc; do asciidoctor -a partialsdir=`pwd`/modules/ROOT/pages/_partials \ -a majorosver=36 -a prevver=35 -a context="" \ -a attribute-missing=warn --failure-level=WARN $file; if [ $? != 0 ]; then echo "Warnings/errors in $file"; fi done
...And I'll see only genuine errors (there are a few). It'll also avoid creating .html files of all the pages.
.html
Closed because obiously fixed (nothing to do anymore)
Metadata Update from @pboy: - Issue close_status updated to: stale - Issue status updated to: Closed (was: Open)
Even though this is closed, the code in my comment above contains some errors I wanted to correct in case anyone happens upon it in the future. It should have been:
cd /path/to/quick-docs for file in modules/**/*.adoc; do asciidoctor -a partialsdir=`pwd`/modules/ROOT/pages/_partials \ -a majorosver=36 -a prevver=35 -a context="" \ -a attribute-missing=warn --failure-level=WARN \ < $file >/dev/null; if [ $? != 0 ]; then echo "Warnings/errors in $file"; fi done
That will actually avoid creating all of the rendered .html versions of the .adoc sources, unlike the previous version.
.adoc
Login to comment on this ticket.