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

Implement fsdoc #634

Closed
7 of 11 tasks
sishtiaq opened this issue Aug 23, 2016 · 9 comments
Closed
7 of 11 tasks

Implement fsdoc #634

sishtiaq opened this issue Aug 23, 2016 · 9 comments

Comments

@sishtiaq
Copy link
Contributor

sishtiaq commented Aug 23, 2016

https://github.com/FStarLang/FStar/wiki/Generating-documentation-with-fsdoc-comments

Work items:

  • write out an index.mk. Done with 9f0cfb7def1e112331a40c4fc1c775039fe4ffcc.
  • Comments: on empty line
  • Comments: top-level declarations: type
  • Comments: top-level declarations: val
  • Comments: top-level declarations: let
  • Comments: top-level declarations: module decl
  • Comments: finer than top-level declarations: {fields, algerbraic type variants, mutually rec decls}
  • Implement keywords: inline,
  • Implement keywords: omit
  • Implement keywords: summary
  • x-ref
@markulf
Copy link
Contributor

markulf commented Aug 31, 2016

Could we add an example .md to the wiki? If it looks nice more people might pick it up.

@msprotz
Copy link
Collaborator

msprotz commented Aug 31, 2016

Just chatted with @vkanne-msft and the plan is to generate documentation nightly and put it up on fstarlang.github.io/doc ... will motive people more I think!

@markulf
Copy link
Contributor

markulf commented Sep 7, 2016

+1

@sishtiaq
Copy link
Contributor Author

sishtiaq commented Oct 3, 2016

Commit 33e14b9 implements

  • write out an index.md.
  • Comments: on empty line
  • Comments: top-level declarations: type
  • Comments: top-level declarations: val
  • Comments: top-level declarations: let
  • Comments: top-level declarations: module decl
  • Comments: finer than top-level declarations: {fields, algerbraic type variants, mutually rec decls}.

@msprotz
Copy link
Collaborator

msprotz commented Oct 25, 2016

Additional feature requests:

  • run pandoc --standalone --css=style.css

The index seems to have --standalone but not --css; individual module pages seem to have neither.

Thanks,

Jonathan

@sishtiaq
Copy link
Contributor Author

Fixed -s and --css in 81aa0d2.

@sishtiaq
Copy link
Contributor Author

sishtiaq commented Nov 11, 2016

I intend to close this issue soon, and replace it with a new one to track the last four items of work:

  • Implement keywords: inline,
  • Implement keywords: omit
  • Implement keywords: summary
  • x-ref

The first three will be quick; the last might take longer (especially if we don't want to build yet another dependency analyzer inside the F* compiler).

@markulf
Copy link
Contributor

markulf commented Jul 5, 2017

We need some push to convert normal comments to fsdoc comments. Currently
https://fstarlang.github.io/docs/ is quite sad, with only FStar.List being properly documented.

@aseemr
Copy link
Collaborator

aseemr commented Mar 23, 2020

Since fsdoc is removed in favor of fstardoc (#1939 ), closing this issue.

@aseemr aseemr closed this as completed Mar 23, 2020
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

6 participants