Skip to content

Commit 891aeb5

Browse files
committed
updating readme
1 parent eff0377 commit 891aeb5

File tree

1 file changed

+10
-25
lines changed

1 file changed

+10
-25
lines changed

README.md

Lines changed: 10 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,19 @@
1-
21
This document provides guidance and information for developing OpenShift applications in compliance with commonly recognized industry standards and best practices for Cloud Native Functions (CNFs).
32

4-
To build the HTML, install `asciidoctor` and run:
3+
The entrypoint to this document is the `main.adoc` assembly file.
4+
5+
To build the HTML, install `podman`, and then:
56

67
```cmd
7-
asciidoctor main.adoc \
8-
-a stylesheet="assets/css/redhat.css" \
9-
-a toc \
10-
-a toc-placement=left \
11-
-a icons=font \
12-
-a docinfodir="assets" \
13-
-a docinfo=shared \
14-
-a source-highlighter=rouge \
15-
-a rouge-style=github \
16-
-a favicon="assets/images/favicon.ico" \
17-
-a iconsdir="assets/images" \
18-
-a icon-set=fab \
19-
-a icons="font" \
20-
-a sectlinks \
21-
-o index.html
8+
podman pull quay.io/redhat-docs/redhat-docs-template
9+
podman cp $(podman run --detach quay.io/redhat-docs/redhat-docs-template):/assets ./assets
10+
podman run --rm -it -v "$(pwd)":/docs:Z quay.io/redhat-docs/redhat-docs-template main.adoc
2211
```
2312

24-
To build the PDF, install `asciidoctor-pdf` and run:
13+
To build the PDF:
2514

2615
```cmd
27-
asciidoctor-pdf main.adoc \
28-
-a pdf-themesdir=pdf \
29-
-a pdf-theme=redhat \
30-
-a toc-title="" \
31-
-a doctype=book \
32-
-a source-highlighter="rouge"
33-
-o cnf-best-practices.pdf
16+
podman pull quay.io/redhat-docs/redhat-docs-pdf-template
17+
podman cp $(podman run --detach quay.io/redhat-docs/redhat-docs-pdf-template):/pdf-assets ./pdf-assets
18+
podman run --rm -it -v "$(pwd)":/docs:Z quay.io/redhat-docs/redhat-docs-pdf-template main.adoc
3419
```

0 commit comments

Comments
 (0)