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

LoopBack 3 API Documentation (broken url) #1390

Open
Tracked by #1751
kamilml opened this issue Sep 28, 2022 · 5 comments
Open
Tracked by #1751

LoopBack 3 API Documentation (broken url) #1390

kamilml opened this issue Sep 28, 2022 · 5 comments
Labels

Comments

@kamilml
Copy link

kamilml commented Sep 28, 2022

URL of the page

http://apidocs.loopback.io/loopback

Nature of the issue

The url of the LoopBack API Documentation for v3 is broken

Expected behavior

Load the page

Actual behavior

Internal Server Error

Suggested resolution

Please fix the url guys :)

@shubhamp-sf
Copy link

shubhamp-sf commented Mar 28, 2023

@kamilml I've locally build the docs from lb3 repo and unofficially published it on vercel.

https://loopback3-api-docs.vercel.app/

See if it has what you're looking for.

@GrooveCS
Copy link

GrooveCS commented Oct 8, 2024

It currently appears that http://apidocs.loopback.io/loopback is a broken link.

The root location of https://loopback.io/lb3 is located here.

The loopback 3 documentation is located https://loopback.io/doc/en/lb3/ and appears to be working correctly.

Can we close this matter, or does something else exist?
Can you clarify the issue?

@dhmlau
Copy link
Member

dhmlau commented Oct 9, 2024

@GrooveCS, I believe our intent is to see how to "resurrect" the LB3 API docs. Although LB3 has reached end of life, we're still seeing downloading on LB3 (loopback module).

Since the old LB3 API docs was built before my time and @shubhamp-sf seems to have a working version, I wonder if we could take that approach and publish it in our docs site. @raymondfeng @achrinza, thoughts?

@achrinza
Copy link
Member

I think this is one of those more straightforward things that we just didn't implement.

IIRC, @shubhamp-sf 's links are the output of jsdoc -r . with minor modifications. The main difference is that apidocs.loopback.io also had a package version selector.

We should be able to reimplement @shubhamp-sf's work:

  1. Create a loopbackio/jsdoc repo
  2. Write a script that generates HTML jsdoc for LB3 packages
  3. Use Github Actions to publish those HTML files
  4. Ask OpenJSF to point the subdomain to Github Pages

As for implementing a package version selector, I think we can spin that as a separate task to keep this initial implementation straightforward.

WDYT?

@dhmlau
Copy link
Member

dhmlau commented Oct 10, 2024

sounds good to me!

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

No branches or pull requests

5 participants