-
Notifications
You must be signed in to change notification settings - Fork 160
Add --ignoreuncategorized flag #953
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
Conversation
Hello, this seems reasonable. However, I would prefer to use If we add this, I would like to see a reference to it in our own documentation. Otherwise, nobody will ever know it exists. |
Hi Florian, thanks for the feedback. I've just checked that the flag can be used on its own, without |
The functionality seems like a nice addition. Thank you @simontreanor
Agreed.
Thank you. However, when I build the docs the styling is messed up as shown in this screenshot. Can you prevent the wrapping without changing the style? If not, I'd take out the no-wrap span styling. Our styles are defined in .css, and there must be some clash. |
I've taken out the no-wrap span styling, which I think is the simplest remedy. |
@simontreanor would you like a release after this is merged? |
That would be great, thank you!
…On Wed, 23 Apr 2025, 08:02 Florian Verdonck, ***@***.***> wrote:
@simontreanor <https://github.com/simontreanor> would you like a release
after this is merged?
—
Reply to this email directly, view it on GitHub
<#953 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCXBHY7QCVAWKL774KHV4L2243HDAVCNFSM6AAAAAB3TYOTWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMRTGI3TAMBSGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
*nojaf* left a comment (fsprojects/FSharp.Formatting#953)
<#953 (comment)>
@simontreanor <https://github.com/simontreanor> would you like a release
after this is merged?
—
Reply to this email directly, view it on GitHub
<#953 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCXBHY7QCVAWKL774KHV4L2243HDAVCNFSM6AAAAAB3TYOTWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMRTGI3TAMBSGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Could you add
to the (I couldn't push to your branch because you used your main branch, avoid using your default branch when creating PRs using GitHub in general) |
Done, and duly noted. Thank you for all your help! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
New beta available on NuGet: https://www.nuget.org/packages/fsdocs-tool/21.0.0-beta-005 |
Seems to be working fine. I was updating documentation for FSharp.Finance.Personal and included the output of ~250 unit tests as reference (see here). The navigation menu is a whole lot tidier now without those 250 other entries! |
Sometimes it is necessary to link to documents that you do not want to appear on the navigation sidebar, perhaps as they are too numerous and therefore swamp the menu structure.
I've added an
ignoreuncategorized
flag to the build arguments, the effect of which is for the menu to ignore any documents that do not have any category defined in their front matter. It does not prevent the documents' contents from showing, just that they do not appear in the sidebar.Usage e.g.:
dotnet fsdocs build --clean --properties Configuration=Release --eval --ignoreuncategorized=true
This flag defaults to
false
if omitted.