You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is useful to build a blog-style site using this tool, with configuration handled by Directory.Build.props. This is not possible with the default theme because Directory.Build.props is ignored when there is no project or solution. The generated site thus has broken links for FsDocsLicenseLink, FsDocsReleaseNotes, and RespositoryLink. The command line tool also says the values aren't set even when they are:
For instance with this in directory build props, I get the below error:
> dotnet fsdocs watch --noapidocs --ignoreprojects --clean
project files are ignored, no API docs will be generated
cracking projects...
please set '<FsDocsLicenseLink>' in 'Directory.Build.props'
please set '<FsDocsReleaseNotesLink>' in 'Directory.Build.props'
please set '<Version>' in 'Directory.Build.props'
please set '<RepositoryUrl>' in 'Directory.Build.props'
using extra content from C:\Users\Nicholas Hirschey\.nuget\packages\fsdocs-tool\19.1.1\extras
Building docs first time...
The text was updated successfully, but these errors were encountered:
Yes, this is expected. The way a Directory.Build.props file works is that it adds everything it contains to all the child *proj files in that directory. Only actual projects are being cracked, and so these properties won't flow through as globals if there is nothing to crack.
We could probably try and find a Directory.Build.props and process it as XML if there were no projects.
It is useful to build a blog-style site using this tool, with configuration handled by
Directory.Build.props
. This is not possible with the default theme becauseDirectory.Build.props
is ignored when there is no project or solution. The generated site thus has broken links forFsDocsLicenseLink
,FsDocsReleaseNotes
, andRespositoryLink
. The command line tool also says the values aren't set even when they are:For instance with this in directory build props, I get the below error:
The text was updated successfully, but these errors were encountered: