sqlitecpp-doxygen-guide
SQLiteCpp Doxygen standards and templates for public API docs and file headers.
소스 정보
- 저장소
- SRombauts/SQLiteCpp
- 최근 소스 활동
- 2026년 5월 19일 21:46
- 감지된 SKILL.md 언어
- 영어
- 스타
- 2,789
- 포크
- 575
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- sqlitecpp-doxygen-guide
- description
- SQLiteCpp Doxygen standards and templates for public API docs and file headers.
# SQLiteCpp Doxygen Guide
> **For general style rules, see `AGENTS.md` and `sqlitecpp-coding-standards`.**
## Scope
- Doxygen runs on both `include/` and `src/` (see `Doxyfile`).
- Public API must be documented in headers.
- Source files still use Doxygen file headers.
## Basic Example (Format Only)
```cpp
/**
* @file Example.h
* @ingroup SQLiteCpp
* @brief One-line summary of the file.
*/
class SQLITECPP_API Example
{
public:
/**
* @brief Do the thing.
* @param[in] aValue Value to use
* @return Result value
* @throw SQLite::Exception in case of error
*/
int doThing(int aValue);
};
```
Keep the full MIT license block in real file headers.
## Canonical Examples (Use These)
- File header + class + methods: `include/SQLiteCpp/Database.h`
- File header in `src/`: `src/Database.cpp`
## File Header Rules
- Keep `@file`, `@ingroup`, `@brief`.
- Keep the MIT license block and copyright line.
- Keep `#pragma once` in headers.
- Match the existing header of the file you edit.
## API Comment Rules
- `@brief` for every public class/method.
- `@param[in|out]` for each parameter.
- `@return` for non-void return values.
- `@throw SQLite::Exception` for throwing APIs.
- Use `@note`/`@warning` only when needed.
## Generate Docs
```bash
cmake -DSQLITECPP_RUN_DOXYGEN=ON ..
cmake --build . --target SQLiteCpp_doxygen
```
Output: `doc/html/index.html`
## Cross-References
- Workflow checklist: see `sqlitecpp-workflow`
GitHub에서 보기