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

Use fsdocs command line tool to convert single files #811

Open
nhirschey opened this issue Mar 27, 2023 · 1 comment
Open

Use fsdocs command line tool to convert single files #811

nhirschey opened this issue Mar 27, 2023 · 1 comment

Comments

@nhirschey
Copy link
Collaborator

In pandoc you can write pandoc notebook.ipynb -s -o notebook.html to create a standalone html page. It would be nice to have similar functionality for single documents.

It would also be helpful if you have a large repo where you're developing a page and building the full site takes a long time; currently I copy the file I'm developing to a separate repo to avoid the long build time. This would alleviate that problem, via something like dotnet fsdocs standalone watch file.fsx.

Perhaps something like dotnet fsdocs convert notebook.ipynb -o notebook.html or dotnet fsdocs standalone notebook.ipynb -o notebook.html. It should accept .md, .fsx, .ipynb, (and .latex ?) as input.

It's possible using the literate functions (see Literate docs), but they need to be exposed via the command line tool.

cc: @kMutagene

@Fxplorer
Copy link
Contributor

and .dib

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