Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions docs/_static/redirect.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/**
* Global redirect script for all documentation pages
* Redirects to the new domain while preserving the path
*/
(function() {
// Create and inject the migration notice banner
var banner = document.createElement('div');
banner.id = 'migration-notice';
banner.style.cssText = 'position: fixed; top: 0; left: 0; right: 0; background-color: #ff9800; color: white; padding: 20px; text-align: center; z-index: 9999; font-size: 18px; font-weight: bold;';
banner.innerHTML = '⚠️ This page has been migrated to Adobe Developer Platform. You will be redirected in <span id="countdown">10</span> seconds...';
document.body.insertBefore(banner, document.body.firstChild);

// Configure your new domain
var NEW_DOMAIN = 'https://developer.adobe.com/acrobat-sign';

// Get current path
var currentPath = window.location.pathname;
var pathMatch = currentPath.match(/\/acrobat-sign\/(.*)$/);
var relativePath = pathMatch ? pathMatch[1] : currentPath.replace(/^\//, '');

// Construct new URL
var newUrl = NEW_DOMAIN;

// Countdown logic
var secondsLeft = 10;
var countdownElement = document.getElementById('countdown');

var countdownInterval = setInterval(function() {
secondsLeft--;
if (countdownElement) {
countdownElement.textContent = secondsLeft;
}
if (secondsLeft <= 0) {
clearInterval(countdownInterval);
}
}, 1000);

// Redirect after 10 seconds
setTimeout(function () {
window.location.replace(newUrl);
}, 10000);
})();


1 change: 1 addition & 0 deletions docs/acrobat_sign_events/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,7 @@ <h3>Reliable notifications: Retry policy<a class="headerlink" href="#reliable-no
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/acrobat_sign_events/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@



<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/acrobat_sign_events/toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ <h1>Webhook Reference<a class="headerlink" href="#webhook-reference" title="Perm
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/acrobat_sign_events/webhookeventsagreements.html
Original file line number Diff line number Diff line change
Expand Up @@ -6613,6 +6613,7 @@ <h2>AGREEMENT_DOCUMENTS_VIEWED_PASSWORD_PROTECTED<a class="headerlink" href="#ag
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/acrobat_sign_events/webhookeventslibrary.html
Original file line number Diff line number Diff line change
Expand Up @@ -758,6 +758,7 @@ <h2>LIBRARY_DOCUMENT_MODIFIED<a class="headerlink" href="#library-document-modif
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/acrobat_sign_events/webhookeventsmegasign.html
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,7 @@ <h2>MEGASIGN_REMINDER_SENT<a class="headerlink" href="#megasign-reminder-sent" t
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/acrobat_sign_events/webhookeventswidget.html
Original file line number Diff line number Diff line change
Expand Up @@ -1321,6 +1321,7 @@ <h2>WIDGET_SHARED<a class="headerlink" href="#widget-shared" title="Permalink to
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/acrobat_sign_events/webhookpayloadoverview.html
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,7 @@ <h2>webhookNotificationPayload<a class="headerlink" href="#webhooknotificationpa
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/acrobat_sign_events/webhooks-oauth-2.0.html
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,7 @@ <h2>Set up Webhooks OAuth 2.0<a class="headerlink" href="#set-up-webhooks-oauth-
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/developer_guide/apiusage.html
Original file line number Diff line number Diff line change
Expand Up @@ -1945,6 +1945,7 @@ <h4>Recommended Implementation<a class="headerlink" href="#recommended-implement
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/developer_guide/best-practices.html
Original file line number Diff line number Diff line change
Expand Up @@ -1703,6 +1703,7 @@ <h4>Bad Pattern<a class="headerlink" href="#id49" title="Permalink to this headi
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/developer_guide/events.html
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@ <h2>Using events<a class="headerlink" href="#using-events" title="Permalink to t
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/developer_guide/forms.html
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/developer_guide/glossary.html
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ <h1>Glossary<a class="headerlink" href="#glossary" title="Permalink to this head
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/developer_guide/gstarted.html
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,7 @@ <h2>The customer experience<a class="headerlink" href="#the-customer-experience"
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/developer_guide/helloworld.html
Original file line number Diff line number Diff line change
Expand Up @@ -1140,5 +1140,6 @@ <h3>Revoking a token<a class="headerlink" href="#revoking-a-token" title="Permal
});
</script>

<script src="../_static/redirect.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions docs/developer_guide/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ <h2>Create an app<a class="headerlink" href="#create-an-app" title="Permalink to
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/developer_guide/migrating.html
Original file line number Diff line number Diff line change
Expand Up @@ -1348,6 +1348,7 @@ <h4>User Methods<a class="headerlink" href="#id2" title="Permalink to this headi
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/developer_guide/oauth.html
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ <h2>Revoking a token<a class="headerlink" href="#revoking-a-token" title="Permal
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/developer_guide/samples.html
Original file line number Diff line number Diff line change
Expand Up @@ -1141,6 +1141,7 @@ <h2>Send an Agreement Using a Transient Document<a class="headerlink" href="#sen
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/developer_guide/scenarios.html
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ <h2>Photo Rights<a class="headerlink" href="#photo-rights" title="Permalink to t
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/developer_guide/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@



<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/developer_guide/temp.html
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/developer_guide/toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -758,6 +758,7 @@ <h1>Developer Guide<a class="headerlink" href="#developer-guide" title="Permalin
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/developer_guide/webhook-endpoint-api.html
Original file line number Diff line number Diff line change
Expand Up @@ -960,6 +960,7 @@ <h2>Standard API request error codes<a class="headerlink" href="#standard-api-re
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/developer_guide/webhookapis.html
Original file line number Diff line number Diff line change
Expand Up @@ -1438,6 +1438,7 @@ <h4>Get the function’s URL<a class="headerlink" href="#get-the-function-s-url"
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/embedpartner/bill_brady_docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ <h1>Partner docs, faqs, etc.<a class="headerlink" href="#partner-docs-faqs-etc"
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/embedpartner/channel_webhooks.html
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,7 @@ <h3>Configure a webhook and subscribe to events<a class="headerlink" href="#conf
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/embedpartner/embedapi2.html
Original file line number Diff line number Diff line change
Expand Up @@ -3425,6 +3425,7 @@ <h3>ErrorResponse<a class="headerlink" href="#errorresponse" title="Permalink to
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/embedpartner/gstarted.html
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,7 @@ <h2>The customer experience<a class="headerlink" href="#the-customer-experience"
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/embedpartner/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ <h2>Build and deploy in four easy steps<a class="headerlink" href="#build-and-de
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/embedpartner/migration_changes.html
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,7 @@ <h2>Changes in the Acrobat Sign API<a class="headerlink" href="#changes-in-the-a
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/embedpartner/migration_faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,7 @@ <h3>Request Form parameters<a class="headerlink" href="#request-form-parameters"
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/embedpartner/migration_overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,7 @@ <h2>What is the upgrade timeline?<a class="headerlink" href="#what-is-the-upgrad
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/embedpartner/migration_steps.html
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ <h2>Phase 4 - Adobe and Partner review the status after cutover. Partner retires
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/embedpartner/onboarding.html
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ <h2>Build and deploy in 4 easy steps<a class="headerlink" href="#build-and-deplo
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/embedpartner/onboarding2.html
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,7 @@ <h3>Provide account info to Adobe<a class="headerlink" href="#provide-account-in
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/embedpartner/partnercertification.html
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ <h2>Post “certification”<a class="headerlink" href="#post-certification" tit
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions docs/embedpartner/partnercertification2.html
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ <h2>Post “certification”<a class="headerlink" href="#post-certification" tit
});
</script>

<script src="../_static/redirect.js"></script>
</body>

</html>
Loading