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

Add bibliography #331

Merged
merged 6 commits into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions .github/workflows/build-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
with:
submodules: recursive
- name: Install packages
run: sudo apt-get update && sudo apt-get install -y make ruby
run: sudo apt-get update && sudo apt-get install -y make ruby ruby-dev gcc

- name: Install gems
run: sudo gem install asciidoctor asciidoctor-pdf
run: sudo gem install asciidoctor asciidoctor-pdf asciidoctor-bibtex

- name: Build
run: make -C doc build
Expand Down
2 changes: 1 addition & 1 deletion doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ OPTIONS := --trace \
-a pdf-fontsdir=docs-resources/fonts \
-a pdf-theme=docs-resources/themes/riscv-pdf.yml \
--failure-level=ERROR
REQUIRES :=
REQUIRES := --require=asciidoctor-bibtex \

.PHONY: all build clean

Expand Down
4 changes: 4 additions & 0 deletions doc/bibliography.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[bibliography]
== Bibliography

bibliography::[]
8 changes: 8 additions & 0 deletions doc/header.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ endif::[]
:stem: latexmath
:footnote:
:xrefstyle: short
:bibtex-file: rvv-intrinsics.bib
:bibtex-order: alphabetical
:bibtex-style: apa
:bibtex-format: asciidoc
:bibtex-throw: false

[WARNING]
.This document is in the link:http://riscv.org/spec-state[Development state]
Expand Down Expand Up @@ -92,3 +97,6 @@ include::../auto-generated/policy_funcs/overloaded_intrinsic_funcs/07_vector_per
include::../auto-generated/policy_funcs/overloaded_intrinsic_funcs/08_miscellaneous_vector_utility_intrinsics.adoc[]

endif::[]

include::bibliography.adoc[]

Loading
Loading