abp icon indicating copy to clipboard operation
abp copied to clipboard

Docs Module is not Updated

Open Cakora opened this issue 6 years ago • 14 comments

Please update https://docs.abp.io/en/abp/latest/Modules/Docs

INSERT [dbo].[DocsProjects] ([Id], [Name], [ShortName], [Format], [DefaultDocumentName], [NavigationDocumentName], [MinimumVersion], [DocumentStoreType], [ExtraProperties], [MainWebsiteUrl], [LatestVersionBranchName]) VALUES (N'12f21123-e08e-4f15-bedb-ae0b2d939658', N'Document Master', N'doc', N'md', N'Index', N'docs-nav.json', NULL, N'GitHub', N'{"GitHubRootUrl":"https://github.com/pranavpatil19/DocumentMaster/tree/Master/docs","GitHubAccessToken":"****"}', N'/', N'master')

Not working

Cakora avatar Feb 19 '20 17:02 Cakora

@maliming Please help.. i implement Doc Module as per document.but get 404 error after redirect .. please provide sample project for doc module ..its help me lot

Cakora avatar Feb 20 '20 19:02 Cakora

There is already a demo project. https://github.com/abpframework/abp/tree/dev/modules/docs/app

You can open the project url after creating the docs project. eg: abp is the project short name. http://localhost:55008/abp

maliming avatar Feb 21 '20 01:02 maliming

@maliming Its nOt working

Please help ... Get page not found 400 error message

https://github.com/pranavpatil19/DocTest1/tree/master

USE [DocumentTest] GO INSERT [dbo].[DocsProjects] ([Id], [ExtraProperties], [ConcurrencyStamp], [Name], [ShortName], [Format], [DefaultDocumentName], [NavigationDocumentName], [ParametersDocumentName], [MinimumVersion], [DocumentStoreType], [MainWebsiteUrl], [LatestVersionBranchName]) VALUES (N'12f21123-e08e-4f15-bedb-ae0b2d939658', N'{"GitHubRootUrl":"https://github.com/pranavpatil19/DocTest1/tree/master/docs","GitHubAccessToken":"***"}', NULL, N'Document Master', N'doc', N'md', N'Index', N'docs-nav.json', N'', NULL, N'GitHub', N'/', N'master') INSERT [dbo].[DocsProjects] ([Id], [ExtraProperties], [ConcurrencyStamp], [Name], [ShortName], [Format], [DefaultDocumentName], [NavigationDocumentName], [ParametersDocumentName], [MinimumVersion], [DocumentStoreType], [MainWebsiteUrl], [LatestVersionBranchName]) VALUES (N'12f21123-e08e-4f15-bedb-ae0b2d939659', N'{"Path":"V:\Master1\DocTest1"}', NULL, N'Document Master (FileSystem)', N'doc', N'md', N'Index', N'docs-nav.json', N'', NULL, N'FileSystem', N'/', NULL)

Cakora avatar Feb 21 '20 06:02 Cakora

try

"GitHubRootUrl":"https://github.com/pranavpatil19/DocTest1/tree/{version}/docs/"

maliming avatar Feb 21 '20 06:02 maliming

Not working ...... get 400 error Please Check my project ..is there missing ..

Cakora avatar Feb 21 '20 06:02 Cakora

There is already a demo project. https://github.com/abpframework/abp/tree/dev/modules/docs/app

You can open the project url after creating the docs project. eg: abp is the project short name. http://localhost:55008/abp

INSERT INTO [dbo].[DocsProjects]([Id], [ExtraProperties], [ConcurrencyStamp], [Name], [ShortName], [Format], [DefaultDocumentName], [NavigationDocumentName], [ParametersDocumentName], [MinimumVersion], [DocumentStoreType], [MainWebsiteUrl], [LatestVersionBranchName]) VALUES ('F3D42C0D-451B-DFE4-1285-39F34A16B0FE', N'{"GitHubRootUrl":"https://github.com/abpframework/abp/tree/{version}/docs/","GitHubUserAgent":null,"GitHubAccessToken":"***"}', N'b41df31fef784ead89e4a2a581cdbf70', N'abp', N'abp', N'md', N'Index', N'docs-nav.json', N'', NULL, N'GitHub', NULL, N'dev');

maliming avatar Feb 21 '20 06:02 maliming

ok i will try this ... But dont know what is missing step in my project... and why its not working.. if you have time just look its really help me

Cakora avatar Feb 21 '20 06:02 Cakora

You already have its source code and you can troubleshoot the problem based on the application's logs.

maliming avatar Feb 21 '20 06:02 maliming

KeyNotFoundException: The given key 'GitHubUserAgent' was not present in the dictionary.

Cakora avatar Feb 21 '20 08:02 Cakora

I dont know what is problem ... i follow every step... not working... document is not well documented .. working from last 2 day but still not understand... git and local doc also not working

Cakora avatar Feb 21 '20 09:02 Cakora

abp dev branch code. You can troubleshoot the problem based on the application's logs.

image

maliming avatar Feb 21 '20 09:02 maliming

SecurityException: Can not get a resource file out of the project folder! Volo.Docs.FileSystem.Documents.FileSystemDocumentSource.CheckDirectorySecurity(string projectFolder, string path)

extrapropoerty : documenting missing

Cakora avatar Feb 21 '20 15:02 Cakora

SecurityException: Can not get a resource file out of the project folder! Volo.Docs.FileSystem.Documents.FileSystemDocumentSource.CheckDirectorySecurity(string projectFolder, string path)

extrapropoerty : documenting missing

@maliming Please update doc module document incomplete ... if you have working source code for doc module please share...

Cakora avatar Feb 24 '20 18:02 Cakora

https://github.com/abpframework/abp/pull/3073

maliming avatar Mar 13 '20 03:03 maliming