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

Module sherlodoc #6

Closed
wants to merge 36 commits into from
Closed

Module sherlodoc #6

wants to merge 36 commits into from

Conversation

Julow
Copy link
Owner

@Julow Julow commented Oct 4, 2024

No description provided.

Julow and others added 30 commits September 30, 2024 14:29
opam: Add strict constraints on OCaml < 5.3
I could not make it run in cram tests: it has to be tested by hand.
It needs to be run manually, I could not make it run with cram tests.
Page don't and won't use dot references as in `page1.page2`.
Use

```
children: page1 page2 page3
```

in the frontmatter
Children order specifies order in an index page for the current directory. It
has to specify what is a page and what is a directory, as we can have:

```
doc/
  index
  foo
  foo/
    index
    bar
```

In the specification of the order in `doc/index`, we must make the difference
between the foo page and the foo directory. This was not practical with
references. So instead, the order specification has its own type.
Allow sequences of spaces in a row: `children:      page1           page2`.
Unexpose unnecessary functions
open modules
use mli for model/frontmatter
Directly take children order into account.

Co-authored-by: Jules Aguillon <[email protected]>
But alias it to Id. It was bringing too many values in scope (eg shadowing
compare).
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