-
Notifications
You must be signed in to change notification settings - Fork 6
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
autogenerate docs #19
Comments
@daavoo Were there any particular reasons for choosing mkdocs over the other options? |
Note my points are not really sphinx vs mkdocs but more sphinx vs (mkdocs + ecosystem) . Mainly chose mkdocs because:
|
Also:
|
@casperdcl has introduced some tooling in the |
|
This is a discussion to have in https://github.com/iterative/py-template. Right now, using markdown in docs is inconsistent with the rest of the cookie-cutter template. Also, we don't need to force docs in all the generated repositories, it should be conditional. I usually just use |
https://github.com/iterative/py-template/blob/main/%7B%7Bcookiecutter.project_name%7D%7D/docs/index.md looks like markdown to me? |
template has |
So, let's try to make it a bit more constructive please? What are the pros and cons of each? I only see some good arguments from @daavoo (thanks, David 🙏 ), everything else so far is not very constructive. From the top of my head. We mush use MD (so we'll have to introduce additional processing? custom things? - not sure how complicated it is)? @casperdcl what was your experience with @skshetry what are the cons of using mkdocs? can we compare the implementation complexity of some examples that we like ? |
my understanding:
Compare: mkdocs
sphinx
|
This comment was marked as resolved.
This comment was marked as resolved.
(My personal preference1 is for Sphinx with Furo — like @skshetry in #19 — plus Napoleon and Google-style documentation strings for the sake of quasiliterate programming) Projects using Sphinx Projects using MkDocs Projects using other systems
Footnotes |
Disclaimer: my real-world experience with MkDocs is close to zero. 🤷🏼♂️ While reStructuredText and Sphynx are “the canonical choice” and have lots of specific syntax to represent Python concepts, they're also a bit niche and overcomplicated. I wonder if MkDocs will end up being the “hypermodern” replacement for them. I've rescued some links from an old direct message conversation with @casperdcl: |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Footnotes
|
In case it's useful, we have a page that lists docs-related repos (and what they use) as of now: https://www.notion.so/iterative/Docs-related-repositories-list-c23f24dca6154dc49026923ff67d20f4 |
I would prefer all docs-related repos have a topic |
Agree. But that doesn't give us details on what engines they use, unless we start including that metadoc in the README or CONTRIBUTE files of every repo. |
oh is that the intention? Why? |
Seems like sphinx is the standard (Kudos @pmrowla for the suggestion), but dvc-task and dvc-render use mkdocs. Need to choose.
The text was updated successfully, but these errors were encountered: