Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid URL in the path, should start with a domain #2336

Open
Tracked by #2340
liaochangjian opened this issue Jun 5, 2024 · 9 comments
Open
Tracked by #2340

Invalid URL in the path, should start with a domain #2336

liaochangjian opened this issue Jun 5, 2024 · 9 comments
Assignees
Labels

Comments

@liaochangjian
Copy link

Bug description

when I Start my local development server. and Then open the space in your web browser, using http://localhost:3000/.

prompt : Invalid URL in the path, should start with a domain

I can't enter the main pages.

help me please.

@addisonschultz addisonschultz self-assigned this Jun 5, 2024
@addisonschultz
Copy link
Contributor

Hi @liaochangjian - this could definitely be documented a bit more. You'll need to include the published space url (of a space you have permissions in) after the local version - for instance, you could put something like:

http://localhost:3000/docs.gitbook.com

@POMXARK
Copy link

POMXARK commented Jun 15, 2024

Hi @liaochangjian - this could definitely be documented a bit more. You'll need to include the published space url (of a space you have permissions in) after the local version - for instance, you could put something like:

http://localhost:3000/docs.gitbook.com

how to make this space, that is, a convenient cms for updating content is not publicly available?

@addisonschultz
Copy link
Contributor

@POMXARK - you'll still need to publish the space, but you could do so using a private/share link!

@edsiper
Copy link

edsiper commented Jul 12, 2024

what's the proper way to render my "local" gitbook content by using the server locally ?

@addisonschultz
Copy link
Contributor

Hey @edsiper The content needs to be published in some way first - afterwards, you can direct traffic to the local version as so: https://github.com/GitbookIO/gitbook?tab=readme-ov-file#set-up

For instance:

Then open the space in your web browser, using http://localhost:3000// (example: http://localhost:3000/docs.gitbook.com).

@edsiper
Copy link

edsiper commented Jul 25, 2024

@addisonschultz, how will the service know where my local GIT repository exists in my filesystem ?

@addisonschultz
Copy link
Contributor

@edsiper It's linked to the published version - meaning the editing experience doesn't change (online in the editor, or through GitSync)

TLDR; it's linked to the published part, not the content part

@hoshiizumiya
Copy link

hoshiizumiya commented Aug 4, 2024

There is no local installation guide available, I totally dont konw how to make it possiabe to creat custom page.
Or it seems no longer support after gitbook cilent was deprecated. We can only edit them via gitbook webapp?
When I try to build my local page client via main branch, I can not make it work at all.🥲

@edsiper
Copy link

edsiper commented Aug 5, 2024

I filed issue "OSS User Experience" #2419 to discuss local. offline mode and others

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants