-
-
Notifications
You must be signed in to change notification settings - Fork 9
Improve readme documentation #100
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,4 +1,371 @@ | ||||||
| # www.aboutcode.org | ||||||
| Repository for the AboutCode public website - based on Docusaurus. | ||||||
| # AboutCode.org Website | ||||||
|
|
||||||
| <div align="center"> | ||||||
|
|
||||||
| [](https://github.com/aboutcode-org/www.aboutcode.org/actions/workflows/deploy.yml) | ||||||
| [](https://opensource.org/licenses/Apache-2.0) | ||||||
| [](https://docusaurus.io/) | ||||||
| [](https://nodejs.org/) | ||||||
|
|
||||||
| **Official documentation and community website for the AboutCode project** | ||||||
|
|
||||||
| [Live Website](https://aboutcode-org.github.io/www.aboutcode.org/) β’ [Report Bug](https://github.com/aboutcode-org/www.aboutcode.org/issues) β’ [Request Feature](https://github.com/aboutcode-org/www.aboutcode.org/issues) | ||||||
|
|
||||||
| </div> | ||||||
|
|
||||||
| --- | ||||||
|
|
||||||
| ## π Table of Contents | ||||||
|
|
||||||
| - [About](#about) | ||||||
| - [Key Features](#key-features) | ||||||
| - [Prerequisites](#prerequisites) | ||||||
| - [Getting Started](#getting-started) | ||||||
| - [Development](#development) | ||||||
| - [Project Structure](#project-structure) | ||||||
| - [Contributing](#contributing) | ||||||
| - [Community & Support](#community--support) | ||||||
| - [Technology Stack](#technology-stack) | ||||||
| - [Deployment](#deployment) | ||||||
| - [Troubleshooting](#troubleshooting) | ||||||
| - [License](#license) | ||||||
|
|
||||||
| ## π About | ||||||
|
|
||||||
| AboutCode is a community of open source developers dedicated to creating tools that help organizations discover, analyze, and manage open source software dependencies. This repository contains the source code for the AboutCode website, built using Docusaurus - a modern static website generator. | ||||||
|
|
||||||
| ### AboutCode Projects | ||||||
|
|
||||||
| - **[ScanCode Toolkit](https://github.com/aboutcode-org/scancode-toolkit)** - Comprehensive license, copyright, and dependency scanner | ||||||
| - **[VulnerableCode](https://github.com/aboutcode-org/vulnerablecode)** - Free and open vulnerability database | ||||||
| - **[PURL-DB](https://github.com/aboutcode-org/purldb)** - Package URL database for universal software package identification | ||||||
| - **[DejaCode](https://github.com/aboutcode-org/dejacode)** - Enterprise-grade application for managing open source compliance | ||||||
|
|
||||||
| ## β¨ Key Features | ||||||
|
|
||||||
| - π **Comprehensive Documentation** - Detailed guides for all AboutCode projects | ||||||
| - π **Community Blog** - Latest news, updates, and community contributions | ||||||
| - π¨ **Modern UI** - Clean, responsive design built with React | ||||||
| - π **Search Functionality** - Quick access to documentation and resources | ||||||
| - π **Multi-language Support** - Internationalization ready | ||||||
| - βΏ **Accessibility** - WCAG compliant | ||||||
| - π± **Mobile Responsive** - Optimized for all devices | ||||||
|
|
||||||
| ## π¦ Prerequisites | ||||||
|
|
||||||
| Before you begin, ensure you have the following installed: | ||||||
|
|
||||||
| - **Node.js** `>= 20.0` ([Download](https://nodejs.org/)) | ||||||
| - **npm** `>= 9.0` (comes bundled with Node.js) | ||||||
| - **Git** ([Download](https://git-scm.com/)) | ||||||
|
|
||||||
| ## π Getting Started | ||||||
|
|
||||||
| ### Installation | ||||||
|
|
||||||
| 1. **Clone the repository** | ||||||
|
|
||||||
| ```bash | ||||||
| git clone https://github.com/aboutcode-org/www.aboutcode.org.git | ||||||
| cd www.aboutcode.org | ||||||
| ``` | ||||||
|
|
||||||
| 2. **Navigate to the website directory** | ||||||
|
|
||||||
| ```bash | ||||||
| cd website | ||||||
| ``` | ||||||
|
|
||||||
| 3. **Install dependencies** | ||||||
|
|
||||||
| ```bash | ||||||
| npm install | ||||||
| ``` | ||||||
|
|
||||||
| 4. **Start the development server** | ||||||
|
|
||||||
| ```bash | ||||||
| npm start | ||||||
| ``` | ||||||
|
|
||||||
| The website will automatically open at `http://localhost:3000/www.aboutcode.org/` | ||||||
|
|
||||||
| ## π» Development | ||||||
|
|
||||||
| ### Available Commands | ||||||
|
|
||||||
| All commands should be run from the `website` directory: | ||||||
|
|
||||||
| | Command | Description | | ||||||
| |---------|-------------| | ||||||
| | `npm start` | Start development server with hot reload | | ||||||
| | `npm run build` | Build production-ready static files | | ||||||
| | `npm run serve` | Preview production build locally | | ||||||
| | `npm run clear` | Clear Docusaurus cache | | ||||||
| | `npm run deploy` | Deploy to GitHub Pages | | ||||||
| | `npm run swizzle` | Customize Docusaurus components | | ||||||
|
|
||||||
| ### Local Development Workflow | ||||||
|
|
||||||
| 1. Create a new branch for your changes: | ||||||
| ```bash | ||||||
| git checkout -b feature/your-feature-name | ||||||
| ``` | ||||||
|
|
||||||
| 2. Make your changes in the `website` directory | ||||||
|
|
||||||
| 3. Test your changes locally: | ||||||
| ```bash | ||||||
| npm start | ||||||
| ``` | ||||||
|
|
||||||
| 4. Build to ensure no errors: | ||||||
| ```bash | ||||||
| npm run build | ||||||
| ``` | ||||||
|
|
||||||
| 5. Commit your changes with a descriptive message: | ||||||
| ```bash | ||||||
| git commit -m "Add: brief description of changes" | ||||||
| ``` | ||||||
|
|
||||||
| ### Hot Reload | ||||||
|
|
||||||
| The development server includes hot module replacement. Changes to React components, pages, and styles will automatically refresh in the browser without losing state. | ||||||
|
|
||||||
| ## π Project Structure | ||||||
|
|
||||||
| ``` | ||||||
| . | ||||||
| βββ .github/ | ||||||
| β βββ workflows/ # GitHub Actions CI/CD workflows | ||||||
| β βββ deploy.yml # Deployment workflow | ||||||
| β βββ ci.yml # Continuous integration | ||||||
| βββ website/ | ||||||
| β βββ blog/ # Blog posts (MDX format) | ||||||
| β β βββ authors.yml # Blog author information | ||||||
| β β βββ tags.yml # Blog tag definitions | ||||||
| β βββ docs/ # Documentation pages | ||||||
| β β βββ about/ # About section | ||||||
| β β βββ getting_started/ # Getting started guides | ||||||
| β β βββ tutorial-basics/ # Basic tutorials | ||||||
| β βββ src/ | ||||||
| β β βββ components/ # React components | ||||||
| β β β βββ HomepageContent/ | ||||||
| β β β βββ HomepageFeatures/ | ||||||
| β β β βββ ProjectGridTemplate/ | ||||||
| β β βββ css/ # Global styles | ||||||
| β β βββ data/ # Project data (JSON) | ||||||
| β β βββ pages/ # Custom pages (React) | ||||||
| β βββ static/ # Static assets (images, fonts) | ||||||
| β β βββ img/ # Images | ||||||
| β βββ docusaurus.config.js # Docusaurus configuration | ||||||
| β βββ sidebars.js # Sidebar navigation | ||||||
| β βββ package.json # Dependencies and scripts | ||||||
| β βββ README.md # Website-specific documentation | ||||||
| βββ README.md # This file | ||||||
| βββ LICENSE # License information | ||||||
|
||||||
| βββ LICENSE # License information |
Copilot
AI
Jan 18, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Technology Stack section states Docusaurus v3.x, but package.json shows the exact version is 3.9.2. For consistency and accuracy with the rest of the section which shows specific version ranges, this should be updated to reflect the actual version constraint.
| - **[Docusaurus](https://docusaurus.io/)** `v3.x` - Static site generator | |
| - **[Docusaurus](https://docusaurus.io/)** `v3.9.2` - Static site generator |
Copilot
AI
Jan 18, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documentation references a LICENSE file with a link that will be broken since the LICENSE file does not exist in the repository. This needs to be corrected.
| This project documentation is licensed under the Apache License 2.0. See the [LICENSE](LICENSE) file for details. | |
| This project documentation is licensed under the [Apache License 2.0](https://opensource.org/licenses/Apache-2.0). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The project structure references a ci.yml file that does not exist in the .github/workflows directory. Only deploy.yml exists. This file reference should be removed to avoid confusion.