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

Paradox docs link in README is dead #630

Open
Friendseeker opened this issue Nov 24, 2024 · 8 comments
Open

Paradox docs link in README is dead #630

Friendseeker opened this issue Nov 24, 2024 · 8 comments

Comments

@Friendseeker
Copy link

https://developer.lightbend.com/docs/paradox/current/ throws 404

@SethTisue
Copy link
Member

I'm inquiring with IT staff at Akka.

@ennru
Copy link
Member

ennru commented Dec 11, 2024

The site was intentionally taken down.
Please browse the docs directly in the GitHub repo https://github.com/lightbend/paradox/blob/main/docs/src/main/paradox/index.md

@Friendseeker
Copy link
Author

The site was intentionally taken down. Please browse the docs directly in the GitHub repo https://github.com/lightbend/paradox/blob/main/docs/src/main/paradox/index.md

Thanks for reply, Enno! One problem is that Github does not seem to like that particular flavour of markdown. Directly viewing the doc via Github results in annotations such as @@toc { depth=1 } not rendered.

I wonder if it would be better to make a Github Page out of the existing markdown documentation?

@ennru
Copy link
Member

ennru commented Dec 11, 2024

Yes, it would be great to publish the site to Github pages. Please suggest the necessary changes and I'll try to get it sorted.

@Friendseeker
Copy link
Author

Friendseeker commented Dec 11, 2024

Yes, it would be great to publish the site to Github pages. Please suggest the necessary changes and I'll try to get it sorted.

I am not familiar with Markdown documentation, so Seth may need to correct me, but I guess it should be basically creating a new GitHub Repo to host the GitHub Page, run some static site generator (I guess paradox itself?) on the current markdown docs, and place the generated site directory in the created repo.

@SethTisue
Copy link
Member

SethTisue commented Dec 11, 2024

run some static site generator (I guess paradox itself?)

Yes.

creating a new GitHub Repo to host the GitHub Page

We don't need a separate repo, just a website branch in this repo. GitHub Pages can be configured to point to that branch (from https://github.com/lightbend/paradox/settings/pages).

@SethTisue
Copy link
Member

I recently did a similar transition for our Fortify docs, which are also Paradox based, and I can confirm that there really isn't anything to it besides running sbt paradox and then syncing the website branch with target/paradox/site/main

at least, there wasn't anything else I had to do there, I don't think this repo is special

@SethTisue
Copy link
Member

Maybe https://www.scala-sbt.org/sbt-site/ would be helpful here? I have no firsthand experience with it. It seems to have Paradox support: https://www.scala-sbt.org/sbt-site/generators/paradox.html

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

No branches or pull requests

3 participants