-
Notifications
You must be signed in to change notification settings - Fork 5
feat(doc): Build and publish the documentation on GitHub Pages #230
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
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,3 +11,4 @@ _build | |
| _opam | ||
| .envrc | ||
| .vscode | ||
| _site | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,186 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
|
|
||
| <head> | ||
| <meta charset="utf-8"/> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"/> | ||
| <title>ArchSem documentation</title> | ||
|
|
||
| <!-- Claude autogenerated CSS (in particular the colors), sorry --> | ||
| <style> | ||
| :root { | ||
| --bg: #ffffff; | ||
| --fg: #1c1c1c; | ||
| --muted: #5d6470; | ||
| --rule: #e2e5ea; | ||
| --card: #f7f8fa; | ||
| --link: #1a4f8a; | ||
| } | ||
| @media (prefers-color-scheme: dark) { | ||
| :root { | ||
| --bg: #16181c; | ||
| --fg: #e6e8ec; | ||
| --muted: #9aa2af; | ||
| --rule: #2c3038; | ||
| --card: #1e2127; | ||
| --link: #7ab3f0; | ||
| } | ||
| } | ||
| * { box-sizing: border-box; } | ||
| body { | ||
| margin: 0; | ||
| padding: 2.5rem 1.5rem 4rem; | ||
| background: var(--bg); | ||
| color: var(--fg); | ||
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, | ||
| "Helvetica Neue", Arial, sans-serif; | ||
| line-height: 1.6; | ||
| } | ||
| main { max-width: 53rem; margin: 0 auto; } | ||
| header { border-bottom: 1px solid var(--rule); padding-bottom: 1.5rem; } | ||
| header img { max-width: 100%; height: auto; display: block; } | ||
| h1 { font-size: 1.9rem; margin: 1.25rem 0 0.5rem; } | ||
| h2 { | ||
| font-size: 1.15rem; | ||
| margin: 2.5rem 0 0.25rem; | ||
| text-transform: uppercase; | ||
| letter-spacing: 0.06em; | ||
| color: var(--muted); | ||
| } | ||
| p { margin: 0.5rem 0; } | ||
| a { color: var(--link); } | ||
| .subtitle { color: var(--muted); } | ||
| ul { list-style: none; margin: 1rem 0 0; padding: 0; } | ||
| li { | ||
| background: var(--card); | ||
| border: 1px solid var(--rule); | ||
| border-radius: 6px; | ||
| padding: 0.85rem 1rem; | ||
| margin-bottom: 0.6rem; | ||
| } | ||
| li .name { font-weight: 600; font-size: 1.02rem; } | ||
| li .name code { | ||
| font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; | ||
| font-size: 1rem; | ||
| } | ||
| li .desc { color: var(--muted); font-size: 0.92rem; margin: 0.15rem 0 0.4rem; } | ||
| li .links { font-size: 0.9rem; } | ||
| li .links a + a { margin-left: 1rem; } | ||
| footer { | ||
| margin-top: 3rem; | ||
| padding-top: 1.25rem; | ||
| border-top: 1px solid var(--rule); | ||
| color: var(--muted); | ||
| font-size: 0.88rem; | ||
| } | ||
| </style> | ||
|
|
||
| </head> | ||
|
|
||
|
|
||
|
|
||
| <body> | ||
| <main> | ||
|
|
||
| <header> | ||
| <img src="archsem_logo.png" alt="ArchSem logo" width="420"/> | ||
| <h1>ArchSem documentation</h1> | ||
| <p class="subtitle"> | ||
| ArchSem is a Rocq framework to define the semantics of CPU architectures | ||
| such as Arm-A, RISC-V, and x86, integrating their concurrency models — | ||
| written in Rocq — and instruction-set semantics — written in Sail. | ||
| </p> | ||
| <p class="subtitle"> | ||
| <a href="https://github.com/rems-project/archsem">GitHub repository</a> | ||
| · | ||
| <a href="https://www.cl.cam.ac.uk/~pes20/Stuff/2025-archsem-paper.pdf">POPL | ||
| 2026 paper</a> | ||
| </p> | ||
| </header> | ||
|
|
||
| <h2>Rocq theories</h2> | ||
| <p class="subtitle"> | ||
| Generated with coqdoc. The <em>contents</em> link is the table of contents of | ||
| the theory; <em>index</em> is the alphabetical index of its identifiers. | ||
| </p> | ||
| <ul> | ||
| <li> | ||
| <div class="name"><code>ASCommon</code></div> | ||
| <div class="desc"> | ||
| Common infrastructure and definitions for the ArchSem project, including | ||
| CDestruct and a free monad library. | ||
| </div> | ||
| <div class="links"> | ||
| <a href="rocq/Common/ASCommon.html/toc.html">contents</a> | ||
| <a href="rocq/Common/ASCommon.html/index.html">index</a> | ||
| </div> | ||
| </li> | ||
| <li> | ||
| <div class="name"><code>ArchSem</code></div> | ||
| <div class="desc"> | ||
| The architecture-generic part: the ISA/concurrency interface, candidate | ||
| executions, and the generic model constructions. | ||
| </div> | ||
| <div class="links"> | ||
| <a href="rocq/ArchSem/ArchSem.html/toc.html">contents</a> | ||
| <a href="rocq/ArchSem/ArchSem.html/index.html">index</a> | ||
| </div> | ||
| </li> | ||
| <li> | ||
| <div class="name"><code>ArchSemArm</code></div> | ||
| <div class="desc">The Arm-A instantiation and its concurrency models.</div> | ||
| <div class="links"> | ||
| <a href="rocq/ArchSemArm/ArchSemArm.html/toc.html">contents</a> | ||
| <a href="rocq/ArchSemArm/ArchSemArm.html/index.html">index</a> | ||
| </div> | ||
| </li> | ||
| <li> | ||
| <div class="name"><code>ArchSemRiscV</code></div> | ||
| <div class="desc">The RISC-V instantiation and its concurrency models.</div> | ||
| <div class="links"> | ||
| <a href="rocq/ArchSemRiscV/ArchSemRiscV.html/toc.html">contents</a> | ||
| <a href="rocq/ArchSemRiscV/ArchSemRiscV.html/index.html">index</a> | ||
| </div> | ||
| </li> | ||
| <li> | ||
| <div class="name"><code>ArchSemX86</code></div> | ||
| <div class="desc">The x86 instantiation and its concurrency models.</div> | ||
| <div class="links"> | ||
| <a href="rocq/ArchSemX86/ArchSemX86.html/toc.html">contents</a> | ||
| <a href="rocq/ArchSemX86/ArchSemX86.html/index.html">index</a> | ||
| </div> | ||
| </li> | ||
| </ul> | ||
|
|
||
| <h2>OCaml API</h2> | ||
| <p class="subtitle"> | ||
| Generated with odoc. Only the <code>archsem</code> package ships OCaml code: | ||
| the extracted models and the litmus-test runner behind the | ||
| <code>archsem</code> command-line tool. The <code>coq-archsem*</code> package | ||
| pages exist but are empty. | ||
| </p> | ||
| <ul> | ||
| <li> | ||
| <div class="name"><code>archsem</code></div> | ||
| <div class="desc"> | ||
| The extracted models (<code>Archsem</code>) plus the | ||
| <code>archsem.litmus</code> and <code>archsem.isla</code> libraries. | ||
| </div> | ||
| <div class="links"> | ||
| <a href="ocaml/archsem/index.html">contents</a> | ||
| </div> | ||
| </li> | ||
| </ul> | ||
|
|
||
| <footer> | ||
| Generated from the <code>main</code> branch by | ||
| <a href="https://github.com/rems-project/archsem/actions">CI</a>. | ||
| Build it yourself with <code>make doc-site</code>, or browse it locally with | ||
| <code>make serve-doc-site</code>. </br> | ||
| The CSS of this landing page was generated by Claude | ||
| </footer> | ||
|
|
||
| </main> | ||
| </body> | ||
|
|
||
| </html> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.