Commit Graph

9 Commits

Author SHA1 Message Date
CommanderRoot
a778a98016
chore: replace deprecated String.prototype.substr() (#11928)
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with slice() which works similarily but isn't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-04-13 12:30:38 +05:30
Nikhil Nandagopal
2bf259519d
updated gitbook sync to work with new APIs (#11850)
* updated gitbook sync to work with new APIs

* added code to replace relative links with absolute paths

* handled case for link name and url being same
2022-03-15 15:51:46 +05:30
arunvjn
dbec047959
Update appsmith docs version to 1.3 (#11692) 2022-03-08 13:55:30 +00:00
NoxiousPenguin
abb3aebbba
chore: replaced == and != with === and !=== (#10733) 2022-02-05 11:11:15 +05:30
Shrikant Sharat Kandula
a26c14e2cd
fix: Load pages from GitBook sequentially (#8519)
Loading them in parallel is causing us to breach some rate limiting restrictions sporadically and the whole process fails. So this reverts to loading pages sequentially instead.
2021-12-12 19:11:07 +05:30
Shrikant Sharat Kandula
fae8de553d
Add retries when getting page from GitBook (#7611)
GitBook API occasionally throws a 500 when trying to get a page. This makes our whole sync Lambda fail.

This commit adds a retry step, that will wait a second and retry the GitBook API, with retries capped to three, so the Lambda is a little more resilient to random 500s from GitBook API.
2021-09-20 12:34:04 +05:30
Shrikant Sharat Kandula
aea43006db
ci: Fix large documents breaking upload to Algolia (#6815)
When uploading docs to Algolia, if the document's JSON representation is larger than 10KB (roughly), then Algolia API will reject it.
2021-08-26 11:34:39 +05:30
Satbir Singh
26717a14a6 Updated algolia for the order. 2020-05-29 12:42:35 +05:30
Satbir Singh
b7b74ffd02 Feature/help 2020-05-28 18:10:26 +00:00