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

latex backends: add an option to shorten submodules #1337

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Octachron
Copy link
Member

In the latex backend, inlining all submodule and functor definitions in their long form is not always the optimal choice.
In particular, it can be better to be more concise and use only the short description for nested submodules

This PR adds a flag --shorten-beyond-depth to the latex backend to make it choose the abbreviated form
for submodules beyond a given depth.

Along the way, this PR fixes a collision between page url and anchor and adds missing label definitions for pages that have been inlined in the current page in order to redirect references to those page toward the inlined contents.

Combined with an option to remove link to functor arguments, this seems enough to remove all missing labels warning from the build of the reference manual.

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.

1 participant