Skip to content
Snippets Groups Projects
Commit 674f58d7 authored by Fabrice Gangler's avatar Fabrice Gangler :art:
Browse files

docs(api): use production URLs instead of development URLs

parent 76a0abbf
No related branches found
No related tags found
No related merge requests found
......@@ -13,8 +13,15 @@ et le projet suit [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
### Changed
- [#973](https://gitlab.adullact.net/Comptoir/Comptoir-srv/issues/973) Gitlab: use "main" branch instead of "master" branch
### Fixed
- [API 1.2.1_FIXME](Documentation/API/CHANGELOG.md)
- [#974](https://gitlab.adullact.net/Comptoir/Comptoir-srv/issues/974) use production URLs instead of development URLs for the following properties:
- `api_documentation -> changelog`
- `api_documentation -> documentation`
### Security
......
......@@ -5,10 +5,20 @@ All notable changes to API will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
--------------------------------
## v1.2.1_FIXME (unreleased)
### Fixed
- [#974](https://gitlab.adullact.net/Comptoir/Comptoir-srv/issues/974) use production URLs instead of development URLs for the following properties:
- `api_documentation -> changelog`
- `api_documentation -> documentation`
--------------------------------
## v1.2.0
## v1.2.0 - 2022-12-26
### Added
......@@ -20,6 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- add `api_documentation`
- `api_documentation -> version`
- `api_documentation -> changelog`
- `api_documentation -> documentation`
- `data_documentation -> deprecated`
### Deprecated
......
......@@ -326,8 +326,8 @@ class SoftwaresController extends AppController
////////////////////////////////////////////////////////////
// Generate JSON export
////////////////////////////////////////////////////////////
$changelog = 'https://gitlab.adullact.net/Comptoir/Comptoir-srv/-/tree/develop/Documentation/API/CHANGELOG.md';
$docUrl = 'https://gitlab.adullact.net/Comptoir/Comptoir-srv/-/tree/develop/Documentation/API/';
$changelog = 'https://gitlab.adullact.net/Comptoir/Comptoir-srv/-/tree/main/Documentation/API/CHANGELOG.md';
$docUrl = 'https://gitlab.adullact.net/Comptoir/Comptoir-srv/-/tree/main/Documentation/API/';
$data = [
'api_documentation' => [
'version' => '1.2.0',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment