Skip to content
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

Docs Module is not Updated #2864

Closed
pranavpatil19 opened this issue Feb 19, 2020 · 14 comments
Closed

Docs Module is not Updated #2864

pranavpatil19 opened this issue Feb 19, 2020 · 14 comments

Comments

@pranavpatil19
Copy link

pranavpatil19 commented Feb 19, 2020

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

@pranavpatil19
Copy link
Author

@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

@maliming
Copy link
Member

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

@pranavpatil19
Copy link
Author

pranavpatil19 commented Feb 21, 2020

@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)

@maliming
Copy link
Member

maliming commented Feb 21, 2020

try

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

@pranavpatil19
Copy link
Author

pranavpatil19 commented Feb 21, 2020

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

@maliming
Copy link
Member

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');

@pranavpatil19
Copy link
Author

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

@maliming
Copy link
Member

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

@pranavpatil19
Copy link
Author

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

@pranavpatil19
Copy link
Author

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

@maliming
Copy link
Member

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

image

@pranavpatil19
Copy link
Author

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

@pranavpatil19
Copy link
Author

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...

@maliming
Copy link
Member

#3073

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants