Skip to content
Merged
Show file tree
Hide file tree
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
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,17 @@
[![codecov](https://codecov.io/gh/GapIntelligence/.github/branch/main/graph/badge.svg)](https://codecov.io/gh/GapIntelligence/.github)

This repository contains configuration files and documentation used by OpenBrand.

## Documentation

For an overview of the organization, visit the [profile README](profile/README.md).
The MkDocs site is built from the files in the [`docs/`](docs/) directory.

## Development

This repository uses [MkDocs](https://www.mkdocs.org/) for documentation.
Run the test suite (which also builds the site) with:

```bash
python -m pytest -q
```
7 changes: 7 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# OpenBrand Documentation

This site contains documentation about the OpenBrand organization.

For repository details, see the [main README](../README.md).

Learn more about our organization on the [profile page](profile.md).
3 changes: 3 additions & 0 deletions docs/profile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# OpenBrand Profile

This page mirrors the information in [profile/README.md](../profile/README.md).
3 changes: 0 additions & 3 deletions dummy.py

This file was deleted.

5 changes: 5 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
site_name: OpenBrand Docs
nav:
- Home: index.md
- Profile: profile.md
docs_dir: docs
2 changes: 2 additions & 0 deletions profile/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,6 @@ To get started with development, please ensure you have access to the necessary

---

For repository configuration details, see the [main README](../README.md).

Thank you for contributing to OpenBrand's continued success!
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
pytest
pytest-cov
mkdocs
4 changes: 0 additions & 4 deletions tests/test_dummy.py

This file was deleted.

15 changes: 15 additions & 0 deletions tests/test_mkdocs.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import subprocess
from pathlib import Path


def test_mkdocs_build(tmp_path: Path) -> None:
"""Ensure the mkdocs site builds successfully."""
site_dir = tmp_path / "site"
result = subprocess.run([
"mkdocs",
"build",
"--site-dir",
str(site_dir),
], capture_output=True, text=True)
assert result.returncode == 0, result.stderr
assert site_dir.exists()