Skip to content

Commit

Permalink
Fix no-container build issue and update docs-resources
Browse files Browse the repository at this point in the history
The no-container build was not working due to broken mechanism of
passing DATE, VERSION, and REVMARK from Makefile to header.adoc so
fix this.

Also, update the docs-resources submodule to the latest.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
  • Loading branch information
avpatel committed Nov 19, 2024
1 parent c477510 commit dbfc0f3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 0 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
# This Makefile is designed to automate the process of building and packaging
# the Doc Template for RISC-V Extensions.

DATE ?= $(shell date +%Y-%m-%d)
VERSION ?= $(shell git describe --tags)
REVMARK ?= \"This document is in development. Assume everything can change. See http://riscv.org/spec-state for details.\"
DOCKER_RUN := docker run --rm -v ${PWD}:/build -w /build \
riscvintl/riscv-docs-base-container-image:latest

Expand All @@ -28,9 +25,6 @@ ASCIIDOCTOR_PDF := asciidoctor-pdf
OPTIONS := --trace \
-a compress \
-a mathematical-format=svg \
-a revnumber=${VERSION} \
-a revremark=${REVMARK} \
-a revdate=${DATE} \
-a pdf-fontsdir=docs-resources/fonts \
-a pdf-style=docs-resources/themes/riscv-pdf.yml \
--failure-level=ERROR
Expand Down
3 changes: 3 additions & 0 deletions brs_ts_header.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
:description: RISC-V Boot and Runtime Services Test Specification
:company: RISC-V.org
:url-riscv: http://riscv.org
:revdate: 19th November 2024
:revnumber: 0.0.3
:revremark: This document is Stable.
:doctype: book
:preface-title: Preamble
:colophon:
Expand Down
3 changes: 3 additions & 0 deletions header.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
:description: RISC-V Boot and Runtime Services Specification Document (BRS)
:company: RISC-V.org
:url-riscv: http://riscv.org
:revdate: 19th November 2024
:revnumber: 0.0.3
:revremark: This document is Stable.
:doctype: book
:preface-title: Preamble
:colophon:
Expand Down

0 comments on commit dbfc0f3

Please sign in to comment.