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

Proposal: structure documentation on Rocq website according to Diátaxis #26

Closed
wants to merge 5 commits into from

Conversation

Zimmi48
Copy link
Member

@Zimmi48 Zimmi48 commented Dec 30, 2024

I'm convinced that most of the documentation that we want to add on the Rocq website should come from Platform Docs. Thus, it doesn't make sense to have a single tab dedicated to it. It also doesn't fit the slicing by experience levels, since it already covers all experience levels.

In other words, I don't think the OCaml.org structure makes sense for us and I propose to separate the tab structure from the levels.

This is very WIP (not ready to merge) based on #22.

I'm opening the PR just to show what this would look like.

Tabs:

image

Levels:

Beginners (the get started button would direct here):

image

Intermediate:

image

There could be something similar for advanced level, and probably some of the items that I put should be moved to a different level.

@thomas-lamiaux
Copy link
Contributor

I agree that the first page should reference different tutorial etc...
But I am not sure that you want to differentiate the learning content depending on if it is a tuto or a how-to, nor level.
You probably want to filter by them, but to me you want would rather want to see content by topic like in the refman, note it doesn't prevent from having sth twice, e.g. :

Equations:

  • tuto 1
  • tuto 2
  • how to 1
  • how to 2
  • how to 3

Maybe we should organize a coq specific call to talk about that with people interested

Still requires some manual tweaking of the HTML generated by Alectryon:
- identifiers generated by coqdoc are unrelated to the titles and need to be changed
- document should start with a h2 or a p
- some empty pre should be removed

Also introduce support for listing the authors of a tutorial.
@Zimmi48
Copy link
Member Author

Zimmi48 commented Jan 16, 2025

Closing in favor of the alternative that was discussed at yesterday's meeting (PR forthcoming).

@Zimmi48 Zimmi48 closed this Jan 16, 2025
@Zimmi48 Zimmi48 deleted the diataxis branch January 30, 2025 12:41
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

Successfully merging this pull request may close these issues.

2 participants