-
Notifications
You must be signed in to change notification settings - Fork 0
Api and component documentation #14
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
base: main
Are you sure you want to change the base?
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,2 +1,10 @@ | ||
| # ProSe | ||
|
|
||
| the main module for Prose' litagints | ||
|
|
||
| ## Documentation | ||
| - **Public API reference**: `docs/PUBLIC_API.md` | ||
| - **Usage instructions**: `docs/USAGE.md` | ||
|
|
||
| ## Status | ||
| This repository currently contains documentation stubs only (no source code is present yet), so there are no public APIs/functions/components to enumerate. | ||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,72 @@ | ||||||||
| # Public API Documentation (Auto-generated) | ||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The title includes "(Auto-generated)", which could be misleading as this file appears to be a manually created template. To avoid potential confusion for future contributors, I recommend removing this part of the title.
Suggested change
|
||||||||
|
|
||||||||
| ## Scope | ||||||||
| This repository currently contains **no source code files**, so there are **no public APIs, functions, or components** to document at this time. | ||||||||
|
|
||||||||
| - Documented commit scope: `README.md` only | ||||||||
| - Public surface discovered: **none** | ||||||||
|
Comment on lines
+6
to
+7
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The term "Documented commit scope" is not standard and might be confusing. The following line, "Public surface discovered: none", already conveys that there are no APIs yet. To improve clarity, I suggest removing the line about the commit scope.
Suggested change
|
||||||||
|
|
||||||||
| ## What will appear here when code is added | ||||||||
| When source code exists, this document should enumerate every *publicly exported* / *externally consumable* symbol, grouped by package/module. | ||||||||
|
|
||||||||
| ### Public modules/packages | ||||||||
| - None found. | ||||||||
|
|
||||||||
| ### Public functions | ||||||||
| - None found. | ||||||||
|
|
||||||||
| ### Public classes/types | ||||||||
| - None found. | ||||||||
|
|
||||||||
| ### Public components | ||||||||
| - None found. | ||||||||
|
|
||||||||
| ### Public CLI commands | ||||||||
| - None found. | ||||||||
|
|
||||||||
| ## Documentation template (copy/paste) | ||||||||
| Use the sections below as the canonical shape for documenting newly added public surface area. | ||||||||
|
|
||||||||
| ### Module: `<module/path>` | ||||||||
| **Purpose**: What this module provides and when to use it. | ||||||||
|
|
||||||||
| **Exports**: | ||||||||
| - `<exportName>`: One-line description. | ||||||||
|
|
||||||||
| **Usage**: | ||||||||
| ```text | ||||||||
| (Provide a real, runnable example from this repo) | ||||||||
| ``` | ||||||||
|
|
||||||||
| **Notes**: | ||||||||
| - Constraints, edge cases, performance characteristics. | ||||||||
|
|
||||||||
| ### Function: `<name>` | ||||||||
| **Signature**: `<name>(...) -> ...` | ||||||||
|
|
||||||||
| **Description**: What it does. | ||||||||
|
|
||||||||
| **Parameters**: | ||||||||
| - `<param>`: Type + meaning. | ||||||||
|
|
||||||||
| **Returns**: | ||||||||
| - Type + meaning. | ||||||||
|
|
||||||||
| **Throws/Errors**: | ||||||||
| - What errors can occur and under what conditions. | ||||||||
|
|
||||||||
| **Example**: | ||||||||
| ```text | ||||||||
| (Provide a real, runnable example from this repo) | ||||||||
| ``` | ||||||||
|
|
||||||||
| ### Component: `<ComponentName>` | ||||||||
| **Description**: What it renders/does. | ||||||||
|
|
||||||||
| **Props**: | ||||||||
| - `<prop>`: Type + meaning + default. | ||||||||
|
|
||||||||
| **Example**: | ||||||||
| ```text | ||||||||
| (Provide a real, runnable example from this repo) | ||||||||
| ``` | ||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # Usage | ||
|
|
||
| ## Current state | ||
| This repository does not currently include implementation code or runnable entrypoints, so there is nothing to execute, import, or integrate. | ||
|
|
||
| ## What to add for a runnable project | ||
| When code is added, this document should be updated with: | ||
|
|
||
| - **Installation**: prerequisites + dependency install steps | ||
| - **Quickstart**: minimal example that runs successfully | ||
| - **Configuration**: environment variables and config files | ||
| - **Common tasks**: build, test, lint, format | ||
|
|
||
| ## Suggested sections to fill in later | ||
| ### Installation | ||
| ```bash | ||
| # (add real commands once package manager/tooling exists) | ||
| ``` | ||
|
|
||
| ### Quickstart | ||
| ```text | ||
| (Add a real example once there is an actual public API or executable) | ||
| ``` | ||
|
|
||
| ### Development | ||
| ```bash | ||
| # (add real commands) | ||
| ``` |
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.
There appear to be a couple of typos in the project description. "Prose'" seems to be a typo for the project name "ProSe", and "litagints" is likely a misspelling. Could you please clarify what was intended? I've suggested a possible correction below.