Skip to content

Latest commit

Β 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ASAP

ASAP β€” Documentation

VitePress documentation site for the Applied Strength & Advancement Platform. Deployed to GitHub Pages at asap-open.github.io/asap-docs.

πŸ“š Documentation Structure

docs/
β”œβ”€β”€ index.md                          # Homepage with hero section
β”œβ”€β”€ installation.md                   # Installation guide (Docker, Docker Compose, Manual)
β”œβ”€β”€ guide/
β”‚   β”œβ”€β”€ index.md                      # Introduction
β”‚   β”œβ”€β”€ quick-start.md                # Getting started guide
β”‚   └── features/
β”‚       β”œβ”€β”€ sessions.md               # Workout sessions feature
β”‚       β”œβ”€β”€ exercises.md              # Exercise library feature
β”‚       β”œβ”€β”€ progress.md               # Progress tracking feature
β”‚       └── profile.md                # Profile & stats feature
└── api/
    β”œβ”€β”€ authentication.md             # Auth API endpoints
    β”œβ”€β”€ sessions.md                   # Sessions API endpoints
    β”œβ”€β”€ exercises.md                  # Exercises API endpoints
    β”œβ”€β”€ profile.md                    # Profile API endpoints
    └── weights.md                    # Weights API endpoints

πŸš€ Running the Documentation

Development

cd docs
yarn install
yarn docs:dev

Documentation will be available at: http://localhost:5173

Build for Production

yarn docs:build

Preview Production Build

yarn docs:preview

🎨 Theme Customization

The documentation uses a custom VitePress theme matching the ASAP app design:

  • Primary Color: #13ecd6 (cyan/teal)
  • Font: Epilogue
  • Logo: /public/logo-2.webp

Theme files:

  • docs/.vitepress/theme/custom.css - Custom styles
  • docs/.vitepress/theme/index.ts - Theme entry point
  • docs/.vitepress/config.mts - VitePress configuration

πŸ“„ Content Overview

Getting Started

  • Introduction - What is ASAP and why use it
  • Installation - Docker Compose (recommended), Docker, and manual setup
  • Quick Start - Step-by-step guide for new users

Features

  • Workout Sessions - Creating and logging workouts
  • Exercise Library - Browsing and using exercises
  • Progress Tracking - Analytics and charts
  • Profile & Stats - Account management and metrics

API Reference

  • Authentication - Sign up, sign in, logout
  • Sessions - Create and manage workout sessions
  • Exercises - Browse exercise library
  • Profile - User profile management
  • Weights - Body weight tracking

βœ… What's Included

βœ… Custom theme with app's branding (#13ecd6) βœ… Homepage with features and quick start βœ… Complete installation guide (3 methods) βœ… Introduction and quick start guide βœ… 4 feature guides with detailed instructions βœ… 5 API documentation pages βœ… Navigation and sidebar structure βœ… Logo integration βœ… Responsive design βœ… Search functionality (built-in)

πŸ”§ Customization

Update GitHub Link

Edit docs/.vitepress/config.mts:

socialLinks: [{ icon: "github", link: "https://github.com/yourusername/asap" }];

Add More Pages

  1. Create a new .md file in appropriate directory
  2. Add to sidebar in config.mts:
sidebar: [
  {
    text: "Section Name",
    items: [{ text: "Page Title", link: "/path/to/page" }],
  },
];

Modify Theme Colors

Edit docs/.vitepress/theme/custom.css:

:root {
  --vp-c-brand-1: #13ecd6; /* Primary color */
  --vp-button-brand-bg: #13ecd6;
  /* ... */
}

πŸ“ Writing Guide

Code Blocks

```bash docker-compose up -d ```

Info Boxes

::: tip
This is a helpful tip
:::

::: warning
This is a warning
:::

::: danger
This is dangerous
:::

Links

[Internal Link](/guide/quick-start)
[External Link](https://example.com)

🌐 Deployment

GitHub Pages

Deployment is handled automatically via the GitHub Actions workflow on every push to main. See .github/workflows/deploy.yml.

Vercel

  1. Connect GitHub repo
  2. Set build command: yarn docs:build
  3. Set output directory: .vitepress/dist

Netlify

  1. Connect GitHub repo
  2. Set build command: yarn docs:build
  3. Set publish directory: .vitepress/dist

Resources

Contributing

See the CONTRIBUTING for contribution guidelines.

License

This project is licensed under the GPLv3 License β€” see LICENSE for details.


Built with VitePress β€’ Themed to match ASAP design system

About

ASAP offical docs repo made using vitepress.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages