Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
{
"name": "Stellar Docs - Docusaurus/Yarn",
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22",
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-24",
"hostRequirements": {
"cpus": 2
},
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '22'
node-version: '24'
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/crowdin-download-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
node-version: "24"

- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/crowdin-upload-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22"
node-version: "24"
cache: "yarn"
cache-dependency-path: "**/yarn.lock"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '22'
node-version: '24'
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'

Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v22
v24
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ENV DEBIAN_FRONTEND=noninteractive
ENV INLINE_RUNTIME_CHUNK=false
RUN apt-get update && apt-get install --no-install-recommends -y gpg curl git make ca-certificates apt-transport-https && \
curl -sSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key|gpg --dearmor >/etc/apt/trusted.gpg.d/nodesource-key.gpg && \
echo "deb https://deb.nodesource.com/node_22.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
echo "deb https://deb.nodesource.com/node_24.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg |gpg --dearmor >/etc/apt/trusted.gpg.d/yarnpkg.gpg && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
apt-get update && apt-get install -y nodejs yarn && apt-get clean
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ If you have questions, feel free to ask in the [Stellar Developer Discord](https

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

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

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

```bash
npm run check:mdx # this will search for problems in the MDX files
npm run format:mdx # this will fix any problems that were found
yarn check:mdx # this will search for problems in the MDX files
yarn format:mdx # this will fix any problems that were found
```

After that you need to build the `routes.txt` file, to do that run the next command
Expand Down Expand Up @@ -258,7 +258,6 @@ export const CODE_LANGS = {
[commonmark]: https://commonmark.org/help/
[tutorial]: https://www.markdowntutorial.com/
[guide]: https://www.markdownguide.org/
[alert-example]: https://developers.stellar.org/docs/anchoring-assets/enabling-cross-border-payments/setting-up-test-server
[prism]: https://github.com/FormidableLabs/prism-react-renderer
[open-in-github-codespaces]: https://github.com/codespaces/new?repo=stellar/stellar-docs&editor=web
[open-in-code-anywhere]: https://app.codeanywhere.com/#https://github.com/stellar/stellar-docs
3 changes: 0 additions & 3 deletions docs/data/apis/horizon/api-reference/_category_.json

This file was deleted.

22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"crowdin:sync": "docusaurus write-translations && crowdin upload --no-progress --delete-obsolete && crowdin download --no-progress"
},
"dependencies": {
"@crowdin/cli": "^4.12.0",
"@docusaurus/core": "3.9.2",
"@docusaurus/faster": "3.9.2",
"@docusaurus/preset-classic": "3.9.2",
Expand All @@ -56,11 +55,11 @@
"js-yaml": "^4.1.1",
"patch-package": "^8.0.1",
"prism-react-renderer": "^2.4.1",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"rehype-katex": "^7.0.1",
"remark-math": "^6.0.0",
"sass": "^1.97.1"
"sass": "^1.98.0"
},
"browserslist": {
"production": [
Expand All @@ -75,22 +74,23 @@
]
},
"devDependencies": {
"@crowdin/cli": "^4.14.1",
"@docusaurus/eslint-plugin": "3.9.2",
"@docusaurus/module-type-aliases": "3.9.2",
"@docusaurus/tsconfig": "3.9.2",
"@docusaurus/types": "3.9.2",
"@eslint/eslintrc": "3.3.3",
"@eslint/js": "9.39.2",
"@redocly/cli": "2.14.1",
"@eslint/eslintrc": "3.3.5",
"@eslint/js": "10.0.1",
"@redocly/cli": "2.25.1",
"@stellar/prettier-config": "^1.2.0",
"eslint": "9.39.2",
"glob":"^13.0.6",
"eslint": "10.1.0",
"glob": "^13.0.6",
"husky": "^9.1.7",
"prettier": "3.7.4",
"prettier": "3.8.1",
"typescript": "5.9.3"
},
"engines": {
"node": ">=22"
"node": ">=24"
},
Comment thread
ElliotFriend marked this conversation as resolved.
"packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
}
Loading
Loading