-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feat] Automate smart contract docgen and PR branch creation into Lin…
…ea docs repo (#446) * did poc for autogenerated *.mdx into docs.linea.build * changed sparseMerkleProof * first draft of contracts-docgen * fix typos * try different github token * cleanup * created create-docs-website-pr-branch * cleanup for doc website repo scripts * created first docs-repo pr using create-docs-website-pr-branch.sh * improve comments * added bash script segment to change filename to lowercase * fix *.mdx headers to make more docusarus friendly * update scripts for updated docs pr * added comments to updateSidebar.js * fix scripts after local test * added installation checks * Update contracts/docs/scripts/create-docs-website-pr-branch.sh Co-authored-by: The Dark Jester <[email protected]> Signed-off-by: kyzooghost <[email protected]> --------- Signed-off-by: kyzooghost <[email protected]> Co-authored-by: The Dark Jester <[email protected]>
- Loading branch information
1 parent
6ad7ba2
commit ea79b2d
Showing
55 changed files
with
405 additions
and
139 deletions.
There are no files selected for viewing
This file contains 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 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 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 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
4 changes: 1 addition & 3 deletions
4
contracts/docs/api/LineaRollup.md → contracts/docs/api/LineaRollup.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## LineaRollup | ||
# `LineaRollup` | ||
|
||
### CONTRACT_VERSION | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
contracts/docs/api/ZkEvmV2.md → contracts/docs/api/ZkEvmV2.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## ZkEvmV2 | ||
# `ZkEvmV2` | ||
|
||
### MODULO_R | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
...cts/docs/api/interfaces/IGenericErrors.md → ...ts/docs/api/interfaces/IGenericErrors.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## IGenericErrors | ||
# `IGenericErrors` | ||
|
||
### ZeroAddressNotAllowed | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
...ts/docs/api/interfaces/IMessageService.md → ...s/docs/api/interfaces/IMessageService.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## IMessageService | ||
# `IMessageService` | ||
|
||
### MessageSent | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
...acts/docs/api/interfaces/IPauseManager.md → ...cts/docs/api/interfaces/IPauseManager.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## IPauseManager | ||
# `IPauseManager` | ||
|
||
### PauseTypeRole | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
...ocs/api/interfaces/IPermissionsManager.md → ...cs/api/interfaces/IPermissionsManager.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## IPermissionsManager | ||
# `IPermissionsManager` | ||
|
||
### RoleAddress | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
...racts/docs/api/interfaces/IRateLimiter.md → ...acts/docs/api/interfaces/IRateLimiter.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## IRateLimiter | ||
# `IRateLimiter` | ||
|
||
### RateLimitInitialized | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
...cs/api/interfaces/l1/IL1MessageManager.md → ...s/api/interfaces/l1/IL1MessageManager.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## IL1MessageManager | ||
# `IL1MessageManager` | ||
|
||
### RollingHashUpdated | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
.../api/interfaces/l1/IL1MessageManagerV1.md → ...api/interfaces/l1/IL1MessageManagerV1.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## IL1MessageManagerV1 | ||
# `IL1MessageManagerV1` | ||
|
||
### MessageDoesNotExistOrHasAlreadyBeenClaimed | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
...cs/api/interfaces/l1/IL1MessageService.md → ...s/api/interfaces/l1/IL1MessageService.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## IL1MessageService | ||
# `IL1MessageService` | ||
|
||
### ClaimMessageWithProofParams | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
...ts/docs/api/interfaces/l1/ILineaRollup.md → ...s/docs/api/interfaces/l1/ILineaRollup.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## ILineaRollup | ||
# `ILineaRollup` | ||
|
||
### InitializationData | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
.../docs/api/interfaces/l1/IPlonkVerifier.md → ...docs/api/interfaces/l1/IPlonkVerifier.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## IPlonkVerifier | ||
# `IPlonkVerifier` | ||
|
||
### Verify | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
contracts/docs/api/interfaces/l1/IZkEvmV2.md → ...racts/docs/api/interfaces/l1/IZkEvmV2.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## IZkEvmV2 | ||
# `IZkEvmV2` | ||
|
||
### StartingRootHashDoesNotMatch | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
...cs/api/interfaces/l2/IL2MessageManager.md → ...s/api/interfaces/l2/IL2MessageManager.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## IL2MessageManager | ||
# `IL2MessageManager` | ||
|
||
### RollingHashUpdated | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
.../api/interfaces/l2/IL2MessageManagerV1.md → ...api/interfaces/l2/IL2MessageManagerV1.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## IL2MessageManagerV1 | ||
# `IL2MessageManagerV1` | ||
|
||
### MinimumFeeChanged | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
.../api/interfaces/l2/IL2MessageServiceV1.md → ...api/interfaces/l2/IL2MessageServiceV1.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## IL2MessageServiceV1 | ||
# `IL2MessageServiceV1` | ||
|
||
### setMinimumFee | ||
|
||
|
This file contains 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,24 @@ | ||
# `CallForwardingProxy` | ||
|
||
### target | ||
|
||
```solidity | ||
address target | ||
``` | ||
|
||
The underlying target address that is called. | ||
|
||
### constructor | ||
|
||
```solidity | ||
constructor(address _target) public | ||
``` | ||
|
||
### fallback | ||
|
||
```solidity | ||
fallback() external payable | ||
``` | ||
|
||
Defaults to, and forwards all calls to the target address. | ||
|
4 changes: 1 addition & 3 deletions
4
...s/api/lib/L2MessageServicePauseManager.md → .../api/lib/L2MessageServicePauseManager.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## L2MessageServicePauseManager | ||
# `L2MessageServicePauseManager` | ||
|
||
### PAUSE_L1_L2_ROLE | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
...s/docs/api/lib/LineaRollupPauseManager.md → .../docs/api/lib/LineaRollupPauseManager.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## LineaRollupPauseManager | ||
# `LineaRollupPauseManager` | ||
|
||
### PAUSE_L1_L2_ROLE | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
contracts/docs/api/lib/Mimc.md → contracts/docs/api/lib/Mimc.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## Mimc | ||
# `Mimc` | ||
|
||
### DataMissing | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
contracts/docs/api/lib/PauseManager.md → contracts/docs/api/lib/PauseManager.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## PauseManager | ||
# `PauseManager` | ||
|
||
### PAUSE_ALL_ROLE | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
contracts/docs/api/lib/PermissionsManager.md → ...racts/docs/api/lib/PermissionsManager.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## PermissionsManager | ||
# `PermissionsManager` | ||
|
||
### __Permissions_init | ||
|
||
|
This file contains 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
4 changes: 1 addition & 3 deletions
4
...s/docs/api/lib/TokenBridgePauseManager.md → .../docs/api/lib/TokenBridgePauseManager.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## TokenBridgePauseManager | ||
# `TokenBridgePauseManager` | ||
|
||
### PAUSE_INITIATE_TOKEN_BRIDGING_ROLE | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
contracts/docs/api/lib/Utils.md → contracts/docs/api/lib/Utils.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## Utils | ||
# `Utils` | ||
|
||
### _efficientKeccak | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
.../api/messageService/MessageServiceBase.md → ...api/messageService/MessageServiceBase.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## MessageServiceBase | ||
# `MessageServiceBase` | ||
|
||
### messageService | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
...api/messageService/l1/L1MessageManager.md → ...pi/messageService/l1/L1MessageManager.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## L1MessageManager | ||
# `L1MessageManager` | ||
|
||
### rollingHashes | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
...api/messageService/l1/L1MessageService.md → ...pi/messageService/l1/L1MessageService.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## L1MessageService | ||
# `L1MessageService` | ||
|
||
### systemMigrationBlock | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
...sientStorageReentrancyGuardUpgradeable.md → ...ientStorageReentrancyGuardUpgradeable.mdx
This file contains 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
4 changes: 1 addition & 3 deletions
4
...essageService/l1/v1/L1MessageManagerV1.md → ...ssageService/l1/v1/L1MessageManagerV1.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## L1MessageManagerV1 | ||
# `L1MessageManagerV1` | ||
|
||
### INBOX_STATUS_UNKNOWN | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
...essageService/l1/v1/L1MessageServiceV1.md → ...ssageService/l1/v1/L1MessageServiceV1.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## L1MessageServiceV1 | ||
# `L1MessageServiceV1` | ||
|
||
### nextMessageNumber | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
...api/messageService/l2/L2MessageManager.md → ...pi/messageService/l2/L2MessageManager.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## L2MessageManager | ||
# `L2MessageManager` | ||
|
||
### L1_L2_MESSAGE_SETTER_ROLE | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
...api/messageService/l2/L2MessageService.md → ...pi/messageService/l2/L2MessageService.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## L2MessageService | ||
# `L2MessageService` | ||
|
||
### CONTRACT_VERSION | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
...essageService/l2/v1/L2MessageManagerV1.md → ...ssageService/l2/v1/L2MessageManagerV1.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## L2MessageManagerV1 | ||
# `L2MessageManagerV1` | ||
|
||
### INBOX_STATUS_UNKNOWN | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
...essageService/l2/v1/L2MessageServiceV1.md → ...ssageService/l2/v1/L2MessageServiceV1.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## L2MessageServiceV1 | ||
# `L2MessageServiceV1` | ||
|
||
### MINIMUM_FEE_SETTER_ROLE | ||
|
||
|
4 changes: 1 addition & 3 deletions
4
.../api/messageService/lib/MessageHashing.md → ...api/messageService/lib/MessageHashing.mdx
This file contains 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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
# Solidity API | ||
|
||
## MessageHashing | ||
# `MessageHashing` | ||
|
||
### _hashMessage | ||
|
||
|
Oops, something went wrong.