gpt-engineer icon indicating copy to clipboard operation
gpt-engineer copied to clipboard

Documentation and API Reference Guide

Open amjadraza opened this issue 2 years ago • 3 comments

Feature: Enhancement

Adding Documentation and API guide. I propose two frameworks

A. Using Pythonic Sphnix Framework and deploying on the readthedocs server

  1. Open Source, comes with many themes / templates
  2. Extensively used for Python Packages e.g LangChain API is using the readthedocs template of Sphnix
  3. Have support of .rst , .mk and much more formats

B. Using mkdocs framework

  1. Light framework based on Python, Pandas-ai is using this
  2. Support MarkDown files
  3. Comes with material and readthedocs templates.

C. Using Vercel Documentations

  1. https://nextra-docs-template.vercel.app/
  2. API reference guide still using Sphnix
  3. LangChain is using this platform too

DocString Styles: AMong many docstrings styles, Google Style is very famous and easy to implement.

It is important to decide on Documentation Especially Docstrings early on to generate the API reference Guide professionally. Re-Factoring a huge code base with Docstring is a huge job.

I can contribute to this feature.

amjadraza avatar Jun 19 '23 05:06 amjadraza

@AntonOsika please review. We require the docs for trying it out a bit better.

amjadraza avatar Jun 22 '23 12:06 amjadraza

@AntonOsika , should we add this part of the Roadmap? I think we should keep following any feature/suggestion if that is part of Roadmap and let the community decide which features we should put our efforts on.

amjadraza avatar Jun 28 '23 03:06 amjadraza

@AntonOsika following up on our discussion on adding docs, Please read above issue and comment. I cant make a PR with mutually decided pathway of adding docs.

amjadraza avatar Jul 14 '23 11:07 amjadraza

Would love to hear what people think would be the best alternative. What do you think?

AntonOsika avatar Jul 17 '23 19:07 AntonOsika

Great job on this

AntonOsika avatar Aug 21 '23 07:08 AntonOsika