Skip to content

safe-global/safe-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b99e57f · Feb 3, 2025
Feb 3, 2025
Jan 24, 2024
Oct 17, 2024
Jan 24, 2025
Jan 31, 2025
Jan 16, 2025
Jan 23, 2025
Feb 3, 2025
Oct 17, 2024
Dec 18, 2024
Jan 24, 2024
Jul 29, 2024
Oct 17, 2024
Feb 13, 2024
Oct 17, 2024
Apr 25, 2024
Aug 9, 2024
Jan 8, 2025
Jan 31, 2024
Jan 24, 2024
Oct 28, 2024
Apr 25, 2024
Sep 18, 2024
Apr 25, 2024
Jan 24, 2025
Jan 21, 2025
Dec 23, 2024
Aug 20, 2024
Oct 17, 2024

Repository files navigation

Safe Documentation

License GitHub package.json version (branch)

This repository hosts Safe documentation.

The documentation is built with Nextra and is live at docs.safe.global.

Installation

Install the dependencies using pnpm:

pnpm install

Development

Git hooks are set up to run tests and linting checks before every git push. These hooks can be executed locally by running the following command:

pnpm prepush

All links in the documentation are checked for validity on every pull request. These checks can be executed locally by running the following command:

pnpm linkcheck

Execution

The project can be run with a server that's executed in development and production mode.

Development mode

Run the server in development mode using the following command:

pnpm dev

Production mode

Build the project:

pnpm build

Run the server in production mode using the following command:

pnpm start

Testing

Create an environment file in the root of the project and copy the content from the .env.example file using the following command:

cp .env.example .env

Remember to update the environment variables once the .env file is created.

Run the tests using the following command:

pnpm test

License

This project is licensed under the MIT License.

Contributing

Contributions are more than welcome! Please open an issue or create a pull request by following our contributions guidelines.