Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix copyright and theme and template #79

Merged
merged 2 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "docs-resources"]
path = docs-resources
url = https://github.com/riscv/docs-resources.git
21 changes: 6 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,28 +1,19 @@
all: zjid-spec.pdf zjpm-spec.pdf

zjid-spec.pdf: zjid/*.adoc docs-templates
mkdir -p zjid/images
cp docs-templates/src/images/risc-v_logo.png zjid/images
cp docs-templates/src/images/backpage.png zjid/images
zjid-spec.pdf: zjid/*.adoc
asciidoctor-pdf \
--attribute=mathematical-format=svg \
--attribute=pdf-fontsdir=docs-templates/resources/fonts \
--attribute=pdf-style=docs-templates/resources/themes/riscv-pdf.yml \
--attribute=pdf-fontsdir=docs-resources/fonts \
--attribute=pdf-theme=docs-resources/themes/riscv-pdf.yml \
--failure-level=ERROR \
--out-file=$@ \
zjid/header.adoc

zjpm-spec.pdf: zjpm/*.adoc docs-templates
mkdir -p zjpm/images
cp docs-templates/src/images/risc-v_logo.png zjpm/images
cp docs-templates/src/images/backpage.png zjpm/images
zjpm-spec.pdf: zjpm/*.adoc
asciidoctor-pdf \
--attribute=mathematical-format=svg \
--attribute=pdf-fontsdir=docs-templates/resources/fonts \
--attribute=pdf-style=docs-templates/resources/themes/riscv-pdf.yml \
--attribute=pdf-fontsdir=docs-resources/fonts \
--attribute=pdf-theme=docs-resources/themes/riscv-pdf.yml \
--failure-level=ERROR \
--out-file=$@ \
zjpm/header.adoc

docs-templates:
git clone https://github.com/riscv/docs-templates.git
1 change: 1 addition & 0 deletions docs-resources
Submodule docs-resources added at 35203a
4 changes: 2 additions & 2 deletions zjid/header.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
:preface-title: Preamble
:colophon:
:appendix-caption: Appendix
:imagesdir: images
:imagesdir: ../docs-resources/images
:title-logo-image: image:risc-v_logo.png[pdfwidth=3.25in,align=center]
//:page-background-image: image:draft.svg[opacity=20%]
//:title-page-background-image: none
:back-cover-image: image:backpage.png[opacity=25%]
//:back-cover-image: image:backpage.png[opacity=25%]
// Settings:
:experimental:
:reproducible:
Expand Down
Binary file modified zjpm-spec.pdf
Binary file not shown.
6 changes: 3 additions & 3 deletions zjpm/header.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:description: RISC-V J Extension: Pointer Masking
:company: RISC-V.org
:revdate: 05/2024
:revnumber: 1.0.0-rc2
:revnumber: 1.0-rc3
:revremark: Frozen
//development: assume everything can change
//stable: assume everything could change
Expand All @@ -15,11 +15,11 @@
:preface-title: Preamble
:colophon:
:appendix-caption: Appendix
:imagesdir: images
:imagesdir: ../docs-resources/images
:title-logo-image: image:risc-v_logo.png[pdfwidth=3.25in,align=center]
//:page-background-image: image:draft.svg[opacity=20%]
//:title-page-background-image: none
:back-cover-image: image:backpage.png[opacity=25%]
//:back-cover-image: image:backpage.png[opacity=25%]
// Settings:
:experimental:
:reproducible:
Expand Down
Loading