Skip to content

Commit

Permalink
Merge pull request #1089 from PiwikPRO/18.5
Browse files Browse the repository at this point in the history
18.5
  • Loading branch information
kororokke authored Nov 6, 2023
2 parents 0527100 + 470781e commit 193747e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
8 changes: 4 additions & 4 deletions _static/js/versionlinks.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
//CHANGE VERSION BEFORE NEW RELEASE
if(document.location.pathname.indexOf('/en/latest') === 0) {
document.querySelector('.rst-current-version').innerHTML = document.querySelector('.rst-current-version').innerHTML.replace('v: latest', 'v: latest (18.4)')
document.querySelector('.rst-current-version').innerHTML = document.querySelector('.rst-current-version').innerHTML.replace('v: latest', 'v: latest (18.5)')
}

if(document.querySelector('.injected')){
document.querySelector('.injected > dl:nth-child(1) > dd:nth-child(2) > a').innerText = 'latest (18.4)';
document.querySelector('.injected > dl:nth-child(1) > dd:nth-child(2) > a').innerText = 'latest (18.5)';
} else {
let observer = new MutationObserver(() => {
if (document.querySelector('.injected')) {
document.querySelector('.injected > dl:nth-child(1) > dd:nth-child(2) > a').innerText = 'latest (18.4)';
document.querySelector('.injected > dl:nth-child(1) > dd:nth-child(2) > a').innerText = 'latest (18.5)';
observer.disconnect();
}
});
observer.observe(document.querySelector('.rst-versions.lower-menu'), {childList : true, subtree: true});
}
}
2 changes: 1 addition & 1 deletion conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
# built documents.
#
# The short X.Y version.
version = u'18.4'
version = u'18.5'
# The full version, including alpha/beta/rc tags.
release = version

Expand Down
7 changes: 7 additions & 0 deletions data_collection/api/tracking_api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ paths:
*IMPORTANT:* All of `string` type values HAVE TO be urlencoded in raw URL, according to https://url.spec.whatwg.org/ specification, as shown in examples. Decoded value is provided in at the end of description.
parameters:
- name: User-Agent
in: header
description: |
**Recommended** User agent of the browser that sent the request
schema:
type: string
example: curl/7.64.1
- name: idsite
in: query
description: |
Expand Down

0 comments on commit 193747e

Please sign in to comment.