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

Documentation Website #472

Open
fenjalien opened this issue Jan 18, 2024 · 3 comments
Open

Documentation Website #472

fenjalien opened this issue Jan 18, 2024 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@fenjalien
Copy link
Member

Instead of (or as well as) writing a pdf manual we should have documentation on a website. Ideally this would be hosted through github pages and be generated from the current docstrings we have.

Some options to use:

  • typst-book
  • mdBook
    • From a quick glance this might be the best option if we mix it with pandoc. It allows the running of preprocessors so examples could be generated automatically.
  • readthedocs
@fenjalien fenjalien added the documentation Improvements or additions to documentation label Jan 18, 2024
@johannes-wolf
Copy link
Member

johannes-wolf commented Jan 18, 2024

I guess we should give typst-book another try, as the last test was some time ago and as far as I know the performance has improved. But mdBook also looks very interesting.

@Enivex
Copy link

Enivex commented Jan 19, 2024

Maybe @Myriad-Dreamin can give some input

@fenjalien
Copy link
Member Author

Probably should have updated this sooner but a documentation site is setup! Well at least the infrastructure/site is, the actual content and stuff still need to be moved over to it.

It uses mdbook with a custom preprocessor that adds rendered examples, type pills like the Typst docs, and parameter defintions like we use in the manual.

You can find it here: https://cetz-package.github.io/docs/

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

No branches or pull requests

3 participants