From 53310ed8c42dcba26137979e9f93a954ae901a87 Mon Sep 17 00:00:00 2001 From: Michael Wang Date: Sat, 28 Nov 2026 01:13:16 +0800 Subject: [PATCH 1/2] docs: link the HackMD API docs from the READMEs Co-Authored-By: Claude Opus 5.5 --- README.md | 10 ++++++++-- nodejs/README.md | 4 ++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a93c9c0..2c0db57 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,14 @@ # HackMD API Clients -This repository contains a set of packages for interacting with the [HackMD API](https://hackmd.io/). +This repository contains client packages for the [HackMD API](https://hackmd.io/@docs/developer-portal). -## Node.JS +## Documentation + +- [HackMD Developer Portal](https://hackmd.io/@docs/developer-portal): getting started and creating an API token +- [HackMD API reference](https://api.hackmd.io/v1/docs): every endpoint, its parameters and responses +- [Node.js client reference](https://hackmdio.github.io/api-client/): methods and types of `@hackmd/api` + +## Node.js See [README](./nodejs) diff --git a/nodejs/README.md b/nodejs/README.md index d89970f..54c7b5d 100644 --- a/nodejs/README.md +++ b/nodejs/README.md @@ -8,9 +8,9 @@ See the [API reference](https://hackmdio.github.io/api-client/) for every method ## About -This is a Node.js client for the [HackMD API](https://hackmd.io/). +This is a Node.js client for the [HackMD API](https://hackmd.io/@docs/developer-portal). -You can sign up for an account at [hackmd.io](https://hackmd.io/), and then create access tokens for your projects by following the [HackMD API documentation](https://hackmd.io/@hackmd-api/developer-portal). +You can sign up for an account at [hackmd.io](https://hackmd.io/), and then create access tokens for your projects by following the [HackMD API documentation](https://hackmd.io/@docs/developer-portal). For bugs and feature requests, please open an issue or pull request on [GitHub](https://github.com/hackmdio/api-client). From bbdaaef435890935365d86bc53f9eb37c09a1b26 Mon Sep 17 00:00:00 2001 From: Michael Wang Date: Sat, 28 Nov 2026 01:19:13 +0800 Subject: [PATCH 2/2] docs: mark the API reference as OpenAPI and link the raw spec Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2c0db57..a2af379 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ This repository contains client packages for the [HackMD API](https://hackmd.io/ ## Documentation - [HackMD Developer Portal](https://hackmd.io/@docs/developer-portal): getting started and creating an API token -- [HackMD API reference](https://api.hackmd.io/v1/docs): every endpoint, its parameters and responses +- [HackMD API reference](https://api.hackmd.io/v1/docs) (OpenAPI): every endpoint, its parameters and responses. Raw spec: [swagger.json](https://api.hackmd.io/v1/docs/swagger.json) - [Node.js client reference](https://hackmdio.github.io/api-client/): methods and types of `@hackmd/api` ## Node.js