Serving just-the-docs theme remotely

Hello all,
Thank you so much for all of your help. I really appreciate it.
I was wondering if you could help me. I’m able to successfully serve and build my site with the just-the-docs theme locally, but I can’t serve it remotely.
just-the-docs:

I tried following the following stack overflow solution, but it didn’t work for me. I can’t build my site locally successfully with that solution.
Stack overflow solution:

Repo:

Site:

Thank you! Please let me know what other information I can include to help you.

Fix for me:
baseurl: “/book.github.io” # the subpath of your site, e.g. /blog
url: “https://influxdata.github.io

thanks all!

You don’t need to have github.io in your repo name

If you do then you’ll have do this as commented above:

url: https://influxdata.github.io
baseurl: /book.github.io/

Which means the final size homepage is

https://influxdata.github.io/book.github.io/

Which seems weird.


So rather rename your repo to book and do this

url: https://influxdata.github.io
baseurl: /book/

And access at

https://influxdata.github.io/book/


In a special case, it makes sense to add github.io in your repo name

Name your repo like this exactly

influxdata.github.io

Then

url: https://influxdata.github.io
baseurl: ''

And access at

https://influxdata.github.io


If your username or org name was InfluxData then you would do this as your repo name:

InfluxData.github.io

PS if you really want book.github.io as a URL

Then make a new user or org with the name book, but that is probably taken.

Then make a repo there named:

book.github.io