Merge pull request #2799 from continuedev/dallin/docs-crawler-build-error

Fix build errors from missing index.html and docs crawler
This commit is contained in:
Nate Sesti 2024-11-03 17:33:50 -08:00 • committed by GitHub
commit f1c561fc28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 22 additions and 3304 deletions

View file

@ -35,7 +35,7 @@ class DocsCrawler {
async *crawl(
startUrl: URL,
maxRequestsPerCrawl: number = this.MAX_REQUESTS_PER_CRAWL,
): AsyncGenerator<PageData> {
): AsyncGenerator<PageData, undefined, undefined> {
if (startUrl.host === this.GITHUB_HOST) {
yield* new GitHubCrawler(startUrl).crawl();
return;

View file

@ -1,4 +1,5 @@
src/main/resources/webview
!src/main/resources/webview/index.html
src/main/resources/bin
src/main/resources/config_schema.json
src/main/resources/continue_rc_schema.json

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,18 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/play_button.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Continue</title>
<script type="module" crossorigin src="/assets/index.js"></script>
<link rel="stylesheet" href="/assets/index.css" />
</head>
<body>
<div id="root"></div>
<script>
localStorage.setItem("ide", '"jetbrains"');
</script>
</body>
</html>

View file

@ -1,12 +1,12 @@
{
"name": "continue",
"version": "0.9.224",
"version": "0.9.225",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "continue",
"version": "0.9.224",
"version": "0.9.225",
"license": "Apache-2.0",
"dependencies": {
"@electron/rebuild": "^3.2.10",