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

Suggest implementation technology for documentation site #21

Closed
tmc opened this issue Apr 18, 2023 · 8 comments
Closed

Suggest implementation technology for documentation site #21

tmc opened this issue Apr 18, 2023 · 8 comments

Comments

@tmc
Copy link
Owner

tmc commented Apr 18, 2023

We should have a high quality rendered documentation site modeled after the existing langchain docs sites.

We need to determine what tool(s) to use and set up a CI pipeline to publish somewhere (probably github pages).

python langchain uses sphinx
typescript langchain uses docusaurus

I'm open to docusaurus but a go-based toolchain would be nice.

Shall we use Hugo?

@mfreeman451
Copy link

Going to set this up on something locally and get familiar https://gohugo.io/hosting-and-deployment/hosting-on-github/

@nguyenvanduocit
Copy link

Another tools is Vitepress, it's a is battery-included site generator for technical docs. take a look at : https://vitepress.dev/

@ChristianSch
Copy link

I think a go project lends itself for documentation in go without introducing another toolchain

@tmc
Copy link
Owner Author

tmc commented Apr 20, 2023

We should use the best tool that gets us an experience like the other sites. I prefer a go based tool for sure but am not going to be dogmatic about it.

edit: Updated issue indicating the technologies the python and ts implementations use. I'd love to use hugo but someone needs to demonstrate that it's going to work well.

@tmc tmc changed the title Suggest design for documentation site. Suggest implementation technology for documentation site Apr 21, 2023
@ChristianSch
Copy link

Maybe we could clarify the needs beforehand. There are two different documentation areas I guess: the package API (godoc) and the "user guide".

Additionally, something like this might be useful:

What I missed with hugo was a good documentation template but I just found this one: https://themes.gohugo.io/themes/doks/

@tmc
Copy link
Owner Author

tmc commented Apr 26, 2023

I like https://themes.gohugo.io/themes/docsy/ but we'd need some theming to match the existing docs sites (https://python.langchain.com/en/latest/, https://js.langchain.com/docs/).

I think we should go Hugo+Docsy+(custom theming) or Docusarus.

@deshetti
Copy link

deshetti commented May 4, 2023

@tmc My 2 cents.

Docusaurus is pretty straight forward and will match the docs site like here: https://js.langchain.com/docs/ as it seems like pretty much OOB theme.

The time would be well worth spending on implementing core features than having a customized theme IMO.

@tmc
Copy link
Owner Author

tmc commented May 27, 2023

@tmc My 2 cents.

Docusaurus is pretty straight forward and will match the docs site like here: https://js.langchain.com/docs/ as it seems like pretty much OOB theme.

The time would be well worth spending on implementing core features than having a customized theme IMO.
Yeah I've come to agree. Docusaurus it is!

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

5 participants