Replies: 4 comments
-
I am also interested in this question. I am currently using the legacy pydoc-markdown.yml approach with docusaurus. |
Beta Was this translation helpful? Give feedback.
-
@rabernat do you have this legacy approach publicly available somewhere? We're looking to do the same thing with Docusaurus and would love to get started with something for our first iteration. |
Beta Was this translation helpful? Give feedback.
-
Hey folks 👋 Sorry for the long silence on this topic. I think that using Novella to generate the documentation is superior due to the amount of control that it gives you. You can place API documentation and other Markdown preprocessing commands inline with the rest of your documentation. Now I have to admit I am less sure how we can make this work with Docusaurus. It's quite trivial for Mkdocs and Hugo since their input is mostly just Markdown files, but Docusaurus is basically a JavaScript project. Novella copies contents from your current directory into a temporary build directory, and that may be less feasible with Docusaurus because of Anyway, an alternative that I've been thinking about would be that if used with Docusaurus, Novella could instead generate What do you guys think? Or is there a strong preference leaning on the legacy YAML workflow? |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm no longer working on this. I ended up going with mkdocstrings because it seemed more mature and maintained. I have a Python script that takes raw markdown files with This works, but has the disadvantage of Docusaurus' hot-module reloading not working, since it's watching I tried more sophisticated approaches that would fix this, but I couldn't get it working easily. See facebook/docusaurus#8497 |
Beta Was this translation helpful? Give feedback.
-
Hi, I stumbled upon this library while looking for a tool to add a Python API reference to our Docusaurus docs page. I read in the README that pydoc-markdown is switching to Novella for rendering, but Novella templates are only available for MkDocs and Hugo. What is the status of Docusaurus support at the moment? How difficult would it be to get pydoc-markdown to render my docs into Docusaurus? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions