Skip to content

OpenScience-Collective/documentation

Repository files navigation

Open Science Collective Documentation

Documentation for the Open Science Collective and its projects, built with MkDocs Material.

Quick Start

Prerequisites

  • Python 3.11+
  • uv (Python package manager)
  • Bun (for scripts)
  • Wrangler (for Cloudflare deployment)

Installation

# Clone the repository with submodules
git clone --recursive https://github.com/OpenScience-Collective/documentation
cd documentation

# Or if already cloned, initialize submodules
git submodule update --init --recursive

# Install dependencies
uv sync

Local Development

# Start the development server
bun run dev
# or
uv run mkdocs serve

Visit http://localhost:8000 to view the documentation.

Building

# Build static site
bun run build
# or
uv run mkdocs build

Deployment

Deploy to Cloudflare Pages:

bun run deploy

This builds the site and deploys to osc-docs.pages.dev.

Structure

documentation/
├── docs/                    # Markdown source files
│   ├── index.md            # Homepage
│   ├── collective/         # Collective documentation
│   │   ├── about.md
│   │   ├── mission.md
│   │   └── contributing.md
│   └── osa/                # Open Science Assistant docs
│       ├── index.md
│       ├── getting-started.md
│       ├── architecture.md
│       ├── cli-reference.md
│       ├── api-reference.md
│       ├── development.md
│       └── tools/          # Tool documentation
├── osa/                    # OSA submodule (for API docs)
├── scripts/                # Build scripts
│   └── gen_ref_pages.py   # API reference generator
├── overrides/              # Theme customizations
├── mkdocs.yml              # MkDocs configuration
├── pyproject.toml          # Python dependencies
├── package.json            # Bun scripts
└── wrangler.toml           # Cloudflare Pages config

Submodules

This documentation uses Git submodules to include source code for API documentation:

  • osa/ - Open Science Assistant source code

To update submodules:

git submodule update --remote

License

BSD-3-Clause - see LICENSE for details.

About

Documentations of the OSC projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages