1- import React from 'react' ;
2- import Layout from '@theme/Layout' ;
3- import styles from ' ./styles.module.css' ;
1+ import Layout from "@theme/Layout" ;
2+ import React from "react" ;
3+ import styles from " ./styles.module.css" ;
44
55// List of available Agda modules with their actual file paths
66const AGDA_MODULES = [
7- {
8- name : ' Leios.Base' ,
9- path : ' Leios.Base .html' ,
10- description : 'Core definitions and types'
7+ {
8+ name : " Leios Protocol" ,
9+ path : " Leios.Protocol .html" ,
10+ description : "Protocol state and transitions" ,
1111 } ,
12- {
13- name : ' Leios.Voting' ,
14- path : ' Leios.Voting .html' ,
15- description : 'Voting mechanism and rules'
12+ {
13+ name : " Leios Blocks" ,
14+ path : " Leios.Blocks .html" ,
15+ description : "Block structure and validation" ,
1616 } ,
17- {
18- name : ' Leios.Protocol' ,
19- path : ' Leios.Protocol .html' ,
20- description : 'Protocol state and transitions'
17+ {
18+ name : " Leios Network" ,
19+ path : " Leios.Network .html" ,
20+ description : "Network communication and messages" ,
2121 } ,
22- {
23- name : 'Leios.Blocks' ,
24- path : 'Leios.Blocks.html' ,
25- description : 'Block structure and validation'
22+ {
23+ name : "Short Leios Variant" ,
24+ path : "Leios.Short.html" ,
25+ description :
26+ "A specific variant of the Leios protocol with fewer stages per pipeline." ,
27+ } ,
28+ {
29+ name : "Network Basic Broadcast" ,
30+ path : "Network.BasicBroadcast.html" ,
31+ description : "Basic broadcast network primitives" ,
2632 } ,
27- {
28- name : 'Leios.Network' ,
29- path : 'Leios.Network.html' ,
30- description : 'Network communication and messages'
31- }
3233] ;
3334
3435export default function FormalSpecPage ( ) : React . ReactElement {
@@ -41,14 +42,15 @@ export default function FormalSpecPage(): React.ReactElement {
4142 < div className = { styles . container } >
4243 < h1 > Ouroboros Leios Formal Specification</ h1 >
4344 < p >
44- This section contains the formal specification of the Ouroboros Leios protocol,
45- written in Agda. The specification provides a mathematical foundation for the
46- protocol's properties and guarantees.
45+ This section contains the formal specification of the Ouroboros
46+ Leios protocol, written in Agda. The specification provides a
47+ mathematical foundation for the protocol's properties and
48+ guarantees.
4749 </ p >
48-
50+
4951 < h2 > Modules</ h2 >
5052 < div className = { styles . fileGrid } >
51- { AGDA_MODULES . map ( module => (
53+ { AGDA_MODULES . map ( ( module ) => (
5254 < a
5355 key = { module . name }
5456 href = { `/formal-spec/${ module . path } ` }
@@ -57,12 +59,14 @@ export default function FormalSpecPage(): React.ReactElement {
5759 rel = "noopener noreferrer"
5860 >
5961 < div className = { styles . moduleName } > { module . name } </ div >
60- < div className = { styles . moduleDescription } > { module . description } </ div >
62+ < div className = { styles . moduleDescription } >
63+ { module . description }
64+ </ div >
6165 </ a >
6266 ) ) }
6367 </ div >
6468 </ div >
6569 </ main >
6670 </ Layout >
6771 ) ;
68- }
72+ }
0 commit comments