Skip to content

Commit cc2b460

Browse files
authored
Merge pull request #971 from riscv/merge_asciidoc
Convert to asciidoc
2 parents f510a7d + a1bef9b commit cc2b460

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+4006
-10545
lines changed

.github/workflows/verify.yml

Lines changed: 36 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,38 @@
11
name: Verify Build
2-
on: [push]
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- asciidoc
8+
39
jobs:
4-
Build:
5-
runs-on: ubuntu-latest
6-
steps:
7-
- uses: actions/checkout@v2
8-
- run: sudo apt-get update
9-
- run: >
10-
sudo apt-get install python3-sympy texlive-latex-base \
11-
texlive-latex-recommended texlive-latex-extra \
12-
texlive-fonts-extra texlive-science
13-
- run: make draft stable release chisel
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
# Step 0: Install build requirements
15+
- name: Install Build Requirements
16+
run: sudo apt update && sudo apt install -y python3-sympy
17+
18+
# Step 1: Checkout the repository
19+
- name: Checkout repository
20+
uses: actions/checkout@v3
21+
with:
22+
submodules: 'recursive'
23+
24+
# Step 2: Pull the latest RISC-V Docs container image
25+
- name: Pull Container
26+
run: docker pull riscvintl/riscv-docs-base-container-image:latest
27+
28+
# Step 3: Build Files
29+
- name: Build Files
30+
run: cd ./build && make
31+
32+
# Step 4: Upload the built PDF files as a single artifact
33+
- name: Upload Build Artifacts
34+
uses: actions/upload-artifact@v3
35+
with:
36+
name: Build Artifacts
37+
path: ${{ github.workspace }}/build/*.pdf
38+
retention-days: 30

.gitignore

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,7 @@
1-
# LaTeX intermediate files
2-
*.aux
3-
*.idx
4-
*.ilg
5-
*.ind
6-
*.lof
7-
*.log
8-
*.out
9-
*.toc
10-
*.lot
11-
*.hst
12-
*.ver
13-
141
# Generated files
15-
*_registers.tex
16-
*_registers.tex.inc
17-
*_registers.h
18-
serial.*
19-
abstract_commands.*
20-
debug_defines.*
21-
22-
# Changelogs
23-
changelog.tex
24-
vc.tex
2+
build/*.adoc
3+
build/images
4+
build/.asciidoctor
5+
build/*.pdf
256

26-
# Resulting PDFs
27-
riscv-debug-workgroup-notes.pdf
7+
.vscode

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "docs-resources"]
2+
path = docs-resources
3+
url = https://github.com/riscv/docs-resources.git

Makefile

Lines changed: 0 additions & 99 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
RISC-V Debug Specification
22
==========================
33

4-
The current master branch is v1.0.0-frozen.
5-
64
You may be looking for one of the following pre-built PDFs:
7-
* [Latest frozen](https://github.com/riscv/riscv-debug-spec/blob/master/riscv-debug-frozen.pdf)
5+
* [Latest release candidate](https://github.com/riscv/riscv-debug-spec/releases)
86
* [Latest release](https://github.com/riscv/riscv-debug-spec/blob/release/riscv-debug-release.pdf)
7+
(This is outdated at this point, and only of historical interest.)
98

109
Build Instructions
1110
------------------

0 commit comments

Comments
 (0)