Skip to content

Update from main repo #7

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
merged 417 commits into from
Jun 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
417 commits
Select commit Hold shift + click to select a range
39bb7e0
Merge pull request #166 from scroll-tech/isabellewei/running-a-node
dghelm Apr 2, 2024
95b72aa
update bridge api links
isabellewei Apr 8, 2024
4fbeeea
Merge pull request #226 from scroll-tech/isabellewei/bridge-api
isabellewei Apr 10, 2024
700160a
sepolia bernoulli upgrade
isabellewei Apr 10, 2024
ce16427
PR comments
isabellewei Apr 11, 2024
529e7fe
remove Tabs, just use multiple sections for now
isabellewei Apr 12, 2024
5fe271a
audit and prover changes not yet availalbe
isabellewei Apr 15, 2024
bdf5809
update sepolia date + add TG chat
isabellewei Apr 15, 2024
f2883c9
drop nesting warning, fix flash of unformatted header, fix css build …
dghelm Apr 15, 2024
faab603
use transition only outside homepage
dghelm Apr 15, 2024
dc1dc92
fix relative path to include language for english whats next pages
dghelm Apr 15, 2024
a30b9bb
Merge pull request #220 from scroll-tech/upgrade-astro-version-v4
dghelm Apr 15, 2024
79c690e
Merge pull request #227 from scroll-tech/isabellewei/bernoulli-sepolia
dghelm Apr 15, 2024
da47ce7
add point evaluation and additional opcode
dghelm Apr 15, 2024
289f68b
Merge branch 'develop' of github.com:scroll-tech/scroll-documentation…
dghelm Apr 15, 2024
7f258ce
fix Aside import
dghelm Apr 15, 2024
278f61a
Merge pull request #216 from scroll-tech/update/post-dencun-clarifica…
dghelm Apr 15, 2024
437456d
Merge pull request #212 from Maxservais/patch-1
dghelm Apr 16, 2024
26a71b2
Merge pull request #162 from dembelekaro/patch-1
dghelm Apr 16, 2024
876cf87
Merge pull request #192 from markscroller/develop
dghelm Apr 16, 2024
0f2d027
Merge pull request #185 from pafaecks/develop
dghelm Apr 16, 2024
e66d6c3
Merge pull request #206 from CuongDuong2710/patch-1
dghelm Apr 16, 2024
cec9b76
Merge pull request #208 from CuongDuong2710/patch-2
dghelm Apr 16, 2024
64918b0
Merge branch 'develop' into patch-1
dghelm Apr 16, 2024
1673f8e
Merge pull request #214 from Shawn-ata/patch-1
dghelm Apr 16, 2024
3f507b5
Update withdraw-gateways.mdx (#231)
floydlin Apr 17, 2024
a2c9466
Merge branch 'develop' into develop
dghelm Apr 17, 2024
95bb651
various typos, minor issues
dghelm Apr 17, 2024
ae2bc86
Merge pull request #190 from KyryloKilin/develop
dghelm Apr 17, 2024
333eddc
Merge branch 'develop' of github.com:scroll-tech/scroll-documentation…
dghelm Apr 17, 2024
ca86983
Merge branch 'develop' of github.com:scroll-tech/scroll-documentation…
dghelm Apr 17, 2024
8efa24c
fix duplication in artice-components page
dghelm Apr 17, 2024
285d32e
Merge pull request #232 from scroll-tech/fix/past-issues
dghelm Apr 17, 2024
9f10e0c
Merge pull request #114 from scroll-tech/feat/add-tab-component
dghelm Apr 17, 2024
3c69c2d
change relative link which breaks in prod
dghelm Apr 19, 2024
51e094a
Merge pull request #234 from scroll-tech/fix/rpc-link
dghelm Apr 19, 2024
37ad288
add mainnet dates
isabellewei Apr 23, 2024
c8b9b10
add Safe to contract page
isabellewei Apr 24, 2024
b06a7b4
bernoulli mainnet upgrade
isabellewei Apr 24, 2024
b1d93b4
fix typo
isabellewei Apr 24, 2024
e63ee3c
add sepolia contracts
isabellewei Apr 25, 2024
5804681
Merge pull request #237 from scroll-tech/isabellewei/safe-url
dghelm Apr 26, 2024
5e894ca
reintroduce old codec format as Archimedes
dghelm Apr 26, 2024
864755d
ZKEVM -> zkEVM
dghelm Apr 26, 2024
81bb7d7
Merge branch 'develop' into isabellewei/bernoulli-mainnet
dghelm Apr 26, 2024
09e87ef
fix absolute url
dghelm Apr 26, 2024
62ab844
fix oz link markdown
dghelm Apr 26, 2024
1a34517
Merge pull request #238 from scroll-tech/isabellewei/bernoulli-mainnet
dghelm Apr 26, 2024
64dec35
update node version
dghelm May 17, 2024
c461dda
Merge pull request #245 from scroll-tech/update-node-version
dghelm May 17, 2024
b0a1397
amend bridge instructions to not be sepolia specific, add new deposit…
isabellewei May 17, 2024
0eefc02
improve tabs style
zzq0826 May 18, 2024
b2acb23
enhance L1GasPriceOracle contract documentation
szymcio32 May 18, 2024
ad207a0
PR comments
isabellewei May 20, 2024
43b0e90
Merge pull request #246 from scroll-tech/isabellewei/economy-bridge
dghelm May 20, 2024
ddad008
Merge pull request #247 from scroll-tech/improve-tabs-style
dghelm May 20, 2024
5da2a76
Merge pull request #249 from szymcio32/develop
dghelm May 20, 2024
332ee45
Add info on Safe transition
isabellewei May 22, 2024
724b444
Merge pull request #251 from scroll-tech/isabellewei/safe-transition
dghelm May 23, 2024
7246041
swap two fonts, "trans-sans" and "Roboto Flex", for Roboto
zzq0826 May 26, 2024
361a9b2
feat: Add turkish transalation (build fix) (#256)
Turupawn May 28, 2024
2006838
update genesis.json
isabellewei Jun 3, 2024
67a7fce
Merge pull request #259 from scroll-tech/isabellewei/genesis
dghelm Jun 3, 2024
f5e7cb2
Merge pull request #253 from scroll-tech/update-doc-typeface
dghelm Jun 3, 2024
4a405ff
feat: update node operator doc for Curie (#264)
Thegaram Jun 12, 2024
1ae63b9
Test Update assessment reports.
Jun 14, 2024
08c53b2
Update assessment reports.
Jun 14, 2024
2c06a44
fix stray empty item in list
dghelm Jun 17, 2024
63bb328
Merge pull request #267 from scroll-tech/report-update
dghelm Jun 17, 2024
07d1f80
Curie updates (#271)
isabellewei Jun 18, 2024
40c2df2
curie-update-libzkp-version
colinlyguo Jun 20, 2024
7dc2fbe
Merge pull request #276 from scroll-tech/curie-upgrade-update-circuit…
colinlyguo Jun 20, 2024
eaa7858
security nit
isabellewei Jun 20, 2024
403edec
move contact info into highlight
isabellewei Jun 20, 2024
2055873
change Aside type
isabellewei Jun 20, 2024
84689dd
Merge pull request #277 from scroll-tech/isabellewei/security
Jun 21, 2024
e064a7b
Update running-a-scroll-node.mdx (#278)
Thegaram Jun 24, 2024
3930a4c
nodeKey hashing are done with domain 512 not 256
jimjimvalkema Jun 25, 2024
8e81ea8
Merge pull request #282 from jimjimvalkema/patch-1
dghelm Jun 27, 2024
5c695f2
add get in touch button
zzq0826 Jul 3, 2024
94cfcdd
Revert "add get in touch button"
zzq0826 Jul 3, 2024
654f88a
Add get in touch button
zzq0826 Jul 3, 2024
1fa78f5
Update style
zzq0826 Jul 3, 2024
88c405d
Fix typo
zzq0826 Jul 3, 2024
907636c
Remove button
zzq0826 Jul 3, 2024
06762a0
Make the sidebar collapsible.
zzq0826 Jul 3, 2024
d89b925
Update style
zzq0826 Jul 3, 2024
c304f38
Add link
zzq0826 Jul 4, 2024
25a4e04
Curie update details (#286)
isabellewei Jul 5, 2024
af03e20
feat: add note about tx ordering (#296)
Thegaram Jul 10, 2024
7766afb
Update info on opcodes (#297)
isabellewei Jul 12, 2024
e115453
Add Tooling deployed On Scroll (#258)
zzq0826 Jul 16, 2024
5aba47e
Adjust darkmode color
zzq0826 Jul 17, 2024
284bc12
Merge pull request #301 from scroll-tech/sibebar-improvement
dghelm Jul 18, 2024
a97dce7
Merge pull request #290 from scroll-tech/add-get-in-touch-button
dghelm Jul 18, 2024
d554c8f
Fix tabs style and adjust text contrast
zzq0826 Jul 22, 2024
ae30f0c
Syntax Highlighting
zzq0826 Jul 22, 2024
ed2922a
Add steps component
zzq0826 Jul 22, 2024
ce8cfd6
Update astro.config.ts
zzq0826 Jul 22, 2024
1dd9c08
Merge pull request #303 from scroll-tech/dark-mode-style
dghelm Jul 22, 2024
40b3c8a
Merge pull request #304 from scroll-tech/syntax-highlighting
dghelm Jul 22, 2024
c7f3925
Merge pull request #306 from scroll-tech/steps-component
dghelm Jul 22, 2024
42b72b1
add initial edits for Scroll SDK pages
dghelm Jul 22, 2024
d192a66
adds content for remaining pages. missing helm info
dghelm Jul 23, 2024
f3dc577
fix guide table
dghelm Jul 23, 2024
ec4814e
revision pass on services page
dghelm Jul 23, 2024
37e2c0b
add communication diagram
dghelm Jul 25, 2024
cea0dd3
add contract deployment details and alphabetize services
dghelm Jul 26, 2024
69bb5b7
added chain-monitor and remove event-watcher
dghelm Jul 29, 2024
bf4ef62
manual contract deployment tip
dghelm Jul 30, 2024
6702a03
update arm64 guide and prover RAM requirements
dghelm Jul 31, 2024
29b7d9e
updates for newest changes in SDK
dghelm Aug 1, 2024
fe94ea8
remove event watcher from communication diagram
dghelm Aug 5, 2024
3c09051
add Scroll Sepolia ETH faucet link from ThirdWeb & Hackquest
PrintRH Aug 6, 2024
dbbe64b
Merge pull request #315 from PrintRH/add-testnet-faucets
dghelm Aug 6, 2024
3efcfe7
add darwin to upgrades page
isabellewei Aug 6, 2024
67e38c7
update codec
isabellewei Aug 6, 2024
421dfbc
update contract function
isabellewei Aug 6, 2024
da9a82b
update node guide
isabellewei Aug 6, 2024
13747f9
Merge pull request #316 from scroll-tech/isabellewei/darwin
dghelm Aug 21, 2024
13b81e2
Add Across in tools page (#320)
abg4 Aug 22, 2024
22304a2
Added Chainlink to Scroll Developer tooling
melchermaxwell Aug 23, 2024
5118290
Added Chainlink to Scroll dev tools
melchermaxwell Aug 23, 2024
2625b1a
Update src/content/tools/en/chainlink.mdx
melchermaxwell Aug 26, 2024
f94d70e
add sentio to the tool section
zfy0701 Aug 23, 2024
5295d37
first adjustment for prod readiness
dghelm Aug 26, 2024
92ce7d8
adjust guide for macos
dghelm Aug 26, 2024
ee6c7a7
add devnet guide to sidebar
dghelm Aug 26, 2024
e1acf01
add start of prod doc
dghelm Aug 26, 2024
e88edc5
add prod doc to sidebar
dghelm Aug 26, 2024
e1c6f7e
Merge pull request #322 from melchermaxwell/feature/add-Chainlink
ChuhanJin Aug 29, 2024
9243fe6
Merge pull request #324 from sentioxyz/develop
ChuhanJin Aug 29, 2024
6d1e1ce
first pass on digital ocean guide
dghelm Sep 5, 2024
4868e2f
add scalar command for altgas
dghelm Sep 5, 2024
b796c7f
fix scroll-sdk chart links
dghelm Sep 6, 2024
55588e3
update to 'make delete' and include pvc deletion
dghelm Sep 6, 2024
10a7e11
Darwinv2 changes (#332)
isabellewei Sep 6, 2024
bb947ab
clean up DO guide
dghelm Sep 7, 2024
23ceb93
add node affinity section
dghelm Sep 9, 2024
2af66b3
add replica section
dghelm Sep 9, 2024
44e388c
fix places where scroll-stack has been replaced by scroll-sdk
dghelm Sep 9, 2024
86878a6
added guide for the graph (#334)
alinobrasil Sep 12, 2024
b5542fa
add ingress-dns troubleshooting
dghelm Sep 13, 2024
1fd22a2
add alchemy to scroll tools
SahilAujla Sep 23, 2024
91dd05e
update text in alchemy.mdx
SahilAujla Sep 23, 2024
a36e4b0
Merge pull request #338 from SahilAujla/develop
emilyJLin95 Sep 23, 2024
f33ca16
add 0x to dev tooling explorer
jlin27 Sep 25, 2024
395e1c6
fix feedback
jlin27 Sep 26, 2024
3d0db0a
first pass on operations, along with prometheus metrics
dghelm Sep 26, 2024
0e1940b
fix import path
dghelm Sep 26, 2024
33d50db
Merge pull request #342 from jlin27/develop
emilyJLin95 Sep 27, 2024
ac9ddf8
small fixes
dghelm Oct 1, 2024
48573f9
update to latest deployment method
dghelm Oct 8, 2024
da760fa
Guide for adding Canvas badges (#333)
isabellewei Oct 15, 2024
e9bceed
first pass preparing for public launch
dghelm Oct 16, 2024
d959dac
doc: add aws deployment
paul-unifra Oct 16, 2024
4b9e4e8
doc: add configuring persistent storage section
paul-unifra Oct 16, 2024
10ed5ff
doc: add cloudflare dns screenshot
paul-unifra Oct 16, 2024
0562457
Merge pull request #372 from paul-unifra/paul/aws-deploy
dghelm Oct 17, 2024
f85bf41
doc: add external-secrets service account creation guide
paul-unifra Oct 17, 2024
9580664
doc: add gp3 sc creation guide and reverting RDS to private access guide
paul-unifra Oct 17, 2024
5c4692a
fix rds security group ingress instructions; allow cluster rather tha…
paul-unifra Oct 17, 2024
4b7437e
Merge pull request #373 from paul-unifra/paul/aws-deploy
dghelm Oct 17, 2024
d79deef
small aws guide fixes
dghelm Oct 17, 2024
c6994fd
merge scroll-sdk-init
dghelm Oct 17, 2024
04c86a4
scaffold additional pages
dghelm Oct 18, 2024
d1bc2c0
Remove Community Forum
zzq0826 Oct 19, 2024
6d26c6f
merge develop
dghelm Oct 20, 2024
77ac002
add troubleshooting page
dghelm Oct 20, 2024
8995111
add section monitor
shu-unifra Oct 22, 2024
7712a90
remove step of install kube-prometheus-stack
shu-unifra Oct 22, 2024
a4ce7a0
remove arm64mac translation
dghelm Oct 22, 2024
49e063c
trigger build
dghelm Oct 22, 2024
2028259
trigger build test 2
dghelm Oct 22, 2024
10b5119
1. add motoring section to digital ocean guide
shu-unifra Oct 23, 2024
598b638
add external proof provider info
dghelm Oct 23, 2024
981e03c
Merge branch 'scroll-sdk-init' into scroll-sdk
dghelm Oct 23, 2024
c39b815
fix command 'helm upgrade' should with option '--reuse-values'
shu-unifra Oct 25, 2024
10a40d8
add frontpage item for sdk, missing icon
dghelm Oct 25, 2024
12f5cd6
add sdk svg
dghelm Oct 25, 2024
c59a439
Merge pull request #376 from shu-unifra/scroll-sdk-init-monitor
dghelm Oct 26, 2024
8698048
update SDK translations in Navigate panel
dghelm Oct 28, 2024
5012a40
add scroll-metrics update
dghelm Oct 28, 2024
bf2c9c1
review technical-stack docs, pt 1
dghelm Oct 28, 2024
5991608
review technical-stack docs, pt 1
dghelm Oct 29, 2024
8205d6a
review technical-stack docs, pt 2
dghelm Oct 29, 2024
4fd487b
review operating-a-chain: gas mgmt
dghelm Oct 29, 2024
35b4b67
review operating-a-chain: gas mgmt, audit additions
dghelm Oct 29, 2024
c4a3cc4
review operating-a-chain: monitoring
dghelm Oct 30, 2024
3491c41
review operating-a-chain: monitoring and upgrading
dghelm Oct 30, 2024
ad5bc70
add guide: customizing sdk component
dghelm Oct 30, 2024
71cb0df
review operating-a-chain: security
dghelm Oct 30, 2024
3a8a04a
Remove outdated content
Oct 30, 2024
c3b2eb2
Merge pull request #380 from scroll-tech/oracle-fix
dghelm Oct 30, 2024
2980090
add ubuntu to devnet guide
dghelm Oct 30, 2024
cd366ed
fixes to devnet guide
dghelm Oct 30, 2024
10ed793
Merge pull request #13 from scroll-tech/scroll-sdk
Turupawn Oct 30, 2024
79e74ae
fix: linux user docker setup
Turupawn Oct 30, 2024
23c746e
Merge pull request #383 from Turupawn/sdk
dghelm Oct 31, 2024
cc4ba7d
add todos for cli updates and grafana dashboard img
dghelm Oct 31, 2024
d0b77e1
remove incomplete and dated Production Deployment page
dghelm Oct 31, 2024
16e4100
launch notes
dghelm Oct 31, 2024
77a4b18
Merge pull request #384 from scroll-tech/scroll-sdk
dghelm Oct 31, 2024
538db7c
fix: cli package references
dghelm Oct 31, 2024
7180b39
Merge pull request #386 from scroll-tech/cli-link-fix
dghelm Oct 31, 2024
65931d3
SDK: additional fixes
dghelm Oct 31, 2024
e9e4ea6
Merge pull request #388 from scroll-tech/additional-sdk-launch-fixes
dghelm Oct 31, 2024
a508e97
SDK: additional fixes, remove integrations
dghelm Oct 31, 2024
f9bff13
Merge pull request #390 from scroll-tech/remove-sdk-integrations
dghelm Oct 31, 2024
b09bea4
fix: SDK index links
dghelm Oct 31, 2024
9e4d2ed
Merge pull request #391 from scroll-tech/sdk-front-url-fix
dghelm Oct 31, 2024
5aff158
Fixed broken link
Nov 5, 2024
8bc6516
Merge pull request #393 from scroll-tech/fix-sdk-link
dghelm Nov 5, 2024
0120352
Refine Devnet deployment doc
PrintRH Nov 7, 2024
c2f5925
Merge pull request #395 from PrintRH/refine-sdk-doc
yiweichi Nov 9, 2024
c34d85b
resolve gtag issue (#396)
zzq0826 Nov 22, 2024
98bce39
update sdk to support contracts verification
yiweichi Nov 22, 2024
a9a7fea
feat: update sdk to support contracts verification
yiweichi Nov 25, 2024
e5e7a41
Adding Reown as one of the Tooling deployed on Scroll
rohit-710 Nov 27, 2024
288edc0
Update reown.mdx
rohit-710 Nov 27, 2024
c3d353f
update sdk docs
yiweichi Nov 28, 2024
3a59399
fix: update sdk deployment docs
yiweichi Nov 28, 2024
2759814
Update reown.mdx to make minor improvements
rohit-710 Nov 28, 2024
14aefa8
Merge pull request #401 from rohit-710/develop
emilyJLin95 Dec 2, 2024
606df5a
feat: add docs about L1 follower node (#374)
jonastheis Dec 19, 2024
2d841e1
Update favicon.ico
zzq0826 Jan 9, 2025
640a58c
update favicon.ico
zzq0826 Jan 9, 2025
d546fe2
feat(docs): add Pyth to Scroll docs (#413)
mariobern Jan 9, 2025
8efbbd7
docs: add mainnet setup
PrintRH Feb 5, 2025
1091e8c
docs: clarify edits
PrintRH Feb 5, 2025
414aabf
docs: restructure sidebar
PrintRH Feb 5, 2025
094d6c7
Fix: #418 Arcana Network new content addition request under tooling s…
shaloo Feb 6, 2025
3646b17
Merge pull request #416 from PrintRH/doc-update
PrintRH Feb 6, 2025
1388474
Merge pull request #419 from shaloo/develop
emilyJLin95 Feb 11, 2025
8f1afc2
Initial Euclid docs changes
filbert-nicholas Apr 11, 2025
a64cc53
Initial doc update for Euclid
filbert-nicholas Apr 11, 2025
4c0ff20
Can you copy the content from "Note for Partners" and added compatibi…
filbert-nicholas Apr 11, 2025
69df8ed
Merge pull request #425 from scroll-tech/filbertn/update-docs-for-euclid
Scroll-Filbert Apr 14, 2025
c387eca
Merge branch 'develop' into filbertn/euclid-docs
Scroll-Filbert Apr 15, 2025
3c11191
Add Note for Partners to the page directly
filbert-nicholas Apr 15, 2025
ab5267d
Merge branch 'filbertn/euclid-docs' of https://github.com/scroll-tech…
filbert-nicholas Apr 15, 2025
c805dca
Add Trailer Of Bits Reports and Add Remedy Bounty Program
mssassii Apr 15, 2025
7ec8f5c
Merge pull request #428 from scroll-tech/add-audit-report-euclid-upgrade
roylou Apr 15, 2025
e638213
Adding QuickNode in toolings and fixed the Graph logo (#422)
Sahilsen Apr 23, 2025
8c7ccf1
Add deprecation message in docs for L1 Message Queue
filbert-nicholas Apr 24, 2025
dfd2ff4
Added from Euclid message
filbert-nicholas Apr 24, 2025
dc2e8d1
Merge pull request #424 from scroll-tech/filbertn/euclid-docs
Scroll-Filbert Apr 24, 2025
c32d0a0
Merge pull request #431 from scroll-tech/filbertn/l1messagequeue-depr…
Scroll-Filbert Apr 24, 2025
0fb2441
Update scroll L1 message queue v2
filbert-nicholas Apr 28, 2025
4cec495
Merge pull request #433 from scroll-tech/filbertn/l1-message-queue-v2…
Scroll-Filbert Apr 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.15.0
v20.13.1
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 16.16.0
nodejs 18.14.1
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,24 @@ npm install && npm run dev
- All articles are markdown and stored in `/src/content/docs/`.
- Navigation is JSON in `/src/config/sidebar.ts`

## Tooling on Scroll

If you'd like to add an entry to our [tooling list](http://docs.scroll.xyz/en/developers/scroll-contracts), create a PR to add a new `mdx` file in the [tooling content folder](src/content/tools), using the following template. You can also refer to other existing entries for reference.

```
---
name: "Safe"
category: ["Identity", "Wallet"]
excerpt: "Safe allows you to create smart wallet on chain."
logo: { src: "https://app.safe.global/images/safe-logo-green.png", alt: "Safe Logo" }
website: "https://app.safe.global"
network: ["Mainnet", "Testnet]
noAdditionalInfo: false
---

Add additional info here about how to access this tool on Scroll (ex. contract addresses, tutorials, API URLs)
```

## Credits

- Special thanks to the Chainlink team whose documentation we forked. Their repo is available [here](https://github.com/smartcontractkit/documentation) and viewable at [https://docs.chain.link/](https://docs.chain.link/).
2 changes: 1 addition & 1 deletion astro-i18next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
export default {
defaultLocale: "en",
showDefaultLocale: true,
locales: ["en", "zh", "es"],
locales: ["en", "es", "zh", "tr"],
load: ["server", "client"],
}
42 changes: 34 additions & 8 deletions astro.config.ts
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
import { defineConfig } from "astro/config"
import preact from "@astrojs/preact"
import react from "@astrojs/react"
import svgr from "vite-plugin-svgr"
import astroI18next from "astro-i18next"
import { astroCallouts, asideAutoImport } from "./integrations/astro-callouts"
import { solidityRemixCode, codeSampleAutoImport } from "./integrations/solidity-remix"
import { youtubeEmbed } from "./integrations/youtube-embed"
import mdx from "@astrojs/mdx"
import rehypeSlug from "rehype-slug"
import rehypeAutolinkHeadings from "rehype-autolink-headings"
import rehypeKatex from "rehype-katex"
import rehypeMermaid from "rehype-mermaidjs"
import remarkGfm from "remark-gfm"
import remarkMath from "remark-math"
import image from "@astrojs/image"
import AutoImport from "astro-auto-import"

import sitemap from "@astrojs/sitemap"

import tailwind from "@astrojs/tailwind"

import expressiveCode from "astro-expressive-code"

// https://astro.build/config
export default defineConfig({
site: "https://docs.scroll.io",
scopedStyleStrategy: "where",
legacy: {
astroFlavoredMarkdown: true,
},
Expand All @@ -32,21 +34,38 @@ export default defineConfig({
preact({
compat: true,
}),

sitemap({
changefreq: "daily",
}),
astroCallouts(),
solidityRemixCode(),
youtubeEmbed(),
expressiveCode({
themes: ["dark-plus"],
defaultProps: {
frame: "code",
},
styleOverrides: {
borderRadius: "27px",
borderColor: "transparent",
frames: {
shadowColor: "transparent",
editorTabBorderRadius: "0.5rem",
editorBackground: "#2b2b2b",
},
},
}),
mdx(),
image(),
tailwind({
// Example: Disable injecting a basic `base.css` import on every page.
// Useful if you need to define and/or import your own custom `base.css`.
config: { applyBaseStyles: false },
applyBaseStyles: false,
nesting: true,
}),

astroI18next(),
],
vite: {
plugins: [svgr()],
},
markdown: {
drafts: true,
remarkPlugins: [remarkMath, remarkGfm],
Expand All @@ -56,7 +75,14 @@ export default defineConfig({
[
rehypeAutolinkHeadings,
{
behavior: "append",
behavior: "wrap",
properties: {},
content: {
type: "element",
tagName: "span",
properties: { className: ["icon", "icon-link"] },
children: [],
},
},
],
[
Expand Down
2 changes: 1 addition & 1 deletion integrations/utils/makeComponentNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function makeComponentNode(
type: "mdxJsxFlowElement",
name,
attributes: Object.entries(attributes)
// Filter out non-truthy attributes to avoid empty attrs being parsed as `true`.
// Filter out non-truthy attributes to avoid empty attributes being parsed as `true`.
.filter(([_k, v]) => v !== false && Boolean(v))
.map(([name, value]) => ({
type: "mdxJsxAttribute",
Expand Down
25 changes: 0 additions & 25 deletions integrations/youtube-embed.ts

This file was deleted.

Loading