[CI:DOCS] Restore missing content to manpages
The following content was omitted: - Text after the first markdown link on a line to the end of the last (in lines with multiple markdown links) - Email addresses of the form <a...@...> Fixed by: - Making the first two regexes match each link individually, instead of matching from the start of the first link to the end of the last - Making the last regex specifically match <a> and </a> tags Signed-off-by: Rob Cowsill <42620235+rcowsill@users.noreply.github.com>
This commit is contained in:
parent
ba60821f0a
commit
9731ecfc7a
4
Makefile
4
Makefile
|
@ -425,8 +425,8 @@ pkg/api/swagger.yaml: .gopathok
|
||||||
make -C pkg/api
|
make -C pkg/api
|
||||||
|
|
||||||
$(MANPAGES): %: %.md .install.md2man docdir
|
$(MANPAGES): %: %.md .install.md2man docdir
|
||||||
@sed -e 's/\((podman.*\.md)\)//' -e 's/\[\(podman.*\)\]/\1/' \
|
@sed -e 's/\((podman[^)]*\.md)\)//g' -e 's/\[\(podman[^]]*\)\]/\1/g' \
|
||||||
-e 's;<\(/\)\?\(a[^>]*\|sup\)>;;g' $< | \
|
-e 's;<\(/\)\?\(a\|a\s\+[^>]*\|sup\)>;;g' $< | \
|
||||||
$(GOMD2MAN) -in /dev/stdin -out $(subst source/markdown,build/man,$@)
|
$(GOMD2MAN) -in /dev/stdin -out $(subst source/markdown,build/man,$@)
|
||||||
|
|
||||||
.PHONY: docdir
|
.PHONY: docdir
|
||||||
|
|
Loading…
Reference in New Issue