Comments (7)
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.
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.
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:
- I'm planning for you to be able to add regular HTML pages as well as MD pages.
- Alternatively just manually hyperlink to autogenerated docs.
I'm guessing (1) is really what you're looking for right?
from mkdocs.
#1 would be great! Adding Sphinx-generated html (for example) would work perfectly for me.
Thank you.
from mkdocs.
Closing this in favor of #28
from mkdocs.
@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.
@rossant I am using your automatic doc generation for one of my projects. Thanks for your work!
from mkdocs.
Related Issues (20)
- Navigation in generated site is not working correctly, due to bug in index.ts
- Mkdocs online documentation will not update but local documentation will
- Wrong example for `!relative` option HOT 4
- ImportError: cannot import name '_RelativePathExtension' from 'mkdocs.structure.pages'
- Mkdocs plugin loggers don't use `extra` kwarg formatting messages HOT 7
- exclude_docs config set up to include .github/ files still gives 404
- Footnote support
- Directories are always put last in automatic navigation
- dynamic site_dir with configurable prefix HOT 5
- Pass LAZY_OL=False to the OListProcessor through mkdocs config in order to preserve numbering in ordered lists? HOT 1
- Google Analytics 4 tag not appearing in <head>
- Render markdown based on query params
- Limit search results text?
- readthedocs: `prev_next_buttons_location` always at bottom - not working? HOT 2
- Allow multiple hook files HOT 4
- Mkdocs uses grayscale rendering for fonts compared to majority of the sites which use subpixel rendering
- Markdown headings in html element HOT 1
- Start the default browser, when starting the `mkdocs serve` command? HOT 6
- With `mkdocs serve` switch to another port if the current port is busy
- Building MkDocs' documentation HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mkdocs.