File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
docs/api/rest_api/rest_api_reference Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 42104210 Redoc.hydrate(__redoc_state, container);
42114211
42124212 </script>
4213+ <script>
4214+ window.addEventListener('load', () => {
4215+ window.setTimeout(() => {
4216+ let logo = document.querySelector('img[src$="ibexa-dxp-logo.png"]');
4217+ logo.onclick = () => {
4218+ let pathParts = document.location.pathname.split('/').slice(0, 3);
4219+ document.location = pathParts.join('/') + '/api/rest_api/rest_api_usage/rest_api_usage/';
4220+ };
4221+ logo.setAttribute('style', 'cursor: pointer');
4222+ }, 500);
4223+ });
4224+ </script>
42134225</body>
42144226
42154227</html>
Original file line number Diff line number Diff line change 1919
2020<body >
2121 {{{ redocHTML }}}
22+ <script >
23+ window .addEventListener (' load' , () => {
24+ window .setTimeout (() => {
25+ let logo = document .querySelector (' img[src$="ibexa-dxp-logo.png"]' );
26+ logo .onclick = () => {
27+ let pathParts = document .location .pathname .split (' /' ).slice (0 , 3 );
28+ document .location = pathParts .join (' /' ) + ' /api/rest_api/rest_api_usage/rest_api_usage/' ;
29+ };
30+ logo .setAttribute (' style' , ' cursor: pointer' );
31+ }, 500 );
32+ });
33+ </script >
2234</body >
2335
2436</html >
You can’t perform that action at this time.
0 commit comments