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

Document the source code #147

Open
HuStmpHrrr opened this issue Jul 30, 2024 · 9 comments
Open

Document the source code #147

HuStmpHrrr opened this issue Jul 30, 2024 · 9 comments

Comments

@HuStmpHrrr
Copy link
Member

related to #145

There is a particular way in which we should write the docs in the source files so that it generates more reasonable and readable outputs. This can wait, until we need to submit some artifact.

@HuStmpHrrr
Copy link
Member Author

consider https://github.com/coq-community/proviola and https://github.com/cpitclaudel/alectryon

@Ailrun
Copy link
Member

Ailrun commented Sep 2, 2024

I think both have some issues.

  1. https://github.com/coq-community/proviola seems dead, and it is not even clear whether it is compatible with Coq 8.17.1. Also, there is no clear installation/execution doc.
  2. https://github.com/cpitclaudel/alectryon works fine, but the output has one (critical, IMO) issue. There is no "go-to-definition" links.

@HuStmpHrrr
Copy link
Member Author

2. https://github.com/cpitclaudel/alectryon works fine, but the output has one (critical, IMO) issue. There is no "go-to-definition" links.

what? that's deadly! really sad that this basic stuff is not working.

@Ailrun
Copy link
Member

Ailrun commented Sep 2, 2024

I guess the only reasonable solution is coqdoc.

@HuStmpHrrr
Copy link
Member Author

ok, make sense to me. I have a template, if you want to save some time, this template works: https://hustmphrrr.github.io/popl20-artifact/

otherwise, I am also open to other options.

@HuStmpHrrr
Copy link
Member Author

HuStmpHrrr commented Sep 15, 2024

I think we can first change all (* to (**. A sed command should do the trick.

@HuStmpHrrr
Copy link
Member Author

I think we should use a different star as the coqdoc renders something less expected: https://beluga-lang.github.io/McLTT/toc.html

image

@Ailrun
Copy link
Member

Ailrun commented Sep 18, 2024

@HuStmpHrrr We can move them to h3.

@Ailrun
Copy link
Member

Ailrun commented Sep 18, 2024

But I hate how the format ignores a basic recommendation for html: "Do not use multiple h1s". That formatting assumes the use of multiple h1s as items.

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

No branches or pull requests

2 participants