Skip to content

Commit 2d8744a

Browse files
committed
Merge branch 'main' of github.com:stellar/stellar-docs into migrate-contract-storage
2 parents 394b9f6 + 971ecf9 commit 2d8744a

64 files changed

Lines changed: 4456 additions & 2554 deletions

File tree

Some content is hidden

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

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
33
{
44
"name": "Stellar Docs - Docusaurus/Yarn",
5-
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22",
5+
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-24",
66
"hostRequirements": {
77
"cpus": 2
88
},

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Node
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: '22'
23+
node-version: '24'
2424
cache: 'yarn'
2525
cache-dependency-path: '**/yarn.lock'
2626

.github/workflows/crowdin-download-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
- name: Set up Node.js
7272
uses: actions/setup-node@v4
7373
with:
74-
node-version: "22"
74+
node-version: "24"
7575

7676
- name: Install dependencies
7777
run: yarn install --frozen-lockfile

.github/workflows/crowdin-upload-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Node
1717
uses: actions/setup-node@v4
1818
with:
19-
node-version: "22"
19+
node-version: "24"
2020
cache: "yarn"
2121
cache-dependency-path: "**/yarn.lock"
2222

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup Node
2727
uses: actions/setup-node@v4
2828
with:
29-
node-version: '22'
29+
node-version: '24'
3030
cache: 'yarn'
3131
cache-dependency-path: '**/yarn.lock'
3232

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v22
1+
v24

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ENV DEBIAN_FRONTEND=noninteractive
88
ENV INLINE_RUNTIME_CHUNK=false
99
RUN apt-get update && apt-get install --no-install-recommends -y gpg curl git make ca-certificates apt-transport-https && \
1010
curl -sSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key|gpg --dearmor >/etc/apt/trusted.gpg.d/nodesource-key.gpg && \
11-
echo "deb https://deb.nodesource.com/node_22.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
11+
echo "deb https://deb.nodesource.com/node_24.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
1212
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg |gpg --dearmor >/etc/apt/trusted.gpg.d/yarnpkg.gpg && \
1313
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
1414
apt-get update && apt-get install -y nodejs yarn && apt-get clean

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ If you have questions, feel free to ask in the [Stellar Developer Discord](https
6161

6262
To begin development on the documentation, you will first need to install the following:
6363

64-
- Node.js (v22, or higher): see https://nodejs.org/en/download/package-manager for details for your system
64+
- Node.js (v24, or higher): see https://nodejs.org/en/download/package-manager for details for your system
6565
- npm: e.g. `sudo apt install npm` on Ubuntu
6666
- yarn: `npm install yarn`
6767
- If you're getting dependency errors, try using `npm install yarn --legacy-peer-deps`
@@ -75,7 +75,7 @@ Once all the prerequisites have been installed, you can run the following comman
7575
git clone https://github.com/stellar/stellar-docs
7676
cd stellar-docs
7777
yarn install
78-
npx docusaurus start
78+
yarn start
7979
```
8080

8181
This will begin the development server, and open a browser window/tab pointing
@@ -86,8 +86,8 @@ After you've made your changes, use the following commands to ensure the consist
8686
MDX file formatting and style across the repository:
8787

8888
```bash
89-
npm run check:mdx # this will search for problems in the MDX files
90-
npm run format:mdx # this will fix any problems that were found
89+
yarn check:mdx # this will search for problems in the MDX files
90+
yarn format:mdx # this will fix any problems that were found
9191
```
9292

9393
After that you need to build the `routes.txt` file, to do that run the next command
@@ -258,7 +258,6 @@ export const CODE_LANGS = {
258258
[commonmark]: https://commonmark.org/help/
259259
[tutorial]: https://www.markdowntutorial.com/
260260
[guide]: https://www.markdownguide.org/
261-
[alert-example]: https://developers.stellar.org/docs/anchoring-assets/enabling-cross-border-payments/setting-up-test-server
262261
[prism]: https://github.com/FormidableLabs/prism-react-renderer
263262
[open-in-github-codespaces]: https://github.com/codespaces/new?repo=stellar/stellar-docs&editor=web
264263
[open-in-code-anywhere]: https://app.codeanywhere.com/#https://github.com/stellar/stellar-docs

config/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ export const CODE_LANGS = {
3939
yaml: 'YAML',
4040
};
4141

42-
const GOOGLE_TRANSLATE_LANGUAGES: string = "af,sq,am,en,fa,ar,ps,ja,zh-CN,hy,az,eu,be,bn,bs,bg,ca,ceb,ny,zh-TW,co,hr,cs,da,nl,eo,et,tl,fi,fr,fy,gl,ka,de,el,gu,ht,ha,haw,iw,hi,hmn,hu,is,ig,id,ga,it,jw,kn,kk,km,ko,ku,ky,lo,la,lv,lt,lb,mk,mg,ms,ml,mt,mi,mr,mn,my,ne,no,pl,pt,pa,ro,ru,sm,gd,sr,st,sn,sd,si,sk,sl,so,es,su,sw,sv,tg,ta,te,th,tr,uk,ur,uz,vi,cy,xh,yi,yo,zu";
42+
const GOOGLE_TRANSLATE_LANGUAGES: string = "af,sq,am,en,fa,ar,ps,ja,zh-CN,hy,az,eu,be,bn,bs,bg,ca,ceb,ny,zh-TW,co,hr,cs,da,nl,eo,et,tl,fi,fr,fy,gl,ka,de,el,gu,ht,ha,haw,iw,hi,hmn,hu,is,ig,id,ga,it,jw,kn,kk,km,rw,ko,ku,ky,lo,la,lv,lt,lb,mk,mg,ms,ml,mt,mi,mr,mn,my,ne,no,pl,pt,pa,ro,ru,sm,gd,sr,st,sn,sd,si,sk,sl,so,es,su,sw,sv,tg,ta,te,th,tr,uk,ur,uz,vi,cy,xh,yi,yo,zu";
4343
export const GOOGLE_TRANSLATE_ELEMENT: string = `<a href="#" class="my-google-translate-button" onclick="new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: '${GOOGLE_TRANSLATE_LANGUAGES}'}, 'google_translate_element'); return false;"></a>`;

config/theme/navbar.ts

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,26 @@ const build: NavbarItem = {
7979
label: 'Tutorial: Dapp Frontend',
8080
activeBasePath: 'docs/build/apps/dapp-frontend',
8181
},
82-
{
83-
to: '/docs/build/apps/x402',
84-
label: 'x402 on Stellar',
85-
activeBasePath: 'docs/build/apps/x402',
86-
},
8782
{
8883
to: '/docs/build/apps/zk',
8984
label: 'ZK Proofs on Stellar',
9085
activeBasePath: 'docs/build/apps/zk',
9186
},
87+
{
88+
type: 'html',
89+
value: '<hr><a href="/docs/build/agentic-payments" class="subtitle"><small>Agentic Payments</small>',
90+
className: 'subtitle',
91+
},
92+
{
93+
to: '/docs/build/agentic-payments/x402',
94+
label: 'x402 on Stellar',
95+
activeBasePath: 'docs/build/agentic-payments/x402',
96+
},
97+
{
98+
to: '/docs/build/agentic-payments/mpp',
99+
label: 'MPP on Stellar',
100+
activeBasePath: 'docs/build/agentic-payments/mpp',
101+
},
92102
{
93103
type: 'html',
94104
value: '<hr><a href="/docs/build/guides" class="subtitle"><small>How-To Guides</small>',

0 commit comments

Comments
 (0)