Hi
I have configured the filebased documentation on ABP version 7.0.0. I could view the documentation.
When i run in debug mode and updating the doc source it is updating instantly after page refresh.
But when i deploy the same in IIS and trying to change the docs source in the server, it is not reflecting.
Can you help me understand what the reason for it ?
My bad, I got the issue. It is due to permissions of the github as it is a private repository. Now im able to do host github based documentation.
Let me try filebased docs and update you the status.
Appreciate your efforts
Yes i have given the details.
I have shared the github url and token in email
I have shared the logs of all projects in email
Thanks
I have tried it, i got this
AbpRemoteCallException: An internal error occurred during your request! Volo.Abp.Http.Client.ClientProxying.ClientProxyBase<TService>.ThrowExceptionForResponseAsync(HttpResponseMessage response) Volo.Abp.Http.Client.ClientProxying.ClientProxyBase<TService>.RequestAsync(ClientProxyRequestContext requestContext) Volo.Abp.Http.Client.ClientProxying.ClientProxyBase<TService>.RequestAsync<T>(ClientProxyRequestContext requestContext) Volo.Abp.Http.Client.ClientProxying.ClientProxyBase<TService>.RequestAsync<T>(string methodName, ClientProxyRequestTypeValue arguments) Volo.Docs.Documents.DocsDocumentClientProxy.GetDefaultAsync(GetDefaultDocumentInput input) Volo.Docs.Pages.Documents.Project.IndexModel.GetSpecificDocumentOrDefaultAsync(string languageCode) Volo.Docs.Pages.Documents.Project.IndexModel.TrySetDocumentAsync() Volo.Docs.Pages.Documents.Project.IndexModel.SetPageAsync() Volo.Docs.Pages.Documents.Project.IndexModel.OnGetAsync()
If i build my application and published to a server.
When ever i update the documentation, will it automatically update in the publised server page.
So if i do filesystem project it should help me with the cases where i dont reach internet. Am i correct ?
I have created a new docs project with same structure as abp
doc en index.md docs-nav.json docs-params.json docs-lang.json
Its branch is in "main" branch and added the project giturl as follows. {"GitHubRootUrl":"https://github.com/XXXXXXXXXXXXXXXXXXXXXXX/DemoDocumentation/tree/{version}/Docs","GitHubAccessToken":"github_pat_XXXXXXXXXXXXX","GitHubUserAgent":""}
When i try to access https://localhost:44317/documents/en/demo/latest
I got this exception.
An unhandled exception occurred while processing the request.
ArgumentException: 'main.0.0' is not a valid version string. (Parameter 'value')
NuGet.Versioning.SemanticVersion.Parse(string value) Volo.Docs.GitHub.Documents.Version.SemanticVersionHelper.IsPreRelease(string version) Volo.Docs.Pages.Documents.Project.IndexModel+<>c.<GetLatestVersionInfo>b__137_0(VersionInfoViewModel v) System.Linq.Enumerable.TryGetFirst<TSource>(IEnumerable<TSource> source, Func<TSource, bool> predicate, out bool found) System.Linq.Enumerable.FirstOrDefault<TSource>(IEnumerable<TSource> source, Func<TSource, bool> predicate) Volo.Docs.Pages.Documents.Project.IndexModel.GetLatestVersionInfo(List<VersionInfoViewModel> versions) Volo.Docs.Pages.Documents.Project.IndexModel.TrySetVersionAsync() Volo.Docs.Pages.Documents.Project.IndexModel.SetPageAsync() Volo.Docs.Pages.Documents.Project.IndexModel.OnGetAsync()
Also i have one more question? Do i need to build my project everytime i update my docs project or Will it directly pull from the git in runtime.
In such case if im hosting my application in OnPrem deployment, where application maynot have access to internet, what could i do ?
Thanks,