Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
23 changed files
with
52 additions
and
517 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
# ignore the following dependencies: | ||
|
||
# jodd -> hard to update and only used in DateUtilV1 | ||
# swagger-akka-http -> should be removed in separate PR | ||
updates.ignore = [ | ||
{ groupId = "org.jodd", artifactId="jodd", version = "3.2.7" }, | ||
{ groupId = "com.github.swagger-akka-http", artifactId="swagger-akka-http", version = "1.6.0" } | ||
{ groupId = "org.jodd", artifactId="jodd", version = "3.2.7" } | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,26 @@ | ||
# DSP-API Documentation | ||
|
||
## MkDocs Documentation | ||
This folder contains the sources to the DSP-API part of documentation published | ||
under <https://docs.dasch.swiss/> and managed by | ||
[DSP-DOCS](https://github.com/dasch-swiss/dsp-docs) repository. | ||
|
||
This folder contains the sources to the DSP-API documentation website published | ||
under <https://docs.dasch.swiss/> | ||
## Build and serve the docs locally | ||
|
||
The `src` folder contains the following documentation sources: | ||
|
||
- `src/api-v1`: The DSP-API V1 (JSON) Request and Response Format documentation. Source can be found in `salsah1/src/typescript_interfaces` | ||
- `src/api-v2`: The DSP-API V2 (JSON-LD) Request and Response Format documentation. | ||
- `src/api-admin`: The DSP-API Admin (JSON) Request and Response format Swagger-based documentation. | ||
|
||
All the different documentations are build by invoking the following make | ||
commands from the project root directory: | ||
Documentation can be build by invoking the following make commands from | ||
the project root directory: | ||
|
||
```shell | ||
make docs-install-requirements: ## install requirements | ||
make docs-build # build the documentation | ||
make docs-serve # serve it locally | ||
make docs-publish # publish it do Github pages | ||
make docs-install-requirements: ## install requirements | ||
``` | ||
|
||
This command will build all documentation and publish it to the `gh-pages` branch. | ||
|
||
## Prerequisites | ||
### Prerequisites | ||
|
||
1. You will need [Graphviz](http://www.graphviz.org/). On macOS: | ||
You will need [Graphviz](http://www.graphviz.org/). On macOS: | ||
|
||
```shell | ||
brew install graphviz | ||
``` | ||
|
||
On Linux, use your distribution's package manager. | ||
1. The DSP-API V1 / V2 Request and Response Format documentation is | ||
formally described using typescript interfaces. To create the documentation | ||
from these interfaces, we use `typedoc`. | ||
Install `typedoc` using `npm`: | ||
```shell | ||
npm install --global typedoc | ||
``` | ||
If you do not have `npm` (node package manager), install it first. You will | ||
find more information about `npm` here: <https://www.npmjs.com/>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 0 additions & 28 deletions
28
webapi/src/main/scala/org/knora/webapi/annotation/ApiMayChange.scala
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
webapi/src/main/scala/org/knora/webapi/annotation/ProjectUnique.scala
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
webapi/src/main/scala/org/knora/webapi/annotation/ServerUnique.scala
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 0 additions & 60 deletions
60
webapi/src/main/scala/org/knora/webapi/routing/SwaggerApiDocsRoute.scala
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.