Skip to content

docs: add comprehensive table of contents #506

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
76 changes: 67 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,42 @@
![Obol Logo](https://obol.tech/obolnetwork.png)

<h1 align="center">Obol Network</h1>

This repo intends to serve as a documentation site for the Obol Network.

## Quickstart

This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.
<h1 align="center">Obol Network Documentation</h1>

Welcome to the official documentation repository for the Obol Network. This documentation site aims to provide comprehensive information about the Obol Network, its components, and how to participate in the ecosystem.

## 📋 Table of Contents

- [Prerequisites](#-prerequisites)
- [Quickstart](#-quickstart)
- [Installation](#installation)
- [Local Development](#local-development)
- [Build](#build)
- [Deployment](#deployment)
- [Versioning](#versioning)
- [Create a docs version](#create-a-docs-version)
- [Add a Version Dropdown](#add-a-version-dropdown)
- [Update an existing version](#update-an-existing-version)
- [Translate your site](#translate-your-site)
- [Configure i18n](#configure-i18n)
- [Translate a doc](#translate-a-doc)
- [Start your localized site](#start-your-localized-site)
- [Add a Locale Dropdown](#add-a-locale-dropdown)
- [Build your localized site](#build-your-localized-site)
- [Contributing](#-contributing)
- [Development Guidelines](#development-guidelines)
- [Known Issues and Troubleshooting](#-known-issues-and-troubleshooting)
- [Useful Links](#-useful-links)

## 📋 Prerequisites

Before you begin, ensure you have the following installed:
- [Node.js](https://nodejs.org/) (v14 or higher)
- [Yarn](https://yarnpkg.com/) package manager
- Git

## 🚀 Quickstart

This documentation site is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.

### Installation

Expand Down Expand Up @@ -177,6 +207,34 @@ Or build your site to include all the locales at once:
npm run build
```

## Notes/Bugs/Gotchas
## 🤝 Contributing

We welcome contributions from the community! Here's how you can help:

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Make your changes
4. Run tests and ensure the site builds locally
5. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
6. Push to the branch (`git push origin feature/AmazingFeature`)
7. Open a Pull Request

### Development Guidelines

- Follow the existing documentation structure
- Use clear and concise language
- Include code examples where appropriate
- Add screenshots for UI-related changes
- Update the table of contents if necessary

## 🐛 Known Issues and Troubleshooting

- When running the development server, only one locale can be used at a time
- Ensure all image paths are correct when adding new documentation
- Check the [Docusaurus documentation](https://docusaurus.io/docs) for advanced configuration options

## 🔗 Useful Links

Configure a documentation page's extra details with these [metadata fields](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-docs#markdown-frontmatter).
- [Obol Network Website](https://obol.tech)
- [Docusaurus Documentation](https://docusaurus.io/docs)
- [Markdown Guide](https://www.markdownguide.org/)