Skip to content
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

Investigate using Myst for documentation #1872

Closed
patrick91 opened this issue May 2, 2022 · 4 comments
Closed

Investigate using Myst for documentation #1872

patrick91 opened this issue May 2, 2022 · 4 comments
Assignees

Comments

@patrick91
Copy link
Member

Myst seems quite interesting, it does support some stuff we have already built: https://myst-parser.readthedocs.io/en/latest/syntax/syntax.html

Maybe we can start using it and update the website to use a parser for myst :)

also supports autodoc via sphinx, which could be nice to have https://myst-parser.readthedocs.io/en/latest/sphinx/use.html#use-sphinx-ext-autodoc-in-markdown-files

@patrick91
Copy link
Member Author

worth investigating this too by Stripe: https://markdoc.io/

@estyxx estyxx self-assigned this Jul 5, 2022
@estyxx
Copy link
Member

estyxx commented Jul 9, 2022

So I start looking at this to generate documentation and I had a try setup an initial sphinx configuration with myst_parser. It works well but the problem is that we want Markdown as the output of the sphinx-build and by default Sphinx doesn’t have it in [his list of builders](https://www.sphinx-doc.org/en/master/man/sphinx-build.html) so the only thing that I found to build markdown is this package https://github.com/clayrisser/sphinx-markdown-builder but it’s not maintained anymore and has some bugs…

So I forked and tried to fix it in order to generate some valid Markdown atm...

But I want to check also if this is the right path, or if you have other ideas/tools in mind @patrick91 ?

@patrick91
Copy link
Member Author

for the website I think we should keep as much as we can in JS/TS, I've seen this https://github.com/executablebooks/mystjs but not 100% sure it is worth putting effort into this just yet, I think we'll have a new design for the website at some point in the next few months. I think we can decide then what we want to do :)

@patrick91
Copy link
Member Author

Going to close this, I'll do some work on the website around december and hopefully I'll get around some of these things 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants