summaryrefslogtreecommitdiff
path: root/docs/dev
diff options
context:
space:
mode:
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/api.md8
-rw-r--r--docs/dev/getting-started.md6
-rw-r--r--docs/dev/openapi.yml18
3 files changed, 16 insertions, 16 deletions
diff --git a/docs/dev/api.md b/docs/dev/api.md
index fbbdae83..5422533d 100644
--- a/docs/dev/api.md
+++ b/docs/dev/api.md
@@ -1,5 +1,5 @@
# API documentation
-Several tasks of CodiMD can be automated through HTTP requests.
+Several tasks of HedgeDoc can be automated through HTTP requests.
The available endpoints for this api are described in this document.
For code-autogeneration there is an OpenAPIv3-compatible description available [here](openapi.yml).
@@ -34,9 +34,9 @@ These endpoints return information about the current logged-in user and it's not
| `/history/<NOTE>` | `POST` | **Toggles the pinned status in the history for a note.**<br>The body must be form-encoded and contain a field `pinned` that is either `true` or `false`. |
| `/history/<NOTE>` | `DELETE` | **Deletes a note from the user's history.** |
-## CodiMD-server
-These endpoints return information about the running CodiMD instance.
+## HedgeDoc-server
+These endpoints return information about the running HedgeDoc instance.
| Endpoint | HTTP-Method | Description |
| --------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `/status` | `GET` | **Returns the current status of the CodiMD instance.**<br>The data is returned as a JSON object containing the number of notes stored on the server, (distinct) online users and more. |
+| `/status` | `GET` | **Returns the current status of the HedgeDoc instance.**<br>The data is returned as a JSON object containing the number of notes stored on the server, (distinct) online users and more. |
diff --git a/docs/dev/getting-started.md b/docs/dev/getting-started.md
index 7ed96944..b0623926 100644
--- a/docs/dev/getting-started.md
+++ b/docs/dev/getting-started.md
@@ -4,7 +4,7 @@
**Notice:** *There's [specialised instructions for docker](../setup/docker.md) or [heroku](../setup/heroku.md), if you prefer running code this way!*
-1. Clone the repository with `git clone https://github.com/codimd/server.git codimd-server`
+1. Clone the repository with `git clone https://github.com/hedgedoc/hedgedoc.git hedgedoc-server`
(cloning is the preferred way, but you can also download and unzip a release)
2. Enter the directory and run `bin/setup`, which will install npm dependencies
@@ -16,7 +16,7 @@
## Running the Code
-Now that everything is in place, we can start CodiMD:
+Now that everything is in place, we can start HedgeDoc:
1. `yarn run build` will build the frontend bundle. It uses webpack to do that.
2. Run the server with `node app.js`
@@ -43,7 +43,7 @@ The repository contains two parts: a server (backend) and a client (frontend).
most of the server code is in `/lib` and most of the client code is in `public`.
```text
-codimd-server/
+hedgedoc-server/
├── docs/ --- documentation
├── lib/ --- server code
├── test/ --- test suite
diff --git a/docs/dev/openapi.yml b/docs/dev/openapi.yml
index 4d3e31f6..aafaddc3 100644
--- a/docs/dev/openapi.yml
+++ b/docs/dev/openapi.yml
@@ -1,18 +1,18 @@
openapi: 3.0.1
info:
- title: CodiMD
- description: CodiMD is an open source collaborative note editor. Several tasks of CodiMD can be automated through this API.
+ title: HedgeDoc
+ description: HedgeDoc is an open source collaborative note editor. Several tasks of HedgeDoc can be automated through this API.
version: 1.6.0
contact:
- name: CodiMD on GitHub
- url: https://github.com/codimd/server
+ name: HedgeDoc on GitHub
+ url: https://github.com/hedgedoc/hedgedoc
license:
name: AGPLv3
- url: https://github.com/codimd/server/blob/master/LICENSE
+ url: https://github.com/hedgedoc/hedgedoc/blob/master/LICENSE
externalDocs:
- url: https://github.com/codimd/server/blob/master/docs/dev/api.md
+ url: https://github.com/hedgedoc/hedgedoc/blob/master/docs/dev/api.md
paths:
@@ -281,7 +281,7 @@ paths:
tags:
- note
summary: Creates a new GitHub Gist with the note's content.
- description: 'If [GitHub integration](https://github.com/codimd/server/blob/master/docs/configuration-env-vars.md#github-login) is configured, the user will be redirected to GitHub and a new Gist with the content of the note will be created.'
+ description: 'If [GitHub integration](https://github.com/hedgedoc/hedgedoc/blob/master/docs/configuration-env-vars.md#github-login) is configured, the user will be redirected to GitHub and a new Gist with the content of the note will be created.'
responses:
default:
description: Redirect to the created gist (or the GitHub authentication before)
@@ -432,7 +432,7 @@ paths:
get:
tags:
- server
- summary: Returns the current status of the CodiMD instance.
+ summary: Returns the current status of the HedgeDoc instance.
description: The data is returned as a JSON object containing the number of notes stored on the server, (distinct) online users and more.
responses:
200:
@@ -478,4 +478,4 @@ tags:
- name: user
description: These endpoints return information about the current logged-in user and it's note history. If no user is logged-in, the most of this requests will fail with either a HTTP 403 or a JSON object containing `{"status":"forbidden"}`.
- name: server
- description: These endpoints return information about the running CodiMD instance.
+ description: These endpoints return information about the running HedgeDoc instance.