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

Fix Available Diagnostics docs table #2265

Merged
merged 1 commit into from
Oct 23, 2023
Merged

Fix Available Diagnostics docs table #2265

merged 1 commit into from
Oct 23, 2023

Conversation

nefrathenrici
Copy link
Member

@nefrathenrici nefrathenrici commented Oct 20, 2023

The available diagnostics page is broken.

Main issue: multi-line strings do not work for the Documenter.jl markdown tables, this turns all comments into single line strings to fix the table.

Second issue: some of the standard names are so long that they effectively hide the description/comments column, since a user would have to scroll to see them.

I think we should switch to PrettyTables, since this provides more control over the formatting available diagnostics.

@Sbozzolo
Copy link
Member

Let me try to come up with a full solution. I don't want to have lines that super long in the source code.

@Sbozzolo
Copy link
Member

Documentar has this

image

So, we should try to make the table scrollable (and fix the multiline comments)

@nefrathenrici nefrathenrici linked an issue Oct 20, 2023 that may be closed by this pull request
@nefrathenrici nefrathenrici force-pushed the ne/diagnostic_comments branch from 14f1762 to 62bac4c Compare October 20, 2023 19:52
Copy link
Member

@Sbozzolo Sbozzolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@nefrathenrici
Copy link
Member Author

bors r+

@bors
Copy link
Contributor

bors bot commented Oct 23, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot merged commit 3e72f0c into main Oct 23, 2023
8 checks passed
@bors bors bot deleted the ne/diagnostic_comments branch October 23, 2023 18:28
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.

Available diagnostics page is broken
2 participants