diff --git a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml.cs b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml.cs index 3c38b18c77..0e01442890 100644 --- a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml.cs +++ b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml.cs @@ -69,7 +69,11 @@ namespace Volo.Docs.Pages.Documents.Project ProjectFormat = projectDto.Format; - + if (DocumentName.IsNullOrWhiteSpace()) + { + DocumentName = projectDto.DefaultDocumentName; + } + DocumentNameWithExtension = DocumentName + "." + projectDto.Format; var versions = await _documentAppService.GetVersions(projectDto.ShortName, projectDto.DefaultDocumentName,