Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
comptoir-du-libre_Working.FORK
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fabrice Gangler
comptoir-du-libre_Working.FORK
Commits
674f58d7
Commit
674f58d7
authored
2 years ago
by
Fabrice Gangler
Browse files
Options
Downloads
Patches
Plain Diff
docs(api): use production URLs instead of development URLs
parent
76a0abbf
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+7
-0
7 additions, 0 deletions
CHANGELOG.md
Documentation/API/CHANGELOG.md
+12
-1
12 additions, 1 deletion
Documentation/API/CHANGELOG.md
src/Controller/Api/V1/SoftwaresController.php
+2
-2
2 additions, 2 deletions
src/Controller/Api/V1/SoftwaresController.php
with
21 additions
and
3 deletions
CHANGELOG.md
+
7
−
0
View file @
674f58d7
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Documentation/API/CHANGELOG.md
+
12
−
1
View file @
674f58d7
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/Controller/Api/V1/SoftwaresController.php
+
2
−
2
View file @
674f58d7
...
...
@@ -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'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment