Giter Club home page Giter Club logo

Comments (7)

raghakot avatar raghakot commented on May 22, 2024 2

I wrote a simple generator to generate API docs by parsing source. https://github.com/raghakot/markdown-apidocs

I came here looking for a solution, couldn't find anything satisfactory online and built my own. Hope it helps others who stumble here looking for a workaround.

from mkdocs.

rossant avatar rossant commented on May 22, 2024 1

I'd also have been interested in this. If this can be of any use to anyone, I've written an extremely basic automatic API doc generator that extracts docstrings of modules, functions, classes, methods, and properties, and outputs an api.md document. This document can then be used in mkdocs. There's probably some more work to do to make it prettier...

from mkdocs.

tomchristie avatar tomchristie commented on May 22, 2024

Autogenerated docs isn't something I'm particular interested in pulling into mkdocs. The best documentation sites that I've seen don't tend to include autogenerated docs.

I'm not sure of the specfics of what you mean with linking to existing html pages, but there's two routes I can see to this sort of use case:

  1. I'm planning for you to be able to add regular HTML pages as well as MD pages.
  2. Alternatively just manually hyperlink to autogenerated docs.

I'm guessing (1) is really what you're looking for right?

from mkdocs.

jkmacc avatar jkmacc commented on May 22, 2024

#1 would be great! Adding Sphinx-generated html (for example) would work perfectly for me.

Thank you.

from mkdocs.

tomchristie avatar tomchristie commented on May 22, 2024

Closing this in favor of #28

from mkdocs.

d0ugal avatar d0ugal commented on May 22, 2024

@rossant If you are generating a Markdown file, why don't you just create that in your other documentation and have it built by MkDocs. Then you don't need to do any extra linking.

from mkdocs.

MechCoder avatar MechCoder commented on May 22, 2024

@rossant I am using your automatic doc generation for one of my projects. Thanks for your work!

from mkdocs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.